Beispiel #1
0
        private void btnNewUser_Click(object sender, EventArgs e)
        {
            ManageUserEditorForm editor = Bootstrapper.Resolve <ManageUserEditorForm>();

            editor.ShowDialog(this);

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

                btnSearch.PerformClick();
            }
        }