private void Settings_Load(object sender, EventArgs e) { bunifuFormDock1.SubscribeControlsToDragEvents( new Control[] { lblTitle, pbAppIcon }, true); HotkeySelector.Enable(txtHotkey.Input); txtHotkey.Text = MainForm.ApplicationSettings.SelectionHotkey; chkEnableHotkeySelection.Checked = MainForm.ApplicationSettings.AllowHotkeySelections; chkTopmost.Checked = MainForm.ApplicationSettings.TopMost; chkShowPopup.Checked = MainForm.ApplicationSettings.ShowPopup; }
private void HotkeySettings_Load(object sender, EventArgs e) { // Enable the default textbox for hotkey-selection. hotkeySelector.Enable(txtClippingHotkey, MainForm.clippingHotkey); }