public static void DoDialog(FWConnection conn, String keywordListId) { FormTextBoxKeyword dlg = new FormTextBoxKeyword(); dlg.keywordTextBox1.KeywordList = conn.MasterData.Keywords[keywordListId]; dlg.keywordTextBox2.KeywordList = conn.MasterData.Keywords[keywordListId]; dlg.keywordTextBox3.KeywordList = conn.MasterData.Keywords[KeywordC.KWID_USER_LIST]; dlg.ShowDialog(); }
private void bnTextBoxKeyword_Click(object sender, EventArgs e) { FormTextBoxKeyword.DoDialog(conn, KeywordC.KWID_STANDARD_LIST); //FormTextBoxKeyword.DoDialog(conn, KeywordC.KWID_USER_LIST); }