Sunday, February 19, 2017

[C#] BackgroundWorker 範例3

閱讀該篇 MSDN 文章 - 逐步解說:實作使用背景作業的表單 並記錄,該文章是利用 Fibonacci 來產生耗時操作,藉此來學習 BackgroundWorker

WinForm layout

[C#] BackgroundWorker - Fibonacci-1

Saturday, February 18, 2017

[C#] BackgroundWorker 範例2

閱讀該篇 MSDN 文章 - BackgroundWorker 類別 並記錄,該文章是利用迴圈和 Tread.Sleep 來產生耗時操作,藉此來學習 BackgroundWorker

WinForm layout

[C#] BackgroundWorker 簡易範例-1

Friday, February 17, 2017

[C#] BackgroundWorker 範例1

閱讀該篇 MSDN 文章 - Walkthrough: Multithreading with the BackgroundWorker Component (C#) 並記錄,該文章是利用讀取 txt 檔案並統計其關鍵字,藉此介紹 BackgroundWorker 功能

Solution 檔案

WalkthroughBackgroundWorker-1

WinForm Layout

WalkthroughBackgroundWorker-2

Friday, February 10, 2017

[VSTS] Git command reference - Undo

了解該篇文章 Git command reference 的 Undo 說明並記錄

目的:Revert all changes and roll back to the most recent commit
git 語法:git reset --hard HEAD
Team Explorer 畫面:

[VSTS] Git command reference-Undo-01

Thursday, February 09, 2017

[VSTS] Git command reference - Merge and rebase

了解該篇文章 Git command reference 的 Merge and rebase 說明並記錄

目的:Merge a branch into the current branch
git 語法:git merge branchname In the Team Explorer Branches view, right-click the branch you want to
Team Explorer 畫面:

[VSTS] Git command reference - Merge and rebase - 11

[VSTS] Git command reference - Merge and rebase - 12