예제 #1
0
 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";
     }
 }
예제 #2
0
        private void sizeSelection_SelectedIndexChanged(object sender, EventArgs e)
        {
            int sizeMBs = calc.getOutputSizeKBs(sizeSelection.SelectedIndex) / 1024;

            this.muxedSizeMBs.Text = sizeMBs.ToString();
        }