public DeRange(Config.Top p_config, UserNotifier p_notifier) { InitializeComponent(); m_config = p_config; m_notifier = p_notifier; resetHotKeys(); }
public WindowLocationSelector(Config.Top p_config) { m_config = p_config; InitializeComponent(); this.windowListBindingSource.DataSource = p_config.WindowConfigurations; this.locationListBindingSource.DataSource = p_config.WindowPositions; updateButtons(); }
public WindowLocationSelector(Config.Top p_config, Guid p_windowGuid, Guid p_locationGuid, bool p_multiple) : this( p_config ) { Config.Window win = p_config.GetWindow(p_windowGuid); Config.Location loc = p_config.GetLocation(p_locationGuid); windowListbox.SelectedItem = win; locationListbox.SelectedItem = loc; allowMultipleMatchesCheckBox.Checked = p_multiple; updateButtons(); }
public LocationEdit(Config.Top p_config) { m_config = p_config; InitializeComponent(); populateMonitorCombobox(); this.statusComboBox.DataSource = System.Enum.GetValues(typeof(Config.Location.WindowStatus)); this.deRangeWindowPositionListBindingSource.DataSource = m_config.WindowPositions; if (m_config.WindowPositions.Count > 0) { positionList.SelectedItem = m_config.WindowPositions[0]; } updateButtons(); }
public WindowEdit(Config.Top p_config) { m_config = p_config; InitializeComponent(); this.windowConfigurationsBindingSource.DataSource = m_config.WindowConfigurations; if (m_config.WindowConfigurations.Count > 0) { windowConfigListBox.SelectedItem = m_config.WindowConfigurations[0]; } m_config.WindowConfigurations.ListChanged += windowConfigurationListChanged; updateButtonStatuses(); }