示例#1
0
        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();
        }
示例#2
0
        private void preferencesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            PreferencesWindow prefswindow = new PreferencesWindow();

            prefswindow.ShowDialog();
        }