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;
        }
 private void displaySpecificForm()
 {
     switch (originModuleID)
     {
     default:
         gutil.saveSystemDebugLog(0, "CREATE DATA USER DETAIL FORM, UID [" + selectedUserID + "]");
         dataUserDetailForm displayForm = new dataUserDetailForm(globalConstants.EDIT_USER, selectedUserID);
         displayForm.ShowDialog(this);
         break;
     }
 }
        public dataGroupForm(int moduleID, dataUserDetailForm parentForm)
        {
            InitializeComponent();

            if (moduleID > 50)
            {
                newButton.Visible = false;
            }

            originModuleID = moduleID;
            userDetailForm = parentForm;
            gutil.saveSystemDebugLog(0, "CREATE DATA GROUP FORM MODULE_ID [" + moduleID + "] FROM DATA USER DETAIL FORM");
        }
        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;
            }
        }
        private void newButton_Click(object sender, EventArgs e)
        {
            dataUserDetailForm displayForm = new dataUserDetailForm(globalConstants.NEW_USER);

            displayForm.ShowDialog(this);
        }