Exemple #1
0
        public void OkClick(object sender, RoutedEventArgs e)
        {
            Evaluation();
            MainWindow mainwindow = new MainWindow();

            mainwindow.StartClick(sender, e);

            if (mainwindow.Result)
            {
                this.Close();
                mainwindow.Show();
            }
            else
            {
                MessageBox.Show("数据库配置错误!");
            }
        }