コード例 #1
0
ファイル: Principal.cs プロジェクト: nbleonardo/scvs
        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
ファイル: Principal.cs プロジェクト: nbleonardo/scvs
 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 { }
 }