private void btnReset_Click(object sender, EventArgs e)
 {
     btnReset.Visible = false;
     WindowsViewModel.ResetMuta(true);
     WindowsViewModel.SetLayer(int.Parse(listBox1.SelectedItem.ToString()), trackBar3.Value);
     pictureBox1.Image = WindowsViewModel.Deseneaza(trackBar1.Value, trackBar2.Value);
 }
 private void btnreset2_Click(object sender, EventArgs e)
 {
     WindowsViewModel.ResetMuta(false, true);
     pictureBox1.Image = WindowsViewModel.Deseneaza(trackBar1.Value, trackBar2.Value);
     btnreset2.Visible = false;
 }