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