public IS3Doc(MainFrame mainFrame,
               IS3View view, string filePath)
 {
     _mainFrame = mainFrame;
     _view      = view;
     _filePath  = filePath;
 }
Exemple #2
0
        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;
            };
        }
Exemple #3
0
        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;
                }
            };
        }
Exemple #4
0
 public IS3Doc(MainFrame mainFrame,
     IS3View view, string filePath)
 {
     _mainFrame = mainFrame;
     _view = view;
     _filePath = filePath;
 }