예제 #1
0
 private void 导入彩票数据ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (frmWrokflow == null)
     {
         frmWrokflow             = new frmWrokflow(this.txtSAPUserId.Text.Trim());
         frmWrokflow.FormClosed += new FormClosedEventHandler(FrmOMS_FormClosed);
     }
     if (frmWrokflow == null)
     {
         frmWrokflow = new frmWrokflow(this.txtSAPUserId.Text.Trim());
     }
     frmWrokflow.Show(this.dockPanel2);
 }
예제 #2
0
 void FrmOMS_FormClosed(object sender, FormClosedEventArgs e)
 {
     if (sender is frmWrokflow)
     {
         frmWrokflow = null;
     }
     if (sender is frmFapiaoInfo)
     {
         frmFapiaoInfo = null;
     }
     if (sender is frmHelp)
     {
         frmHelp = null;
     }
 }