Example #1
0
 public Test(Controller _core, IGEPlugin _ge, TextFileEditor txt)
 {
     core    = _core;
     t_pool  = core.getTrips();
     record  = core.getRecord();
     ge      = _ge;
     txtedit = txt;
 }
Example #2
0
 public Test(Controller _core, IGEPlugin _ge, TextFileEditor txt)
 {
     core = _core;
     t_pool = core.getTrips();
     record = core.getRecord();
     ge = _ge;
     txtedit = txt;
 }
Example #3
0
        public Form1()
        {
            InitializeComponent();
            //These are all the Mouse Event Handlers to change Button colors
            txtEditor = new TextFileEditor();
            POIData = new extractPOIData();
            btLoad.MouseEnter += new EventHandler(btLoad_MouseEnter);
            btLoad.MouseLeave += new EventHandler(btLoad_MouseLeave);
            btKMLBrowse.MouseEnter += new EventHandler(btKMLBrowse_MouseEnter);
            btKMLBrowse.MouseLeave += new EventHandler(btKMLBrowse_MouseLeave);
            btTXTBrowse.MouseEnter += new EventHandler(btTXTBrowse_MouseEnter);
            btTXTBrowse.MouseLeave += new EventHandler(btTXTBrowse_MouseLeave);
            btDel.MouseEnter += new EventHandler(btDel_MouseEnter);
            btDel.MouseLeave += new EventHandler(btDel_MouseLeave);
            btSpl.MouseEnter += new EventHandler(btSpl_MouseEnter);
            btSpl.MouseLeave += new EventHandler(btSpl_MouseLeave);
            btIns.MouseEnter += new EventHandler(btInsert_MouseEnter);
            btIns.MouseLeave += new EventHandler(btInsert_MouseLeave);
            btJoi.MouseEnter += new EventHandler(btJoi_MouseEnter);
            btJoi.MouseLeave += new EventHandler(btJoi_MouseLeave);
            btClr.MouseEnter += new EventHandler(btClear_MouseEnter);
            btClr.MouseLeave += new EventHandler(btClear_MouseLeave);
            btCrt.MouseEnter += new EventHandler(btCreate_MouseEnter);
            btCrt.MouseLeave += new EventHandler(btCreate_MouseLeave);
            btMkStart.MouseEnter += new EventHandler(btMkStr_MouseEnter);
            btMkStart.MouseLeave += new EventHandler(btMkStr_MouseLeave);
            btMkFinish.MouseEnter += new EventHandler(btMkFin_MouseEnter);
            btMkFinish.MouseLeave += new EventHandler(btMkFin_MouseLeave);
            btUndo.MouseEnter += new EventHandler(btUndo_MouseEnter);
            btUndo.MouseLeave += new EventHandler(btUndo_MouseLeave);
            btCommit.MouseEnter += new EventHandler(btCommit_MouseEnter);
            btCommit.MouseLeave += new EventHandler(btCommit_MouseLeave);
            btColorChange.MouseEnter += new EventHandler(btColorChange_MouseEnter);
            btColorChange.MouseLeave += new EventHandler(btColorChange_MouseLeave);
            btReset.MouseEnter += new EventHandler(btReset_MouseEnter);
            btReset.MouseLeave += new EventHandler(btReset_MouseLeave);
            btHidePanel.MouseEnter += new EventHandler(btHide_MouseEnter);
            btHidePanel.MouseLeave += new EventHandler(btHide_MouseLeave);
            btUnhidePanel.MouseEnter += new EventHandler(btUnhide_MouseEnter);
            btUnhidePanel.MouseLeave += new EventHandler(btUnhide_MouseLeave);
            btPOIBrowse.MouseEnter += new EventHandler(btPOIBrowse_MouseEnter);
            btPOIBrowse.MouseLeave += new EventHandler(btPOIBrowse_MouseLeave);
            btControlPanel.MouseEnter += new EventHandler(btControlPanel_MouseEnter);
            btControlPanel.MouseLeave += new EventHandler(btControlPanel_MouseLeave);
            btControlPanelHide.MouseEnter += new EventHandler(btControlPanelHide_MouseEnter);
            btControlPanelHide.MouseLeave += new EventHandler(btControlPanelHide_MouseLeave);
            btMatch.MouseEnter += new EventHandler(btMatch_MouseEnter);
            btMatch.MouseLeave += new EventHandler(btMatch_MouseLeave);
            btHideTextPoints.MouseEnter += new EventHandler(btHideTextPoints_MouseEnter);
            btHideTextPoints.MouseLeave += new EventHandler(btHideTextPoints_MouseLeave);
            btHideKMLPoints.MouseEnter += new EventHandler(btHideKMLPoints_MouseEnter);
            btHideKMLPoints.MouseLeave += new EventHandler(btHideKMLPoints_MouseLeave);
            btResetTilt.MouseEnter += new EventHandler(btResetTilt_MouseEnter);
            btResetTilt.MouseLeave += new EventHandler(btResetTilt_MouseLeave);
            btTripExpand.MouseEnter += new EventHandler(btTripExpand_MouseEnter);
            btTripExpand.MouseLeave += new EventHandler(btTripExpand_MouseLeave);
            btTripContract.MouseEnter += new EventHandler(btTripContract_MouseEnter);
            btTripContract.MouseLeave += new EventHandler(btTripContract_MouseLeave);
            btRuler.MouseEnter += new EventHandler(btRuler_MouseEnter);
            btRuler.MouseLeave += new EventHandler(btRuler_MouseLeave);

            //other interface variables

            webBrowserSet = false;
            textPointSet = false;
            KMLPointSet = false;
            temp = 0;
            textPointHide = false;
            KMLPointhide = false;
            rulerMode = false;
            lineNumber = 0;
            pointsMeasured = 0;
            rulerDistance = 0;

            //Testing Variables
            pointsPerSeconds = new ArrayList();
        }