public ReportPrintControl()
 {
     InitializeComponent();
     NotificationToAlarm = new GenericInteractionRequest<AlarmInfo>();
    // DataContext = new ReportPrintViewModel(this);
     DataContext = new PrintTest(this,gvTest);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 //public PrintCommand(ReportPrintViewModel viewModel)
 //{
 //    m_ViewModel = viewModel;
 //}
 public PrintCommand(PrintTest viewModel)
 {
     m_ViewModel = viewModel;
 }