Exemplo n.º 1
0
        private void btnBack_Click(object sender, EventArgs e)
        {
            this.Hide();
            DietMasterPage dm = new DietMasterPage();

            dm.Show();
        }
Exemplo n.º 2
0
        void tmr_Tick(object sender, EventArgs e)
        {
            //after 3 sec stop the timer
            tmr.Stop();
            //display mainform
            DietMasterPage dm = new DietMasterPage();

            dm.Show();
            dm.Height = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height - 100;
            dm.Width  = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width - 100;
            //hide this form
            this.Hide();
        }
Exemplo n.º 3
0
 private void BindDietMaster(int CustomerID)
 {
     DietMasterPage objDietMaster = new DietMasterPage();
 }