public IS3Doc(MainFrame mainFrame, IS3View view, string filePath) { _mainFrame = mainFrame; _view = view; _filePath = filePath; }
public ProfileView(MainFrame mainFrame, Project prj, EngineeringMap eMap) { InitializeComponent(); _mainFrame = mainFrame; _view = new IS3ProfileView(this, MyMapView); _view.prj = prj; _view.eMap = eMap; MyProgressBar.DataContext = _view; GotFocus += ProfileView_GotFocus; MyDrawToolControl.drawToolClickEventHandler += _view.drawToolsClickEventListener; MyDrawToolControl.drawToolClickEventHandler += (o, e) => { if (e.stopDraw) DrawStrip.Visibility = Visibility.Collapsed; }; }
public ProfileView(MainFrame mainFrame, Project prj, EngineeringMap eMap) { InitializeComponent(); _mainFrame = mainFrame; _view = new IS3ProfileView(this, MyMapView); _view.prj = prj; _view.eMap = eMap; MyProgressBar.DataContext = _view; GotFocus += ProfileView_GotFocus; MyDrawToolControl.drawToolClickEventHandler += _view.drawToolsClickEventListener; MyDrawToolControl.drawToolClickEventHandler += (o, e) => { if (e.stopDraw) { DrawStrip.Visibility = Visibility.Collapsed; } }; }