private void optionsBtn_Click(object sender, EventArgs e) { PreferencesWindow prefwindow = new PreferencesWindow(); prefwindow.Left = this.Left + this.Width; prefwindow.Top = this.Top + (this.Height - prefwindow.Height) / 2; playBtnClick(); prefwindow.ShowDialog(); }
private void preferencesToolStripMenuItem_Click(object sender, EventArgs e) { PreferencesWindow prefswindow = new PreferencesWindow(); prefswindow.ShowDialog(); }