private void Form1_Load(object sender, EventArgs e) { //****************** gestion Stock****************************// ////********************** Admin *****************************// barStaticItem1.Caption = login1.nom + " " + login1.prenom; siStatus.Caption = System.DateTime.Now.ToLongDateString(); siInfo.Caption = System.DateTime.Now.ToShortTimeString(); deconn = "no"; timer1.Start(); if (gest_client == null) { gest_client = new gestion_client(); } else { wait = 1; } gest_client.MdiParent = this; gest_client.Show(); gest_client.BringToFront(); fillprospnowadays(); fillprosptomorrow(); PrepareNotifcation(); RunAlert(); }
private void navBarItem10_LinkClicked_1(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e) { timer2.Start(); if (SplashScreenManager.Default != null && SplashScreenManager.Default.IsSplashFormVisible) { SplashScreenManager.CloseForm(); } SplashScreenManager.ShowForm(typeof(WaitForm1)); if (gest_client == null) { gest_client = new gestion_client(); } else { wait = 1; } gest_client.MdiParent = Form1.ActiveForm; gest_client.Show(); gest_client.BringToFront(); }
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { gestion_client gg = new gestion_client(); gg.ShowDialog(); }