RecipeView.xaml.cs 592 B

1234567891011121314151617181920212223242526
  1. using System.Windows.Controls;
  2. using Venus_MainPages.ViewModels;
  3. namespace Venus_MainPages.Views
  4. {
  5. /// <summary>
  6. /// RecipeView.xaml 的交互逻辑
  7. /// </summary>
  8. public partial class RecipeView : UserControl
  9. {
  10. public RecipeView()
  11. {
  12. InitializeComponent();
  13. }
  14. public void Init(string systemName)
  15. {
  16. (this.DataContext as RecipeViewModel).ModuleName = systemName;
  17. }
  18. //private void Border_MouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
  19. //{
  20. //}
  21. }
  22. }