private void timer1_Tick(object sender, EventArgs e)
 {
     FormGPS.DirectoryCopy(Settings.Default.setF_local, Settings.Default.setF_synchro, true);
     FormGPS.DirectoryCopy(Settings.Default.setF_synchro, Settings.Default.setF_local, true);
     this.Close();
 }
Esempio n. 2
0
 //constructor
 public CContour(FormGPS _f)
 {
     mf = _f;
 }
Esempio n. 3
0
 public CGuidance(FormGPS _f)
 {
     //constructor
     mf = _f;
 }
Esempio n. 4
0
 public FormDisplaySettings(Form callingForm)
 {
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Esempio n. 5
0
 //constructor
 public CRecordedPath(OpenGL _gl, FormGPS _f)
 {
     gl = _gl;
     mf = _f;
 }
Esempio n. 6
0
 public CNMEA(FormGPS f)
 {
     //constructor, grab the main form reference
     mf = f;
 }
Esempio n. 7
0
 public FormGPSData(Form callingForm)
 {
     mainForm = callingForm as FormGPS;
     InitializeComponent();
 }
Esempio n. 8
0
 public CABLine(OpenGL _gl, FormGPS _f)
 {
     //constructor
     gl = _gl;
     mf = _f;
 }
Esempio n. 9
0
        public FormTreePlant(Form callingForm)
        {
            mf = callingForm as FormGPS;

            InitializeComponent();
        }
Esempio n. 10
0
 public CABLine(FormGPS _f)
 {
     //constructor
     mf           = _f;
     isOnTramLine = true;
 }
Esempio n. 11
0
 public CFont(FormGPS _f)
 {
     //constructor
     mf       = _f;
     isFontOn = true;
 }
Esempio n. 12
0
 //constructor
 public CContour(OpenGL gl, FormGPS f)
 {            
     this.mf = f;
     this.gl = gl;
 }
Esempio n. 13
0
 //constructor
 public CAutoSteer(FormGPS _f)
 {
     mf = _f;
     isInFreeDriveMode = false;
 }
Esempio n. 14
0
 public CWaypoint(OpenGL _gl, FormGPS _f)
 {
     //constructor
     gl = _gl;
     mf = _f;
 }
Esempio n. 15
0
 public FormHeadland(Form callingForm)
 {
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Esempio n. 16
0
 public FormModules(Form callingForm)
 {
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Esempio n. 17
0
        //strings for comboboxes past auto and manual choices
        //pos0 is "-" no matter what

        public FormYouTurn(Form callingForm)
        {
            mf = callingForm as FormGPS;
            InitializeComponent();
        }
Esempio n. 18
0
 public FormSteerGraph(Form callingForm)
 {
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Esempio n. 19
0
 public CWorldGrid(FormGPS _f)
 {
     mf = _f;
 }
Esempio n. 20
0
 public Form_Help(Form callingForm)
 {
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Esempio n. 21
0
 //constructor
 public CGeoFence(FormGPS _f)
 {
     mf = _f;
 }
Esempio n. 22
0
 public CABCurve(FormGPS _f)
 {
     //constructor
     mf = _f;
 }
Esempio n. 23
0
 public FormUDP(Form callingForm)
 {
     //get copy of the calling main form
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Esempio n. 24
0
 //constructor
 public FormBoundaryPlayer(Form callingForm)
 {
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Esempio n. 25
0
 public FormWizardSteer(Form callingForm)
 {
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Esempio n. 26
0
 public CNMEA(FormGPS f)
 {
     //constructor, grab the main form reference
     mf      = f;
     fixFrom = Properties.Settings.Default.setGPS_fixFromWhichSentence;
 }
Esempio n. 27
0
 public FormABCurve(Form _mf)
 {
     mf = _mf as FormGPS;
     InitializeComponent();
 }
Esempio n. 28
0
        //constructor
        public CSequence(FormGPS _f)
        {
            mf = _f;

            //Fill in the strings for comboboxes - editable
            string line = Properties.Vehicle.Default.seq_FunctionList;

            string[] words = line.Split(',');

            pos3 = words[0];
            pos4 = words[1];
            pos5 = words[2];
            pos6 = words[3];
            pos7 = words[4];
            pos8 = words[5];

            string sentence;

            seqEnter = new SeqEvent[FormGPS.MAXFUNCTIONS];
            for (int i = 0; i < FormGPS.MAXFUNCTIONS; i++)
            {
                seqEnter[i].function = 0;
                seqEnter[i].action   = 0;
                seqEnter[i].isTrig   = true;
                seqEnter[i].distance = 0;
            }

            sentence = Properties.Vehicle.Default.seq_FunctionEnter;
            words    = sentence.Split(',');
            for (int i = 0; i < FormGPS.MAXFUNCTIONS; i++)
            {
                int.TryParse(words[i], out seqEnter[i].function);
            }

            sentence = Properties.Vehicle.Default.seq_ActionEnter;
            words    = sentence.Split(',');
            for (int i = 0; i < FormGPS.MAXFUNCTIONS; i++)
            {
                int.TryParse(words[i], out seqEnter[i].action);
            }

            sentence = Properties.Vehicle.Default.seq_DistanceEnter;
            words    = sentence.Split(',');
            for (int i = 0; i < FormGPS.MAXFUNCTIONS; i++)
            {
                double.TryParse(words[i], NumberStyles.Float, CultureInfo.InvariantCulture, out seqEnter[i].distance);
            }

            seqExit = new SeqEvent[FormGPS.MAXFUNCTIONS];
            for (int i = 0; i < FormGPS.MAXFUNCTIONS; i++)
            {
                seqExit[i].function = 0;
                seqExit[i].action   = 0;
                seqExit[i].isTrig   = true;
                seqExit[i].distance = 0;
            }

            sentence = Properties.Vehicle.Default.seq_FunctionExit;
            words    = sentence.Split(',');
            for (int i = 0; i < FormGPS.MAXFUNCTIONS; i++)
            {
                int.TryParse(words[i], out seqExit[i].function);
            }

            sentence = Properties.Vehicle.Default.seq_ActionExit;
            words    = sentence.Split(',');
            for (int i = 0; i < FormGPS.MAXFUNCTIONS; i++)
            {
                int.TryParse(words[i], out seqExit[i].action);
            }

            sentence = Properties.Vehicle.Default.seq_DistanceExit;
            words    = sentence.Split(',');
            for (int i = 0; i < FormGPS.MAXFUNCTIONS; i++)
            {
                double.TryParse(words[i], NumberStyles.Float, CultureInfo.InvariantCulture, out seqExit[i].distance);
            }
        }
Esempio n. 29
0
 public CSim(FormGPS _f)
 {
     mf        = _f;
     latitude  = Properties.Settings.Default.setGPS_SimLatitude;
     longitude = Properties.Settings.Default.setGPS_SimLongitude;
 }
 public FormSynchro(FormGPS formGPS)
 {
     InitializeComponent();
 }