Example #1
0
 private void tsbSettings_Click(object sender, EventArgs e)
 {
     using (HistorySettingsForm form = new HistorySettingsForm(Settings))
     {
         form.ShowDialog();
     }
 }
Example #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();
            }
        }