Exemplo n.º 1
0
 private void buttonReset_Click(object sender, EventArgs e)
 {
     n      = 0;
     smezh  = null;
     result = null;
     rasst  = null;
     buttonPutSmezh.Enabled      = false;
     buttonGetRasst.Enabled      = false;
     buttonGetSmezh.Enabled      = false;
     buttonN.Enabled             = true;
     buttonMakeResult.Enabled    = false;
     textBoxN.Enabled            = false;
     textBoxN.Text               = null;
     textBoxN.Enabled            = true;
     buttonShowResult.Enabled    = false;
     buttonShowPositions.Enabled = false;
     buttonStrStolb.Enabled      = false;
     comboBox1.Items.Clear();
     comboBox1.Enabled = false;
     rasst             = new Rasst();
     celFunction       = Int32.MaxValue;
     textBox2.Text     = "0";
     textBox1.Enabled  = true;
     textBox2.Enabled  = true;
     textBox1.Text     = null;
 }
Exemplo n.º 2
0
 private void buttonPutSmezh_Click(object sender, EventArgs e)
 {
     smezh = new Smezh(this);
     smezh.showDialogWithN(n);
     matrixSmezh = smezh.getSmezhMatrix();
 }