public Form_Keep_Output_File_Settings(BatCreator BC_in) { InitializeComponent(); BC = BC_in; CheckBox_Keep_Audio.Checked = BC.Keep_Audio; CheckBox_Keep_Video.Checked = BC.Keep_Video; }
int click, option; // option = 1 -> 1pass ; 2 -> 2pass #endregion Fields #region Constructors public Form_Input_User_Defined_Parameters(BatCreator BC_in , int option_in) { InitializeComponent(); option = option_in; BC = BC_in; click = 0; if (option == 1) TextBox_Parameters.Text = BC.Parameters[0].ToString(); }
public Form_Get_Resolution(BatCreator BC_in) { Clicked_Times = 0; InitializeComponent(); BC = BC_in; Res_X = Res_Y = 0; Combobox_Resolutions.Items.Add("1920x1080"); Combobox_Resolutions.Items.Add("1280x720"); Combobox_Resolutions.Items.Add("848x480"); Combobox_Resolutions.Items.Add("自定義"); TextBox_User_Define_Resolution_X.Enabled = false; TextBox_User_Define_Resolution_Y.Enabled = false; Combobox_Resolutions.SelectedIndex = 0; }