예제 #1
0
 private void OnShift_PrintScreen()
 {
     frmCrop fc = new frmCrop();
     fc.ShowDialog();
     frmMsg fm = new frmMsg(this.TP, fc.Captura);
     fc.Dispose();
     fc = null;
     if (fm.ShowDialog() == DialogResult.Yes)
     {
         gui.BalloonTipText = this.TP.MediaUrl.ToString();
         gui.ShowBalloonTip(300);
     }
     fm.Dispose();
     fm = null;
 }
예제 #2
0
 private void tsbArea_Click(object sender, EventArgs e)
 {
     pbWebCamContainer.Dock = WB.Dock = DockStyle.None;
     WB.Visible = pbWebCamContainer.Visible = false;
     pbImagen.Dock = DockStyle.Fill;
     pbImagen.Visible = true;
     this.Hide();
     frmCrop fc = new frmCrop();
     fc.ShowDialog();
     pbImagen.Image = fc.Captura;
     this.Show();
 }