示例#1
0
        private void RecordsButton_Click(object sender, RoutedEventArgs e)
        {
            RecordsWindow recordsWindow = new RecordsWindow();

            recordsWindow.Owner = this;
            recordsWindow.ShowDialog();
        }
示例#2
0
 public MainWindow()
 {
     InitializeComponent();
     RecordsWindow.GetRecord();
 }
示例#3
0
 private void button_Click(object sender, RoutedEventArgs e)
 {
     RecordsWindow.AddRecord(NameTB.Text, Lines, Score);
     Close();
 }