示例#1
0
        private void AddData_Click(object sender, RoutedEventArgs e)
        {
            ChangeDataWindow changeDataWindow = new ChangeDataWindow();

            changeDataWindow.Closed += ChangeData_Closed;
            changeDataWindow.Show();
        }
示例#2
0
        private void ChangeData_Click(object sender, RoutedEventArgs e)
        {
            ChangeDataWindow changeDataWindow = new ChangeDataWindow();

            changeDataWindow.RenderCity(selectedCity);
            changeDataWindow.Closed += ChangeData_Closed;
            changeDataWindow.Show();
        }