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();
        }
Example #2
0
        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();
        }
Example #3
0
 private void SelectionCapture_Load(object sender, EventArgs e)
 {
     MainForm = (SharpCaptureMain)Owner;
     RegisterHotKey((int)this.Handle, 0, 0x0, (int)Keys.Escape);
 }