public void btnActivate_Click(object sender, EventArgs e) { LoadSetRegistryClass.RegActavate(this); DatePopupClass open = new DatePopupClass(); open.Datechecker(); }
private void Mainfrm_Load(object sender, EventArgs e) { LoadSetRegistryClass lsr = new LoadSetRegistryClass(); LoadSetRegistryClass.RegGetSysTVel(this); lsr.chkRegRun(); LoadSetRegistryClass.RegGetReminderVel(this); SQLToXMLDataOutputClass.xmlRefeshlst(this); this.greenFingersTableAdapter.Fill(this.greenFingersDBDataSet.GreenFingers); nfyIGf.Visible = true; ico = nfyIGf.Icon; }
//--end-- #endregion public Mainfrm() { try { LoadSetRegistryClass lsr = new LoadSetRegistryClass(); lsr.chkRegAct(); lsr.chkRegSysT(); chkfiles(); InitializeComponent(); //Load rounded boreder----START----- Region = System.Drawing.Region.FromHrgn(ThemeGUIClass.CreateRoundRectRgn(0, 0, Width, Height, 20, 20)); //-----END----- } catch (SystemException) { MessageBox.Show("Something is seriously wrong, must close!", "Green Fingers Error!", MessageBoxButtons.OK, MessageBoxIcon.Error); this.Close(); } }
public void btnDeactivate_Click(object sender, EventArgs e) { LoadSetRegistryClass.RegDeactivate(this); }