예제 #1
0
 private void btnIncrement_Click(object sender, EventArgs e)
 {
     btnReset.Visible = true;
     WindowsViewModel.IncrementMuta(0.2f);
     WindowsViewModel.SetLayer(int.Parse(listBox1.SelectedItem.ToString()), trackBar3.Value);
     pictureBox1.Image = WindowsViewModel.Deseneaza(trackBar1.Value, trackBar2.Value);
 }
예제 #2
0
 private void btnmuta2_Click(object sender, EventArgs e)
 {
     if (btnreset2.Visible == false)
     {
         btnreset2.Visible = true;
     }
     WindowsViewModel.IncrementMuta(0, 7.0f);
     pictureBox1.Image = WindowsViewModel.Deseneaza(trackBar1.Value, trackBar2.Value);
 }