public TubeInfoItem() { InitializeComponent(); mController = new TubeInfoItemController(this); mPgbProcessModel = new ProgressDlgModel(); mPgbProcessModel.MaxValue = 100; pgbProcess.DataContext = mPgbProcessModel; }
public TubeMonitorPage() { InitializeComponent(); mTubeMonitorPageModel = new TubeMonitorViewModel(); mTubePageStyle = new TubePageStyle(); mPgbProcessModel = new ProgressDlgModel(); mPgbProcessModel.MaxValue = 100; pgbProcess.DataContext = mPgbProcessModel; mController = new MonitorController(this); StartUpdateUIServer(); }
public ProgressDlg() { InitializeComponent(); ProgressModel = new ProgressDlgModel(); this.DataContext = ProgressModel; }