Ejemplo n.º 1
0
        public void PersistSettings(System.Windows.Forms.Control[] settingsView)
        {
            WindowsIntegrationUI windowsIntegration = (WindowsIntegrationUI)settingsView[0];

            Settings.Default.MonitorClipboard = windowsIntegration.MonitorClipboard;
            Settings.Default.Save();

            WindowsStartupUtility.Register(windowsIntegration.StartWithWindows);
        }
Ejemplo n.º 2
0
        public WindowsIntegrationUI()
        {
            InitializeComponent();

            this.Text = "Windows Integration";

            chkStartWithWindows.Checked        = WindowsStartupUtility.IsRegistered();
            chkMonitorWindowsClipboard.Checked = Settings.Default.MonitorClipboard;
        }