Exemplo n.º 1
0
        private void newButton_Click(object sender, EventArgs e)
        {
            if (null == newUserForm || newUserForm.IsDisposed)
            {
                newUserForm = new dataUserDetailForm(globalConstants.NEW_USER);
            }

            newUserForm.Show();
            newUserForm.WindowState = FormWindowState.Normal;
        }
Exemplo n.º 2
0
        private void displaySpecificForm()
        {
            switch (originModuleID)
            {
            default:
                gutil.saveSystemDebugLog(0, "CREATE DATA USER DETAIL FORM, UID [" + selectedUserID + "]");

                if (null == editUserForm || editUserForm.IsDisposed)
                {
                    editUserForm = new dataUserDetailForm(globalConstants.EDIT_USER, selectedUserID);
                }

                editUserForm.Show();
                editUserForm.WindowState = FormWindowState.Normal;
                break;
            }
        }