//constructor public FormCommSetGPS(Form callingForm) { //get copy of the calling main form mf = callingForm as FormLoop; InitializeComponent(); //btnOpenSerial.Text = gStr.gsConnect; //btnOpenSerialArduino.Text = gStr.gsConnect; //btnOpenSerialAutoSteer.Text = gStr.gsConnect; //btnCloseSerial.Text = gStr.gsDisconnect; //btnCloseSerialArduino.Text = gStr.gsDisconnect; //btnCloseSerialAutoSteer.Text = gStr.gsDisconnect; //btnRescan.Text = gStr.gsRescanPorts; //label3.Text = gStr.gsToAutoSteer; //label6.Text = gStr.gsFromAutoSteer; //label2.Text = gStr.gsToMachinePort; //label15.Text = gStr.gsFromMachinePort; //groupBox1.Text = gStr.gsGPSPort; //groupBox3.Text = gStr.gsAutoSteerPort; //groupBox2.Text = gStr.gsMachinePort; //lblCurrentArduinoPort.Text = gStr.gsPort; //lblCurrentPort.Text = gStr.gsPort; //lblCurrentAutoSteerPort.Text = gStr.gsPort; //lblCurrentBaud.Text = gStr.gsBaud; }
public FormRadio(Form callingForm) { mf = callingForm as FormLoop; InitializeComponent(); // Set the icon, it is not shown on top. But it is in the taskbar Icon = mf.Icon; _listViewColumnSorter = new ListViewColumnSorterExt(lvChannels); _currentLat = mf.latitude; _currentLon = mf.longitude; // Load radio channels _channels = Properties.Settings.Default.setRadio_Channels; if (_channels == null) { // No channels found, create a new list _channels = new List <CRadioChannel>(); } foreach (var channel in _channels) { AddChannelToListView(channel); } }
public FormNtrip(Form callingForm) { mf = callingForm as FormLoop; InitializeComponent(); //this.groupBox2.Text = gStr.gsNetworking; //this.cboxIsNTRIPOn.Text = gStr.gsNTRIPOn; //this.label6.Text = gStr.gsPort; //this.label4.Text = gStr.gsEnterBroadcasterURLOrIP; //this.label7.Text = gStr.gsToUDPPort; //this.label3.Text = gStr.gsUsername; //this.label12.Text = gStr.gsPassword; //this.label13.Text = gStr.gsMount; //this.label15.Text = gStr.gsGGAIntervalSecs; //this.btnGetIP.Text = gStr.gsConfirmIP; //this.label9.Text = gStr.gsCurrentGPSFix; //this.label17.Text = gStr.gsSendToManualFix; //this.btnSetManualPosition.Text = gStr.gsSendToManualFix; //this.label18.Text = gStr.gsSetToZeroForSerial; //this.btnGetSourceTable.Text = gStr.gsGetSourceTable; //this.label1.Text = gStr.gsRestartRequired; //this.label19.Text = gStr.gsZeroEqualsOff; //this.Text = gStr.gsNTRIPClientSettings; //turn off the little arrows nudCasterPort.Controls[0].Enabled = false; nudGGAInterval.Controls[0].Enabled = false; nudLatitude.Controls[0].Enabled = false; nudLongitude.Controls[0].Enabled = false; nudSendToUDPPort.Controls[0].Enabled = false; }
public FormRadioChannel(FormLoop mainForm) { mf = mainForm; InitializeComponent(); // Set the icon, it is not shown on top. But it is in the taskbar Icon = mf.Icon; }
public FormUDP(Form callingForm) { //get copy of the calling main form mf = callingForm as FormLoop; InitializeComponent(); nudFirstIP.Controls[0].Enabled = false; nudSecondIP.Controls[0].Enabled = false; nudThirdIP.Controls[0].Enabled = false; }
public FormCommPicker(Form callingForm) { //get copy of the calling main form mf = callingForm as FormLoop; InitializeComponent(); //this.bntOK.Text = gStr.gsForNow; //this.btnSave.Text = gStr.gsToFile; //this.Text = gStr.gsLoadComm; }
public FormUDP(Form callingForm) { //get copy of the calling main form mf = callingForm as FormLoop; InitializeComponent(); //groupBox4.Text = gStr.gsDriveServer; //label11.Text = gStr.gsAllmodulessendto; //tboxHostName.Text = gStr.gsHostName; //label14.Text = gStr.gsHost; //label1.Text = gStr.gsThisComputer; //label9.Text = gStr.gsPort; //label7.Text = gStr.gsYoumustRESTARTDrive + "\r\n"; //btnSerialOK.Text = gStr.gsSave; //label4.Text = gStr.gsModulePort; //label6.Text = gStr.gsPort; //groupBox1.Text = gStr.gsModuleAdressandPorts; //label8.Text = gStr.gsAllmodulesuse; //cboxIsUDPOn.Text = gStr.gsUDPOn; //groupBox2.Text = gStr.gsNetworking; //this.Text = gStr.gsEthernetConfiguration; }
public FormGPSData(Form callingForm) { mf = callingForm as FormLoop; InitializeComponent(); }
//constructor public FormCommSetGPS(Form callingForm) { //get copy of the calling main form mf = callingForm as FormLoop; InitializeComponent(); }