Exemplo n.º 1
0
        private void ribbonButtonPreferences_Click(object sender, EventArgs e)
        {
            var frmPref = new FormPreferences();

            frmPref.StartPosition = FormStartPosition.CenterScreen;
            frmPref.ShowDialog(this);
        }
Exemplo n.º 2
0
        private void preferencesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var frmPref = new FormPreferences();

            frmPref.StartPosition = FormStartPosition.CenterScreen;
            frmPref.ShowDialog(this);
        }