private void CheckBtn_Click(object sender, EventArgs e) { SharpCaptureMain CheckBoxValueSender = (SharpCaptureMain)Owner; CheckBoxValueSender.CopyClipBoard = ClipBoardSettingCheck.Checked; CheckBoxValueSender.CheckSave = AutoSaveSettingCheck.Checked; CheckBoxValueSender.ScreenOverlay = ScreenOverlaySettingCheck.Checked; Close(); }
private void Selection_Load(object sender, EventArgs e) { OwnerForm = (SharpCaptureMain)Owner; Width = 100; Height = 100; Location = StartLocation; GetMouseCursorThread = new Thread(GetMouseCursor) { IsBackground = true }; GetMouseCursorThread.Start(); }
private void SelectionCapture_Load(object sender, EventArgs e) { MainForm = (SharpCaptureMain)Owner; RegisterHotKey((int)this.Handle, 0, 0x0, (int)Keys.Escape); }