diff --git a/MaterialTraceabilityUI/UserLogin.xaml b/MaterialTraceabilityUI/UserLogin.xaml index 928a97b..5e66e3a 100644 --- a/MaterialTraceabilityUI/UserLogin.xaml +++ b/MaterialTraceabilityUI/UserLogin.xaml @@ -47,8 +47,12 @@ diff --git a/MaterialTraceabilityUI/UserLogin.xaml.cs b/MaterialTraceabilityUI/UserLogin.xaml.cs index 25f492d..3c03f64 100644 --- a/MaterialTraceabilityUI/UserLogin.xaml.cs +++ b/MaterialTraceabilityUI/UserLogin.xaml.cs @@ -98,6 +98,21 @@ namespace MaterialTraceabilityUI } }); } + + /// + /// 禁止粘贴 + /// + /// + /// + private void CommandBinding_CanExecute(object sender, CanExecuteRoutedEventArgs e) + { + e.Handled = true; + } + + private void CommandBinding_Executed(object sender, ExecutedRoutedEventArgs e) + { + + } //--------------------------------------------- //private void password_KeyDown(object sender, KeyEventArgs e) //{