private void filesizeComboBox_SelectedIndexChanged(object sender, EventArgs e) { this.filesizeKB.ReadOnly = true; filesizeKB.Text = calc.getOutputSizeKBs(filesizeComboBox.SelectedIndex).ToString(); if (filesizeComboBox.SelectedIndex == 10) // Custom { this.filesizeKB.ReadOnly = false; } if (filesizeComboBox.SelectedIndex == 11) // Don't care { this.filesizeKB.Text = "-1"; } }
private void sizeSelection_SelectedIndexChanged(object sender, EventArgs e) { int sizeMBs = calc.getOutputSizeKBs(sizeSelection.SelectedIndex) / 1024; this.muxedSizeMBs.Text = sizeMBs.ToString(); }