Exemple #1
0
        public ChangeFrameRate()
        {
            UiUtil.PreInitialize(this);
            InitializeComponent();
            UiUtil.FixFonts(this);

            comboBoxFrameRateFrom.Items.Add(23.976);
            comboBoxFrameRateFrom.Items.Add(24.0);
            comboBoxFrameRateFrom.Items.Add(25.0);
            comboBoxFrameRateFrom.Items.Add(29.97);

            comboBoxFrameRateTo.Items.Add(23.976);
            comboBoxFrameRateTo.Items.Add(24.0);
            comboBoxFrameRateTo.Items.Add(25.0);
            comboBoxFrameRateTo.Items.Add(29.97);

            LanguageStructure.ChangeFrameRate language = Configuration.Settings.Language.ChangeFrameRate;
            Text                    = language.Title;
            labelInfo.Text          = language.ConvertFrameRateOfSubtitle;
            labelFromFrameRate.Text = language.FromFrameRate;
            labelToFrameRate.Text   = language.ToFrameRate;
            buttonOK.Text           = Configuration.Settings.Language.General.Ok;
            buttonCancel.Text       = Configuration.Settings.Language.General.Cancel;
            UiUtil.FixLargeFonts(this, buttonOK);
        }
Exemple #2
0
        public ChangeFrameRate()
        {
            InitializeComponent();

            comboBoxFrameRateFrom.Items.Add((23.976).ToString());
            comboBoxFrameRateFrom.Items.Add((24.0).ToString());
            comboBoxFrameRateFrom.Items.Add((25.0).ToString());
            comboBoxFrameRateFrom.Items.Add((29.97).ToString());

            comboBoxFrameRateTo.Items.Add((23.976).ToString());
            comboBoxFrameRateTo.Items.Add((24.0).ToString());
            comboBoxFrameRateTo.Items.Add((25.0).ToString());
            comboBoxFrameRateTo.Items.Add((29.97).ToString());

            LanguageStructure.ChangeFrameRate language = Configuration.Settings.Language.ChangeFrameRate;
            Text                    = language.Title;
            labelInfo.Text          = language.ConvertFrameRateOfSubtitle;
            labelFromFrameRate.Text = language.FromFrameRate;
            labelToFrameRate.Text   = language.ToFrameRate;
            buttonOK.Text           = Configuration.Settings.Language.General.OK;
            buttonCancel.Text       = Configuration.Settings.Language.General.Cancel;
            FixLargeFonts();
        }