Exemplo n.º 1
0
 private void P_calendar_Click(object sender, EventArgs e)
 {
     Fcalendrier RetourCalendrier = new Fcalendrier();
     RetourCalendrier.MdiParent = this.ParentForm;
     RetourCalendrier.StartPosition = FormStartPosition.CenterScreen;
     RetourCalendrier.Size = new Size(Parent.Width - 4, Parent.Height - 4);
     RetourCalendrier.Show();
     Close();
 }
Exemplo n.º 2
0
        private void P_calendar_Click(object sender, EventArgs e)
        {
            Fcalendrier RetourCalendrier = new Fcalendrier();

            RetourCalendrier.MdiParent     = this.ParentForm;
            RetourCalendrier.StartPosition = FormStartPosition.CenterScreen;
            RetourCalendrier.Size          = new Size(Parent.Width - 4, Parent.Height - 4);
            RetourCalendrier.Show();
            Close();
        }
Exemplo n.º 3
0
        public Fcontainer()
        {
            InitializeComponent();
            WindowState = System.Windows.Forms.FormWindowState.Maximized;

            //Test for initializing or not the software
            /*if(not initialized)*/
            L_date.Text = "Jour ?, ?h?";
            Finitialization init = new Finitialization();
            init.MdiParent = this;
            init.StartPosition = FormStartPosition.CenterScreen;
            init.Show();

            Fcalendrier accueil = new Fcalendrier();
            accueil.MdiParent = init.MdiParent;
            accueil.StartPosition = FormStartPosition.CenterScreen;
            accueil.Size = new Size(Width - 4, Height - 4);
            accueil.Show();
        }
Exemplo n.º 4
0
        public Fcontainer()
        {
            InitializeComponent();
            WindowState = System.Windows.Forms.FormWindowState.Maximized;

            //Test for initializing or not the software
            /*if(not initialized)*/
            L_date.Text = "Jour ?, ?h?";
            Finitialization init = new Finitialization();

            init.MdiParent     = this;
            init.StartPosition = FormStartPosition.CenterScreen;
            init.Show();


            Fcalendrier accueil = new Fcalendrier();

            accueil.MdiParent     = init.MdiParent;
            accueil.StartPosition = FormStartPosition.CenterScreen;
            accueil.Size          = new Size(Width - 4, Height - 4);
            accueil.Show();
        }