示例#1
0
文件: FrmMain.cs 项目: yhz9999/xRAT
 private void ctxtShowMessagebox_Click(object sender, EventArgs e)
 {
     if (lstClients.SelectedItems.Count != 0)
     {
         Client c = (Client)lstClients.SelectedItems[0].Tag;
         if (c.Value.FrmSm != null)
         {
             c.Value.FrmSm.Focus();
             return;
         }
         FrmShowMessagebox frmSM = new FrmShowMessagebox(c);
         frmSM.Show();
     }
 }
示例#2
0
 private void ctxtShowMessagebox_Click(object sender, EventArgs e)
 {
     if (lstClients.SelectedItems.Count != 0)
     {
         Client c = (Client) lstClients.SelectedItems[0].Tag;
         if (c.Value.FrmSm != null)
         {
             c.Value.FrmSm.Focus();
             return;
         }
         FrmShowMessagebox frmSM = new FrmShowMessagebox(c);
         frmSM.Show();
     }
 }