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); }
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); }