public void Test_TSDBPanel() { WFAppHost.RegisterControlHandlers(); fMainWin = new MainForm(); ClickToolStripButton("btnTSDB", fMainWin); ModalFormHandler = DataMonitor_Handler; ClickButton("btnDataMonitor", fMainWin); ModalFormHandler = Dialog_Cancel_Handler; ClickButton("btnAdd", fMainWin); /*ModalFormHandler = TSPoint_Accept_Handler; * ClickButton("btnAdd", fMainWin); * * SelectListView("ListView", fMainWin, 0); * ModalFormHandler = TSPoint_Accept_Handler; * ClickButton("btnEdit", fMainWin); * * SelectListView("ListView", fMainWin, 0); * ClickButton("btnData", fMainWin); * ClickToolStripButton("btnPrev", fMainWin); * * SelectListView("ListView", fMainWin, 0); * ModalFormHandler = MessageBox_YesHandler; * ClickButton("btnDelete", fMainWin); * * SelectListView("ListView", fMainWin, 0); * ClickButton("btnTrend", fMainWin);*/ ClickToolStripMenuItem("miExit", fMainWin); }
public void Test_BudgetPanel() { WFAppHost.RegisterControlHandlers(); fMainWin = new MainForm(); ClickToolStripButton("btnBudget", fMainWin); ClickButton("btnChartTypes", fMainWin); ClickToolStripButton("btnPrev", fMainWin); ClickButton("btnChartShops", fMainWin); ClickToolStripButton("btnPrev", fMainWin); ClickButton("btnChartBrands", fMainWin); ClickToolStripButton("btnPrev", fMainWin); ClickButton("btnChartCountries", fMainWin); ClickToolStripButton("btnPrev", fMainWin); ClickButton("btnChartMonthes", fMainWin); ClickToolStripButton("btnPrev", fMainWin); ClickButton("btnBrands", fMainWin); ClickToolStripButton("btnPrev", fMainWin); ClickToolStripMenuItem("miExit", fMainWin); }
public void Test_InventoryPanel() { WFAppHost.RegisterControlHandlers(); fMainWin = new MainForm(); ClickToolStripButton("btnInventory", fMainWin); ModalFormHandler = Dialog_Cancel_Handler; ClickButton("btnAdd", fMainWin); ModalFormHandler = Inventory_Accept_Handler; ClickButton("btnAdd", fMainWin); SelectListView("ListView", fMainWin, 0); ModalFormHandler = Inventory_Accept_Handler; ClickButton("btnEdit", fMainWin); SelectListView("ListView", fMainWin, 0); ModalFormHandler = MessageBox_YesHandler; ClickButton("btnDelete", fMainWin); ModalFormHandler = null; ClickToolStripMenuItem("miExit", fMainWin); }
public void Test_SpeciesPanel() { WFAppHost.RegisterControlHandlers(); fMainWin = new MainForm(); ClickToolStripButton("btnSpecies", fMainWin); //ModalFormHandler = SaveFile_Cancel_Handler; //ClickButton("btnExport", fMainWin); ModalFormHandler = Dialog_Cancel_Handler; ClickButton("btnAdd", fMainWin); ModalFormHandler = Species_Accept_Handler; ClickButton("btnAdd", fMainWin); SelectListView("ListView", fMainWin, 0); ModalFormHandler = Dialog_Cancel_Handler; ClickButton("btnEdit", fMainWin); SelectListView("ListView", fMainWin, 0); ModalFormHandler = MessageBox_YesHandler; ClickButton("btnDelete", fMainWin); ModalFormHandler = null; ClickToolStripMenuItem("miExit", fMainWin); }
public void Test_InhabitantsPanel() { WFAppHost.RegisterControlHandlers(); fMainWin = new MainForm(); ClickToolStripButton("btnInhabitants", fMainWin); ModalFormHandler = Dialog_Cancel_Handler; ClickButton("btnAdd", fMainWin); // no selected item //ModalFormHandler = Dialog_Cancel_Handler; //ClickButton("btnEdit", fMainWin); // no selected item //ModalFormHandler = Dialog_Cancel_Handler; //ClickButton("btnDelete", fMainWin); // LifeLines Chart ClickButton("btnChart", fMainWin); ClickToolStripButton("btnPrev", fMainWin); ClickToolStripMenuItem("miExit", fMainWin); }
public void Test_SnapshotPanel() { WFAppHost.RegisterControlHandlers(); fMainWin = new MainForm(); ClickToolStripButton("btnSnapshots", fMainWin); ModalFormHandler = Dialog_Cancel_Handler; ClickButton("btnAdd", fMainWin); ClickToolStripMenuItem("miExit", fMainWin); }
public void Test_Common() { AppHost.InitInstance <WFAppHost>(); WFAppHost.RegisterControlHandlers(); WFAppHost.RegisterViews(); fMainWin = new MainForm(); ExpectModal("AboutDlg", "AboutDlg_Handler"); ClickToolStripMenuItem("miAbout", fMainWin); ModalFormHandler = Dialog_Cancel_Handler; ClickToolStripMenuItem("miSettings", fMainWin); ModalFormHandler = Dialog_Accept_Handler; ClickToolStripMenuItem("miSettings", fMainWin); ClickToolStripMenuItem("miCleanSpace", fMainWin); ModalFormHandler = Calculator_Handler; ClickToolStripMenuItem("miCalculator", fMainWin); ClickToolStripButton("btnTanks", fMainWin); ClickToolStripButton("btnInhabitants", fMainWin); ClickToolStripButton("btnSpecies", fMainWin); ClickToolStripButton("btnNutrition", fMainWin); ClickToolStripButton("btnDevices", fMainWin); ClickToolStripButton("btnInventory", fMainWin); ClickToolStripButton("btnMaintenance", fMainWin); ClickToolStripButton("btnNotes", fMainWin); ClickToolStripButton("btnMeasures", fMainWin); ClickToolStripButton("btnSchedule", fMainWin); ClickToolStripButton("btnTransfers", fMainWin); ClickToolStripButton("btnBudget", fMainWin); ClickToolStripButton("btnSnapshots", fMainWin); ClickToolStripButton("btnTSDB", fMainWin); ClickToolStripButton("btnPrev", fMainWin); ClickToolStripButton("btnNext", fMainWin); ClickToolStripMenuItem("miExit", fMainWin); }
public void Test_TransfersPanel() { WFAppHost.RegisterControlHandlers(); fMainWin = new MainForm(); ClickToolStripButton("btnTransfers", fMainWin); //ModalFormHandler = Dialog_Cancel_Handler; //ClickButton("btnAdd", fMainWin); // no selected item //ModalFormHandler = Dialog_Cancel_Handler; //ClickButton("btnEdit", fMainWin); // no selected item //ModalFormHandler = Dialog_Cancel_Handler; //ClickButton("btnDelete", fMainWin); ClickToolStripMenuItem("miExit", fMainWin); }