Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Telateste venda = new Telateste();
            venda.Show();

            //Telateste frmFilho = new Telateste();
            //frmFilho.MDI_Pai = this;
            //frmFilho.Show();

            //Telateste Form4 = new Telateste();
            //Form4.Show();
        }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            Telateste venda = new Telateste();

            venda.Show();

            //Telateste frmFilho = new Telateste();
            //frmFilho.MDI_Pai = this;
            //frmFilho.Show();

            //Telateste Form4 = new Telateste();
            //Form4.Show();
        }
Пример #3
0
 private void venderToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         if (Application.OpenForms["Telateste"] == null)
         {
             Telateste newMDIChild = new Telateste();
             // Set the Parent Form of the Child window.
             newMDIChild.MdiParent = this;
             // Display the new form.
             newMDIChild.Show();
         }
     }
     catch { }
 }
Пример #4
0
 private void venderToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         if (Application.OpenForms["Telateste"] == null)
         {
             Telateste newMDIChild = new Telateste();
             // Set the Parent Form of the Child window.
             newMDIChild.MdiParent = this;
             // Display the new form.
             newMDIChild.Show();
         }
     }
     catch { }
 }