Exemplo n.º 1
0
        // Event handler for opening the rules form
        private void btnRules_Click(object sender, EventArgs e)
        {
            Rules ruleForm = new Rules();

            ruleForm.ShowDialog();
        }
Exemplo n.º 2
0
        private void Rules_Click(object sender, RoutedEventArgs e)
        {
            var win2 = new Rules();

            win2.Show();
        }