private void ServiceDiffForm_FormClosed(object sender, FormClosedEventArgs e) { this.file1 = this.textBoxFile1.Text; this.file2 = this.textBoxFile2.Text; if ((string)this.comboBoxNetworkType.SelectedItem == "DVB-S") { this.networktype = Form1.NetworkType.DVBS; } else if ((string)this.comboBoxNetworkType.SelectedItem == "DVB-T") { this.networktype = Form1.NetworkType.DVBT; } else if ((string)this.comboBoxNetworkType.SelectedItem == "DVB-C") { this.networktype = Form1.NetworkType.DVBC; } }
private void ServiceDiffForm_FormClosed(object sender, FormClosedEventArgs e) { this.file1 = this.textBoxFile1.Text; this.file2 = this.textBoxFile2.Text; if((string)this.comboBoxNetworkType.SelectedItem=="DVB-S") { this.networktype = Form1.NetworkType.DVBS; } else if ((string)this.comboBoxNetworkType.SelectedItem == "DVB-T") { this.networktype = Form1.NetworkType.DVBT; } else if ((string)this.comboBoxNetworkType.SelectedItem == "DVB-C") { this.networktype = Form1.NetworkType.DVBC; } }