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(); } }
protected void RaiseEvent(ClosedArgs e) { if (Closed != null) { Closed.Invoke(this, e); } }
private void Item_Closed(object sender, ClosedArgs e) { if (e.Closing && _CurrentItem !=null) { this.BodysplitContainer.Panel1.Controls.Remove(_CurrentItem); } }