diff --git a/MainWindow.xaml b/MainWindow.xaml index 91d2646..cc39a87 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -60,7 +60,7 @@ - + - + @@ -171,7 +171,6 @@ - diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index 8ecd433..62c4d58 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -12,6 +12,7 @@ using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; +using System.Windows.Controls.Primitives; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Forms; @@ -94,6 +95,7 @@ namespace formula_manage row["ID"] = ID_N; row["STEP"] = Procedures_P.Text; RRODUCTdataTable.Rows.Add(row); + for (ID_N = 2; ID_N <= 64; ID_N++) { row = RRODUCTdataTable.NewRow(); @@ -101,9 +103,8 @@ namespace formula_manage row["STEP"] = Procedures_P.Text; RRODUCTdataTable.Rows.Add(row); } - // DetailedGrid.DataContext = dataTable; + Grid_RRODUCT.ItemsSource = RRODUCTdataTable.DefaultView; - } private async void sql_()