private void ReloadButton_Click(object sender, EventArgs e) { Columns = new List <string>(); Values = new Dictionary <string, Dictionary <string, bool> >(); HiddenRows = new HashSet <int>(); FiltersButton.Enabled = false; ReloadButton.Enabled = false; LoadSettings(); Settings = new SettingsController(this); ApplySettings(); }
private void MainForm_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.F5) { ReloadButton.PerformClick(); } if (e.KeyCode == Keys.L && e.Modifiers == Keys.Shift) { Columns = new List <string>(); Values = new Dictionary <string, Dictionary <string, bool> >(); HiddenRows = new HashSet <int>(); FiltersButton.Enabled = false; ReloadButton.Enabled = false; SelectFile(); Settings = new SettingsController(this); ApplySettings(); } }
public SettingsForm(MainForm main, SettingsController controller) { InitializeComponent(); this.MainForm = main; this.Controller = controller; }
private void MainForm_Load(object sender, EventArgs e) { LoadSettings(); Settings = new SettingsController(this); ApplySettings(); }