private void CloseAddUserControl() { CloseModalPanel(_addUserControl, DevComponents.DotNetBar.Controls.eSlideSide.Right); _addUserControl.Dispose(); _addUserControl = null; ui_users_buttonX_add.Enabled = true; }
private void ui_users_buttonX_add_Click(object sender, EventArgs e) { ui_users_buttonX_add.Enabled = false; _addUserControl = new AddUserControl { Commands = _commands, Tag = 0 }; ShowModalPanel(_addUserControl, DevComponents.DotNetBar.Controls.eSlideSide.Right); }