private void ToolStripMenuItemSettings_Click(object sender, EventArgs e)
        {
            FormSettings formSettings = new FormSettings();

            formSettings.ShowDialog();
        }
        public bool StartSettingsDialog(IWin32Window owner, SettingsPageReference initalPage = null)
        {
            Func<bool> action = () =>
            {
                using (var form = new FormSettings(this, initalPage))
                {
                    form.ShowDialog(owner);
                }

                return true;
            };

            return DoActionOnRepo(owner, false, true, PreSettings, PostSettings, action);
        }
Example #3
0
        private void settingsToolStripMenuItemSettings_Click(object sender, EventArgs e)
        {
            FormSettings settings = new FormSettings();

            settings.ShowDialog(this);
        }
Example #4
0
        private void ToolStripMenuItem_Directory_Click(object sender, EventArgs e)
        {
            FormSettings fs = new FormSettings();

            fs.ShowDialog();
        }
Example #5
0
        private void btnSettings_Click(object sender, EventArgs e)
        {
            FormSettings f = new FormSettings(Index);

            if (f.ShowDialog() == DialogResult.OK)
            {
                Settings s = Settings.Load();
                s.SiteAddress[Index] = f.SiteAddress;
                s.Providers[Index] = f.ConnectionProvider;
                s.ConnectionStrings[Index] = f.ConnectingString;
                if (s.Emails == null) s.Emails = new Dictionary<int, string>();
                if (s.Passwords == null) s.Passwords = new Dictionary<int, string>();
                if (s.Feed == null) s.Feed = new Dictionary<int, string>();
                s.Emails[Index] = f.Email;
                s.Passwords[Index] = f.Password;
                s.Feed[Index] = f.Feed;
                s.Save();

                loadCategories(false);
            }
        }
Example #6
0
 private void parametresToolStripMenuItem_Click(object sender, EventArgs e)
 {
     _settings.ShowDialog();
 }
Example #7
0
        /// <summary>
        /// Eventhandler fuer einen Klick auf den Button "Feeds und Kategorien verwalten".
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void buttonManage_Click(object sender, EventArgs e)
        {
            FormSettings form = new FormSettings(_Database);

            form.ShowDialog();
        }
Example #8
0
        private void TrayNotifyIcon_BalloonClick(object sender, EventArgs e)
        {
            var cfg = new FormSettings();

            cfg.ShowDialog();
        }