示例#1
0
 public void RebuildForms()
 {
     FrmImportStudent = new ImportStudentFrm();
     //Codes
     FrmAccTreeOptions      = new AccTreeOptionsFrm();
     FrmEditorYear          = new EditorYearFrm();
     FrmEditorAccountNature = new EditorAccountNatureFrm();
     FrmEditorSalesUnit     = new EditorSalesUnitFrm();
     FrmEditorStore         = new EditorStoreFrm();
     FrmEditorBank          = new EditorBankFrm();
     FrmEditorCustomer      = new EditorCustomerFrm();
     FrmEditorCDCategories  = new EditorCDCategoriesFrm();
     FrmEditorSuppliers     = new EditorSuppliersFrm();
     FrmEditorCompanies     = new EditorCompaniesFrm();
     FrmEditorBillPayTypes  = new EditorBillPayTypesFrm();
     FrmEditorJob           = new EditorJobFrm();
     FrmEditorCDASNAF       = new EditorCDASNAFFrm();
     FrmCD_Asase            = new CD_AsaseFrm();
     //Data
     FrmAccTypesDlg            = new AccTypesDlgFrm();
     FrmAccTypes               = new AccTypesFrm();
     FrmConstraintsDaily       = new ConstraintsDailyFrm();
     FrmDataEmp                = new DataEmpFrm();
     FrmDataBill               = new DataBillFrm();
     FrmDataSellBill           = new DataSellBillFrm();
     FrmDataSellBillBarCode    = new DataSellBillBarCodeFrm();
     FrmDataTblPricelists      = new DataTblPricelistsFrm();
     Frmstudent                = new studentFrm();
     FrmDataSellStuBillBarCode = new DataSellStuBillBarCodeFrm();
     FrmDataTBLGard            = new DataTBLGardFrm();
     FrmDataReturnSellStuBill  = new DataReturnSellStuBillFrm();
     FrmDataReturnbuyBill      = new DataReturnbuyBillFrm();
     FrmDataMortag3BillBarCode = new DataMortag3BillBarCodeFrm();
     //Queries
     FrmQrysells         = new QrysellsFrm();
     FrmQryBuys          = new QryBuysFrm();
     FrmItemAvailability = new ItemAvailabilityFrm();
     FrmQryBarcode       = new QryBarcodeFrm();
     FrmQryReservedsells = new QryReservedsellsFrm();
     FrmQryStusells      = new QryStusellsFrm();
     //Roles
     FrmEditorRole       = new EditorRoleFrm();
     FrmEditorRoleMenu   = new EditorRoleMenuFrm();
     FrmEditorUser       = new EditorUserFrm();
     FrmEditorUserInRole = new EditorUserInRoleFrm();
     //Tools
     FrmSkins = new SkinsFrm();
 }
示例#2
0
 private void premEditorUserInRoleToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (FrmEditorUserInRole.IsDisposed)
     {
         FrmEditorUserInRole           = new EditorUserInRoleFrm();
         FrmEditorUserInRole.MdiParent = this;
         FrmEditorUserInRole.Show();
     }
     else
     {
         if (FrmEditorUserInRole.Visible)
         {
             FrmEditorUserInRole.WindowState = FormWindowState.Normal;
             FrmEditorUserInRole.Focus();
         }
         else
         {
             FrmEditorUserInRole.MdiParent = this;
             FrmEditorUserInRole.Show();
         }
     }
     FrmEditorUserInRole.Icon = FXFW.SqlDB.MakeIcon(global::SchoolStore2.Properties.Resources.UserRoles, 16, false);
 }