コード例 #1
0
 private void AddCompanyProc()
 {
     NewCompany              = new NewCompanyModel();
     _AddCompanyWindow       = new AddCompanyWindow();
     _AddCompanyWindow.Owner = Application.Current.MainWindow;
     _AddCompanyWindow.ShowDialog();
 }
コード例 #2
0
        private void AddCompany_Click(object sender, RoutedEventArgs e)
        {
            AddCompanyWindow addCompanyWindow = new AddCompanyWindow(vm);

            addCompanyWindow.ShowDialog();
        }