Ejemplo n.º 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (checkings.IsntEmptyStrings(textBoxComplex.Text, textBoxElements.Text, textBoxThreads.Text) &&
         checkings.isInt(textBoxComplex.Text, textBoxElements.Text, textBoxThreads.Text))
     {
         int a, b, c;
         a             = Convert.ToInt32(textBoxComplex.Text);
         b             = Convert.ToInt32(textBoxThreads.Text);
         c             = Convert.ToInt32(textBoxElements.Text);
         processingarr = new Processingarr(a, b, c);
     }
     // label3.Text = textBoxComplex.Text + "  " + textBoxElements.Text + "  " + textBoxThreads.Text;
     else
     {
         MessageBox.Show("Enter correct data!!!");
     }
 }
Ejemplo n.º 2
0
 public Form1()
 {
     InitializeComponent();
     checkings     = new Checkings();
     processingarr = new Processingarr();
 }