public PrintControlViewModel(PrintControlView view, IUnityContainer unityContainer)
     : base(view, unityContainer)
 {
     ResizeCommand = new DelegateCommand<object>(ExecuteResize);
     ApplyScaleCommand = new DelegateCommand<object>(ExecuteApplyScale);
     CancelScaleCommand = new DelegateCommand<object>(ExecuteCancelScale);
     PrintControlView.ResizeButtonVisibility(true);
     PrintControlView.SetPageNumberVisibility(Visibility.Visible);
 }
 public DataTablePrintControlViewModel(PrintControlView view)
     : base(view)
 {
 }
        public FlowDocumentPrintControlViewModel(PrintControlView view)
            : base(view)
        {

        }
 protected APrintControlViewModel(PrintControlView view, IUnityContainer unityContainer)
     : base(view)
 {
     PrintControlView = view;
     PrintControlView.Loaded += PrintControlViewLoaded;
     _oldPrintingOptions = new PrintingOptions();
     _newPrintingOptions = new PrintingOptions();
     UnityContainer = unityContainer;
     WaitScreen = UnityContainer.Resolve<IWaitScreenViewModel>();
     PrintUtility = unityContainer.Resolve<PrintUtility>();
     CancelPrintCommand = new DelegateCommand<object>(ExecuteCancelPrint);
     PrintDocumentCommand = new DelegateCommand<object>(ExecutePrint);
     PageOrientationCommand = new DelegateCommand<object>(ExecutePageOrientation);
     SetPrintingOptionsCommand = new DelegateCommand<object>(ExecuteSetPrintingOptions);
     CancelPrintingOptionsCommand = new DelegateCommand<object>( ExecuteCancelPrintingOptions);
     MarkPageNumbersCommand = new DelegateCommand<object>(ExecuteMarkPageNumbers);
     AllPagesCommand = new DelegateCommand<object>(ExecuteAllPages);
     ActualPageSizeCommand = new DelegateCommand<object>(ExecuteActualPageSizeCommand);
     ChangePaperCommand = new DelegateCommand<object>(ExecuteChangePaper);
 }
 public ItemsPrintControlViewModel(PrintControlView view, IUnityContainer unityContainer)
     : base(view, unityContainer)
 {
 }
 public DataTablePrintControlViewModel(PrintControlView view, IUnityContainer unityContainer)
     : base(view, unityContainer)
 {
 }
 public FlowDocumentPrintControlViewModel(PrintControlView view, IUnityContainer unityContainer)
     : base(view, unityContainer)
 {
 }
 public ItemsPrintControlViewModel(PrintControlView view)
     : base(view)
 {
 }
 public GridPrintControlViewModel(PrintControlView view)
     : base(view)
 {
 }
        protected APrintControlViewModel(PrintControlView view)
            : base(view)
        {
            PrintControlView = view;
            PrintControlView.Loaded += PrintControlViewLoaded;
            _oldPrintingOptions = new PrintingOptions();
            _newPrintingOptions = new PrintingOptions();
            WaitScreen = new WaitScreenViewModel(new WaitScreenView());
            PrintUtility = new PrintUtility();
            CancelPrintCommand = new DelegateCommand(ExecuteCancelPrint);
            PrintDocumentCommand = new DelegateCommand(ExecutePrint);
            PageOrientationCommand = new DelegateCommand(ExecutePageOrientation);
            SetPrintingOptionsCommand = new DelegateCommand(ExecuteSetPrintingOptions);
            CancelPrintingOptionsCommand = new DelegateCommand( ExecuteCancelPrintingOptions);
            MarkPageNumbersCommand = new DelegateCommand(ExecuteMarkPageNumbers);
            AllPagesCommand = new DelegateCommand(ExecuteAllPages);
            ActualPageSizeCommand = new DelegateCommand(ExecuteActualPageSizeCommand);
            ChangePaperCommand = new DelegateCommand(ExecuteChangePaper);

        }