public Main() { InitializeComponent(); Configure configureDialog = new Configure(); this.KeyDown += Main_KeyDown; //Is initial config needed? if (Settings.Default["EndPoint"].ToString() == string.Empty) { configureDialog.ShowDialog(); } syntaxBox.SelectedItem = Settings.Default["syntax"]; }
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { Configure configureDialog = new Configure(); configureDialog.ShowDialog(); }