public FrmBehaelter() { InitializeComponent(); frm_Mng = ClsFormularManager.CreateInstance(); glb_plc = ClsPLC.CreateInstance(); glb_DataBinding = ClsDataBinding.CreateInstance(); }
public FrmPara() { InitializeComponent(); m_glb_FormularManager = ClsFormularManager.CreateInstance(); m_glb_FormularManager.FormularAdd(this, this.Name.ToString()); m_glb_PLC = ClsPLC.CreateInstance(); m_glb_DataBinding = ClsDataBinding.CreateInstance(); }
public FrmDarstellung() { InitializeComponent(); this.m_ConnectionString = GlobalVar.Glb_SQLConnecton; sqlHelper = new SQLHelper(this.m_ConnectionString); BS_Graph = new BindingSource(); glb_FrmMng = ClsFormularManager.CreateInstance(); glb_FrmMng.FormularAdd(this, this.Name); }
public FrmDatenauswertung() { InitializeComponent(); GlobalVar.Glb_SQLConnecton = m_ConnectionString; frm1 = new FrmDarstellung(); this.BS_Source = new BindingSource(); this.BS_Drain = new BindingSource(); this.sqlHelper = new SQLHelper(m_ConnectionString); List <SQLHelper.SQLSpalten> felder = new List <SQLHelper.SQLSpalten>(); SQLHelper.SQLSpalten feld; feld.Feldname = "Spalte"; feld.Feldtype = "nvarchar(50)"; felder.Add(feld); feld.Feldname = "Von"; feld.Feldtype = "datetime"; felder.Add(feld); feld.Feldname = "Bis"; feld.Feldtype = "datetime"; felder.Add(feld); this.sqlHelper.CheckTableSpalten("Auswahl", felder); this.DBGRID_Source.DataSource = this.BS_Source; this.DBGRID_Drain.DataSource = this.BS_Drain; FuncGeneral.Start(); glb_FrmMng = ClsFormularManager.CreateInstance(); glb_FrmMng.AddBitButtonCloseAll(); glb_FrmMng.AddButton(BtnStyle.btg_Graph, frm1.Name); this.ShowClose = true; ToolTip toolTip1 = new ToolTip(); toolTip1.AutoPopDelay = 0; toolTip1.ShowAlways = true; toolTip1.UseAnimation = false; toolTip1.SetToolTip(this.BTN_Menu, "Menue"); toolTip1.SetToolTip(this.BTN_Keyboard, "Tastatur"); toolTip1.SetToolTip(this.BTN_Close, "Programm beenden"); toolTip1.SetToolTip(this.BTN_Darstellung, "Grafik anzeigen"); toolTip1.SetToolTip(this.BTN_Delete, "Auswahl loeschen"); toolTip1.SetToolTip(this.BTN_SuchenLoeschen, "Suchfeld loeschen"); toolTip1.SetToolTip(this.BTN_Auswaehlen, "Auswaehlen"); this.toolStripMenuItem1.Image = Bmp.btg_esc; this.wwwwToolStripMenuItem.Image = Bmp.btg_pfeilre; }
public FrmRelease() { InitializeComponent(); this.Width = 1024; this.Height = 768; this.Text = "Freigaben"; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; m_Releases = new Dictionary <string, string>(); m_glb_FormularManager = ClsFormularManager.CreateInstance(); m_glb_FormularManager.FormularAdd(this, this.Name.ToString()); m_glb_PLC = ClsPLC.CreateInstance(); m_glb_DataBinding = ClsDataBinding.CreateInstance(); this.CreateTabControl(); this.CreatePage(); this.CreateSymbols(); }
public FrmService() { InitializeComponent(); this.m_glb_FormularManager = ClsFormularManager.CreateInstance(); this.m_glb_FormularManager.FormularAdd(this, this.Name.ToString()); this.m_glb_PLC = ClsPLC.CreateInstance(); this.m_glb_DataBinding = ClsDataBinding.CreateInstance(); this.m_Services = new Dictionary <string, string>(); this.m_TabInfo = new Dictionary <string, int>(); this.m_Symboldaten = new List <DatenService>(); this.m_GroupBoxDaten = new List <GroupBox>(); this.LoadPlc(); this.CreatePageControl(); this.CreateTabControl(); this.CreateSymbole(); }
public frmMainScreen() { InitializeComponent(); FuncGeneral.Start(); glb_DataBinding = ClsDataBinding.CreateInstance(); frmMng = ClsFormularManager.CreateInstance(); frmMng.AddButton(BtnStyle.btg_Para, "FrmPara"); frmMng.AddButton(BtnStyle.btg_Service, "FrmService"); frmMng.AddButton(BtnStyle.btg_Freigabe, "FrmRelease"); frmMng.AddButton(BtnStyle.btg_Error, "FrmError"); frmMng.AddBitButtonCloseAll(); glb_plc = ClsPLC.CreateInstance(); helperMakroControl = new HelperMakroControl(); helperLibNoDave = new HelperLibNoDave(this); }
public FrmDatenlogger() { InitializeComponent(); glb_DataBinding = ClsDataBinding.CreateInstance(); frmMng = ClsFormularManager.CreateInstance(); glb_plc = ClsPLC.CreateInstance(); sqlHelper = new SQLHelper(m_ConnectionString); FuncGeneral.Start(); this.ShowClose = true; this.LoadPlc(); this.BindConrols(); glb_plc.IP = "10.100.72.125"; glb_plc.Rack = 0; glb_plc.Slot = 2; glb_plc.Open(); glb_plc.Read(); this.CreateListView(); }