diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index dfc52af..bf4ff23 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -62,7 +62,6 @@ namespace formula_manage string TEXT_SQLPASWOR; string Connstr_SC; int ID_N = 1; - string DYELOT_; string Tlist_Weight; string Tlist_Proportion; diff --git a/Windows/Print.xaml.cs b/Windows/Print.xaml.cs index 6bb2f84..738574e 100644 --- a/Windows/Print.xaml.cs +++ b/Windows/Print.xaml.cs @@ -52,8 +52,7 @@ namespace formula_manage.Windows bool Printer; bool Printer2; bool Printer3; - bool Printer4; - bool Printer5; + string Temp_M, Temp_S; private void Window_Print(object sender, RoutedEventArgs e) diff --git a/Windows/RECIPE.xaml.cs b/Windows/RECIPE.xaml.cs index 431d9da..775139f 100644 --- a/Windows/RECIPE.xaml.cs +++ b/Windows/RECIPE.xaml.cs @@ -160,7 +160,7 @@ namespace formula_manage.Windows e.Handled = !re.IsMatch(e.Text); } - private async void Button_Preservation(object sender, RoutedEventArgs e)//保存按钮事件 + private void Button_Preservation(object sender, RoutedEventArgs e)//保存按钮事件 { Regex re_number = new Regex(@"^[0-9]+(.[0-9]{1,2})?$");//校验用正则表达式有1~2位小数的正实数 Regex re_char = new Regex(@"^[A-Za-z0-9\s@()()/+!!_-]+$");//校验用正则表达式由数字,26个英文字母,空白字符和@()()/+!!_-组成的字符串 diff --git a/Windows/client.xaml.cs b/Windows/client.xaml.cs index 220420f..cf6ac20 100644 --- a/Windows/client.xaml.cs +++ b/Windows/client.xaml.cs @@ -32,7 +32,6 @@ namespace formula_manage.Windows DataTable dataTable = new DataTable(); //建立缓存 - int Button_ID = 0; string TEXT_SQLIP; string TEXT_SQLNAME; string TEXT_SQMOD; diff --git a/Windows/color.xaml.cs b/Windows/color.xaml.cs index 1d3696d..fc7b20e 100644 --- a/Windows/color.xaml.cs +++ b/Windows/color.xaml.cs @@ -31,8 +31,7 @@ namespace formula_manage.Windows public string INIPath = Convert.ToString(System.AppDomain.CurrentDomain.BaseDirectory) + "formula.ini"; //配置文件路径 DataTable dataTable = new DataTable(); //建立缓存 - - int Button_ID = 0; + string TEXT_SQLIP; string TEXT_SQLNAME; string TEXT_SQMOD;