private void displaySpecificForm()
        {
            switch (originModuleID)
            {
            case globalConstants.TAMBAH_HAPUS_GROUP_USER:
                gutil.saveSystemDebugLog(0, "CREATE DATA GROUP DETAIL FORM, GROUP USER ID [" + selectedGroupID + "]");

                dataGroupDetailForm displayNewGroupForm = new dataGroupDetailForm(globalConstants.EDIT_GROUP_USER, selectedGroupID);
                displayNewGroupForm.ShowDialog(this);
                break;

            case globalConstants.PENGATURAN_GRUP_AKSES:
                gutil.saveSystemDebugLog(0, "CREATE DATA GROUP ACCESS MODULE FORM, GROUP USER ID [" + selectedGroupID + "]");

                groupAccessModuleForm groupAccessForm = new groupAccessModuleForm(selectedGroupID);
                groupAccessForm.ShowDialog(this);
                break;

            //case globalConstants.PENGATURAN_POTONGAN_HARGA:
            //    pengaturanPotonganHargaForm pengaturanHargaForm = new pengaturanPotonganHargaForm();
            //    pengaturanHargaForm.ShowDialog(this);
            //    break;

            case globalConstants.TAMBAH_HAPUS_USER:
                gutil.saveSystemDebugLog(0, "SET USER DETAIL SELECTED GROUP ID [" + selectedGroupID + "]");

                userDetailForm.setSelectedGroupID(selectedGroupID);
                this.Close();
                break;
            }
        }
Example #2
0
        private void newGroupButton_Click(object sender, EventArgs e)
        {
            dataGroupDetailForm displayForm = new dataGroupDetailForm(globalConstants.PENGATURAN_GRUP_AKSES, this);

            displayForm.ShowDialog(this);

            loadGroupUserInformation();
        }
        private void newButton_Click(object sender, EventArgs e)
        {
            dataGroupDetailForm displayForm = new dataGroupDetailForm(globalConstants.NEW_GROUP_USER);

            displayForm.ShowDialog(this);
        }