Esempio n. 1
0
 private void tsbSettings_Click(object sender, EventArgs e)
 {
     using (HistorySettingsForm form = new HistorySettingsForm(Settings))
     {
         form.ShowDialog();
     }
 }
Esempio n. 2
0
        private void tsbSettings_Click(object sender, EventArgs e)
        {
            int maxItemCount = Settings.MaxItemCount;

            using (HistorySettingsForm form = new HistorySettingsForm(Settings))
            {
                form.ShowDialog();
            }

            if (maxItemCount != Settings.MaxItemCount)
            {
                RefreshHistoryItems();
            }
        }