/// <summary> /// Descarga catalogo de usuarios. /// </summary> public void Init() { //Sincronizacion if (!SyncViewModel.IsRunning) { System.Windows.Threading.Dispatcher dispatcher = Application.Current.Dispatcher; ShowWindows showWindows = new ShowWindows(); this.DataContext = new SplashViewModel(dispatcher,showWindows); SplashViewModel svm = this.GetViewModel(); svm.start(); } }
private void btnNgBatteryOutFromPack_Click(object sender, RoutedEventArgs e) { ShowWindows.NgBatteryOutFromPack(); }
private void Label_MouseDoubleClick(object sender, MouseButtonEventArgs e) { var label = sender as Label; ShowWindows.ShowTrayBatteryWin(Convert.ToInt32(label.Tag)); }
private void Label_MouseDoubleClick(object sender, MouseButtonEventArgs e) { ShowWindows.ShowTrayBatteryWin(this.Storage.ProcTrayId); }
//private string hehe; void Awake() { Find(); ShowWindows.CreateWindows(); }