Example #1
0
        private void menuItem5_Click(object sender, EventArgs e)
        {
            programacaoId  = Convert.ToInt32(label2.Text);
            Cursor.Current = Cursors.WaitCursor;
            Application.DoEvents();
            //CadastrarTrafo t = new CadastrarTrafo();
            CadastrarTrafo t = new CadastrarTrafo();

            try
            {
                t.ShowDialog();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
Example #2
0
 private void menuItem5_Click(object sender, EventArgs e)
 {
     programacaoId = Convert.ToInt32(label2.Text);
     Cursor.Current = Cursors.WaitCursor;
     Application.DoEvents();
     //CadastrarTrafo t = new CadastrarTrafo();
     CadastrarTrafo t = new CadastrarTrafo();
     try
     {
         t.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }