public void BuildRouted(SimuViewChartModel svcmodel) { svcmodel.SDModelSetup += OnSDModelSetup; svcmodel.SDModelClose += OnSDModelClose; svcmodel.SDModelLock += OnSDModelLock; svcmodel.SDModelView += OnSDModelView; svcmodel.SDModelUnlock += OnSDModelUnlock; svcmodel.SDModelUnview += OnSDModelUnview; truler = svcmodel.TRuler; truler.StartLineChanged += OnStartLineChanged; truler.EndLineChanged += OnEndLineChanged; }
public SimulateDataChartModel(SimulateDataModel _sdmodel, TimeRuler _truler) { InitializeComponent(); truler = _truler; Setup(_sdmodel); }