Example #1
0
        static void Main()
        {
            try {
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);



                InitialDatabaseSetupController idb;//= new InitialDatabaseSetupController();

                var fm = new Form_Main_PH_Application();
                //fm.objectInitialization();
                idb = fm.idsc;

                idb.InitialProcessingForDatabaseAndApp();

                //Show the language select dialog
                MultiLang.SelectLanguage frmLang = new MultiLang.SelectLanguage();
                frmLang.LoadSettingsAndShow();
                frmLang.Dispose();
                frmLang = null;
                //Application.Run(new Form1());
                // BuildingOperation b = fm.bo;//new BuildingOperation();

                Application.Run(fm);// new Form_Main_PH_Application()
            }catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
 public TrashBox(Form_Main_PH_Application F)
 {
     PH = F;
     InitializeComponent();
 }
 public FormFluidSelection(MainController mf, Form_Main_PH_Application form)
 {
     mc    = mf;
     fmain = form;
     InitializeComponent();
 }
Example #4
0
 public FormSetting(Form_Main_PH_Application f)
 {
     f1 = f;
     InitializeComponent();
 }
Example #5
0
 public void RefreshChartListForTrashBoxRestore(Form_Main_PH_Application Fmain)
 {
     mc.RefreshingEverythingChartAndContent(Fmain, Fmain, phChart);
 }