Example #1
0
        private void launchF3(string flag)
        {
            DateTime Now = DateTime.Now;

            string[] info = Now.ToString().Split(' ');
            this.Hide();
            sessionCNED f3 = new sessionCNED();

            f3.flag         = flag;
            f3.startingDay  = info[0];
            f3.startingTime = info[1];
            f3.ShowDialog();
        }
Example #2
0
        private void btnNon_Click(object sender, EventArgs e)
        {
            this.Hide();
            sessionCNED f3 = new sessionCNED();

            f3.startingDay  = startingDay;
            f3.startingTime = startingTime;
            f3.f4duration   = duration;
            f3.tableName    = tableName;
            CNED f2 = new CNED();

            f2.openedWindow = flag;
            f2.Show();
        }
Example #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            Close();
            sessionCNED f3 = new sessionCNED();

            f3.Close();
            f3.startingDay  = startingDay;
            f3.startingTime = startingTime;
            f3.f4duration   = duration;
            f3.tableName    = tableName;
            f3.idMatiere    = idMatiere;
            f3.btnStop_Click(sender, e);
            Close();
            f3.Close();
            Close();
        }