Пример #1
0
 private void CloseRendu()
 {
     if (fenetreRendu != null)
     {
         fenetreRendu.Hide();
         fenetreRendu.Close();
         fenetreRendu.Dispose();
         fenetreRendu = null;
     }
 }
Пример #2
0
 private void chkRendu_CheckedChanged(object sender, System.EventArgs e)
 {
     if (chkRendu.Checked)
     {
         fenetreRendu = new Rendu(BmpLock.Bitmap);
         fenetreRendu.Show();
         Render();
     }
     else
     {
         CloseRendu();
     }
 }