private void btnNewUser_Click(object sender, EventArgs e) { ManageUserEditorForm editor = Bootstrapper.Resolve <ManageUserEditorForm>(); editor.ShowDialog(this); btnSearch.PerformClick(); }
private void cmsEditData_Click(object sender, EventArgs e) { if (SelectedUserRole != null) { ManageUserEditorForm editor = Bootstrapper.Resolve <ManageUserEditorForm>(); editor.SelectedUserRole = SelectedUserRole; editor.ShowDialog(this); btnSearch.PerformClick(); } }