Exemplo n.º 1
0
 private void HidePen()
 {
     this.panel_pen.Visible = false;
     if (formDraw != null)
     {
         formDraw.Dispose();
         formDraw.Close();
         formDraw = null;
     }
 }
Exemplo n.º 2
0
 private void CreateDrawRegion()
 {
     if (formDraw != null)
     {
         formDraw.Close();
         formDraw = null;
     }
     try
     {
         formDraw = new FormCaptureScreen2();
         formDraw.setLineWidth(6);
         formDraw.setLineColor("#0f0");
         formDraw.Show();
     }
     catch (Exception ex)
     {
     }
 }