image
http://www.nvidia.com.tw/Download/index.aspx?lang=tw 今天在公司弄了一台桌上電腦, 讓先前的NVIDIA再次復活 安裝GeForce_Experience_v2.4.1.21.exe 負責自動偵測最新版的驅動程式

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
展開res\layout\ 複製activity_main.xml, 並在同樣layout資料夾下貼上

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
官方版本: Android Studio IDE 勾選同意, 並按下載 檔案大小: 817Mb 下載完成後執行 android-studio-bundle-135.1740770-windows.exe

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
在layout\main.xml 為原本的外觀定義檔, main.xml.bak為另一個備份檔案, 在Eclipse環境下編譯器會自動掃描該資料下的xml檔案並解析, 造成一些參數重複定義! 錯誤訊息: Resource entry main is already defined

me1237guy 發表在 痞客邦 留言(0) 人氣()


以下為美食介紹…(誤) Anroid 1.5 Cupcake 杯子蛋糕 Android 1.6 Donut 甜甜圈

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
以我的ASUS手機為例, <設定><開發人員選項>中, 有一個USB偵錯: 連接USB時進入偵測模式 請記得勾選, 否則會像下面這張圖一樣, 找不到任何硬體裝置 點選<設定>

me1237guy 發表在 痞客邦 留言(0) 人氣()

set (gcf, 'WindowButtonMotionFcn', @mouseMove);其中moveMove為Callback function name
 1: function mouseMove (object, eventdata)
 2: C = floor( get(gca, 'CurrentPoint'));
 3: title(gca, ['(X,Y) = (', num2str(C(1,1)), ', ',num2str(C(1,2)), ')']);

me1237guy 發表在 痞客邦 留言(2) 人氣()

image
CR+LF ('\r\n', 0x0D 0x0A)  

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
  Action和Func最大差異: Action 無回傳值, Func有回傳值
 1: public static Action A1 = () =>
 2: {
 3: MessageBox.Show("call Action A");
 4: };
 5: // 輸入參數: 1個
 6: public static Action<string> A2 = (x) =>
 7: {
 8: MessageBox.Show(x);
 9: };
 10: // 輸入參數: 2個
 11: public static Action<string, string> A3 = (x1, x2) =>
 12: {
 13: MessageBox.Show( x1 + x2);
 14: };
 15: // 輸入參數: 3個
 16: public static Action<int, int, int> A4 = (x1, x2, x3) =>
 17: {
 18: bool check1 = (x1 + x2) > x3;
 19: bool check2 = (x2 + x3) > x1;
 20: bool check3 = (x1 + x3) > x2;
 21: if (check1 & check2 & check3)
 22: {
 23: MessageBox.Show("合法三角形");
 24: }
 25: else
 26: {
 27: MessageBox.Show("不合法三角形");
 28: }
 29: };
 30: // 輸入參數: 4個
 31: public static Action<int, int, int, string> A5 = (x1, x2, x3, str) =>
 32: {
 33: if( !string.IsNullOrEmpty(str))
 34: MessageBox.Show(str);
 35: bool check1 = (x1 + x2) > x3;
 36: bool check2 = (x2 + x3) > x1;
 37: bool check3 = (x1 + x3) > x2;
 38: if (check1 & check2 & check3)
 39: {
 40: MessageBox.Show("合法三角形");
 41: }
 42: else
 43: {
 44: MessageBox.Show("不合法三角形");
 45: }
 46: };

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
建立windows Form專案 將表單Localizable屬性設定True, 預設為False 滑鼠雙擊From1.resx 可以看到預設語言的資訊 回到From1的<Language>屬性選擇<英文>

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
新增windows Form控制項程式庫 加入參考 DirectShowLib-2005.dll 我是安裝在 C:\CSharp\DirectShowNet\DirectShowLibV2-1\lib 專案加入新項目 Public.cs

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
官方網站: directshow.net library 下載軟體請點選Downloads Microsofts documentation. MSDN DirectShow documentation.

me1237guy 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。