示例#1
0
 private void toolStripMenuItem12_Click(object sender, EventArgs e)
 {
     AtUsersList usersList = new AtUsersList();
     if (usersList.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         MessageBox.Show(usersList.Users);
     }
     usersList.Dispose();
     usersList = null;
 }
示例#2
0
 //2016/02/17
 /// <summary>
 /// 處理Web端發回的選擇@用戶的需求(必須要有這個方法並且方法名不能修改)
 /// </summary>
 public void ShowUsersList()
 {
     AtUsersList usersList = new AtUsersList();
     if (usersList.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         LxMsgContext.Document.InvokeScript("AtUsers", new object[] { usersList.Users });
     }
     usersList.Dispose();
     usersList = null;
 }