Example #1
0
 public void ShowDialog(Member member)
 {
     try
     {
         if (CommonGlobalUtil.EngineUnconnectioned(this))
         {
             return;
         }
         this.member = member;
         this.skinPanel1.Controls.Remove(ctrl);
         ctrl      = new NewMemberCtrl();
         ctrl.Dock = DockStyle.Fill;
         this.skinPanel1.Controls.Add(ctrl);
         Display();
     }
     catch (Exception ee)
     {
         ShowError(ee);
     }
     finally
     {
         UnLockPage();
         this.TopMost = true;
         this.Show();
         this.TopMost = false;
     }
 }