{
BindingList = new BindingList<SE>(Employee.ListSE);
this.dgv.DataSource = BindingList;
}
,但是有個問題,爲何這BindingList = new BindingList<SE>(Employee.ListSE)
前面要加new 呢?因爲這是給BindingList對象的構造函數提供一個參數!絕非將一個類的對象轉換成另外一個類的對象。
}
,但是有個問題,爲何這BindingList = new BindingList<SE>(Employee.ListSE)
前面要加new 呢?因爲這是給BindingList對象的構造函數提供一個參數!絕非將一個類的對象轉換成另外一個類的對象。
this.richTextBox2.SelectionStart=this.richTextBox2.Text.Length; this.richTextBox2.ScrollToCaret();
public partial class MyMessageBox : Window { public static void Show(string strErrorInfo) {