using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; using System.Windows.Threading; namespace formula_manage { /// /// MainWindow.xaml 的交互逻辑 /// public partial class MainWindow : Window { public MainWindow() { WindowStartupLocation = WindowStartupLocation.CenterScreen; InitializeComponent(); } private void SQL(object sender, RoutedEventArgs e) { Windows.Sql sql= new Windows.Sql(); sql.ShowDialog();//实例化并置顶打开数据库设置窗口 } private void SOFTWARE_SET(object sender, RoutedEventArgs e) { Windows.APP_set APP_set = new Windows.APP_set(); APP_set.ShowDialog();//实例化并置顶打开设置窗口 } private void HELP(object sender, RoutedEventArgs e) { Help help_page = new Help(); help_page.ShowDialog();//实例化并置顶打开信息窗口 } private void STUFF(object sender, RoutedEventArgs e) { Windows.Stuff stuff = new Windows.Stuff(); stuff.ShowDialog();//实例化并置顶打开设置窗口 } private void print(object sender, RoutedEventArgs e) { } private void confirm(object sender, RoutedEventArgs e) { } private void delete(object sender, RoutedEventArgs e) { } private void save(object sender, RoutedEventArgs e) { } } }