/// <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();
            }
        }
Пример #2
0
 private void btnNgBatteryOutFromPack_Click(object sender, RoutedEventArgs e)
 {
     ShowWindows.NgBatteryOutFromPack();
 }
Пример #3
0
        private void Label_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            var label = sender as Label;

            ShowWindows.ShowTrayBatteryWin(Convert.ToInt32(label.Tag));
        }
Пример #4
0
 private void Label_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     ShowWindows.ShowTrayBatteryWin(this.Storage.ProcTrayId);
 }
Пример #5
0
    //private string hehe;


    void Awake()
    {
        Find();

        ShowWindows.CreateWindows();
    }