Merge branch 'master' of http://192.168.0.12:13000/sc/formula_manage
This commit is contained in:
commit
d072c0bc4d
2 files changed
+8
-2
No files matched your search
+1
-1
@@ -149,7 +149,7 @@
|
||||
<DataGridTemplateColumn Header="目标饱和度(%)" Width="200" MaxWidth="400" MinWidth="100">
|
||||
<DataGridTemplateColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBox x:Name="CP_CONC" BorderThickness="0,0,0,0" Text="{Binding CONC}" BorderBrush="{x:Null}" Background="{x:Null}" KeyUp="CP_CONC_KeyUp"/>
|
||||
<TextBox x:Name="CP_CONC" BorderThickness="0,0,0,0" Text="{Binding CONC}" BorderBrush="{x:Null}" Background="{x:Null}" KeyDown="CP_CONC_KeyUp"/>
|
||||
</DataTemplate>
|
||||
</DataGridTemplateColumn.CellTemplate>
|
||||
</DataGridTemplateColumn>
|
||||
|
||||
+7
-1
@@ -276,7 +276,13 @@ namespace formula_manage
|
||||
|
||||
private void CP_CONC_KeyUp(object sender, System.Windows.Input.KeyEventArgs e)
|
||||
{
|
||||
|
||||
if (e.Key == Key.Enter)
|
||||
{
|
||||
UserClass.PressKey.PressKeys(Keys.Left, false);
|
||||
UserClass.PressKey.PressKeys(Keys.Left, true);
|
||||
UserClass.PressKey.PressKeys(Keys.Tab, false);
|
||||
UserClass.PressKey.PressKeys(Keys.Tab, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user