Beispiel #1
0
 private void statusBarMenuItem_Click(object sender, EventArgs e)
 {
     if (StatusBarMenuItem.Checked)
     {
         _statusBarService.ShowStatusBar();
     }
     else
     {
         _statusBarService.HideStatusBar();
     }
 }
Beispiel #2
0
        public ViewModelBase(INavigationService navigationService,
                             IBarcodeReaderService barcodeReaderService,
                             IStatusBarService statusBarService)
        {
            NavigationService    = navigationService;
            BarcodeReaderService = barcodeReaderService;
            StatusBarService     = statusBarService;

            StatusBarService.HideStatusBar();

            DisableBarcodeReader();
        }