示例#1
0
文件: FormMain.cs 项目: fatbudy/CSSM
 private void fbp_Closed(object sender, ClosedArgs e)
 {
     if (e.Closing && e.DialogResult == DialogResult.OK)
     {
         set_premission(e.Data);
         this.BodysplitContainer.Panel1.Controls.Remove(_CurrentItem);
         SubWindowsOnTableModels = _login;
         if(SubWindowsOnTableModels )
         {
             tabControl1.Visible = true;
         }
         _CurrentItem = null;
     }
     else
     {
         Application.Exit();
     }
 }
示例#2
0
文件: fbParent.cs 项目: fatbudy/CSSM
 protected void RaiseEvent(ClosedArgs e)
 {
     if (Closed != null)
     {
         Closed.Invoke(this, e);
     }
 }
示例#3
0
文件: FormMain.cs 项目: fatbudy/CSSM
 private void Item_Closed(object sender, ClosedArgs e)
 {
     if (e.Closing && _CurrentItem !=null)
     {
         this.BodysplitContainer.Panel1.Controls.Remove(_CurrentItem);
     }
 }