Example #1
0
        private void NewMassTagOpenButton_Click(object sender, RoutedEventArgs e)
        {
            var addDataWindow = new AddDataWindow(null)
            {
                Owner = Application.Current.MainWindow
            };

            addDataWindow.ShowDialog();
        }
Example #2
0
        private void AddAnalysisJobItemsButton_Click(object sender, RoutedEventArgs e)
        {
            var addDataJobWindow = new AddDataWindow(WorkspaceViewModel)
            {
                Owner = Application.Current.MainWindow
            };

            addDataJobWindow.ShowDialog();

            AnalysisJobDataGrid.SelectedIndex = -1;
        }
Example #3
0
        //添加数据
        private void btnAddData_Click(object sender, RoutedEventArgs e)
        {
            AddDataWindow adddataWindow = new AddDataWindow();

            adddataWindow.StandInfo = standManager.SelectedItem;
            adddataWindow.Owner     = Application.Current.MainWindow;
            bool?result = adddataWindow.ShowDialog();

            if (result == true)
            {
                ReferenshList();
            }
        }