示例#1
0
 public LEDPage(IConfig c, IPanelLED pl)
 {
     InitializeComponent();
     DataContext = new LEDViewModel(c, pl);
 }
 private void LEDBtn_click(object sender, RoutedEventArgs e)
 {
     DataContext = new LEDViewModel();
 }