private void Start_File() { System.Reflection.AssemblyTitleAttribute asmttl = (System.Reflection.AssemblyTitleAttribute) Attribute.GetCustomAttribute( System.Reflection.Assembly.GetExecutingAssembly(), typeof(System.Reflection.AssemblyTitleAttribute)); Text = string.Format("Name:{0}/Ver:{1}", asmttl.Title, _md5()); _live = new __live(this); _theme = new __Theme(this); ffmpeg_get(); x264_get(); CPUThread(); DriverSet(); _theme.getFileName(); buildButton.Text = "Build Start"; _sqlite = new __SQLite(this); _sqlite.Get_Dir_Data(); _sqlite.Get_Data(); }
public __msys(__Form1 _f1) { f1 = _f1; //TabPageManagerオブジェクトの作成 _tabPageManager = new __TabPageManager(f1.TabControl1); MinGW_Start = new BackgroundWorker(); MinGW_Start.WorkerReportsProgress = true; MinGW_Start.WorkerSupportsCancellation = true; MinGW_Start.DoWork += new DoWorkEventHandler(MinGW_Start_DoWork); MinGW_Start.ProgressChanged += new ProgressChangedEventHandler(Mingw_Start_ProgrssChangd); MinGW_Start.RunWorkerCompleted += new RunWorkerCompletedEventHandler(MinGW_Start_RunWorkerCompleted); if (f1.x86.Checked) { bit = 0; } else if (f1.x64.Checked) { bit = 1; } if (f1.FF_HAED.Checked) { ffmpeg = 0; } else if (f1.modified.Checked) { ffmpeg = 1; } else if (f1.FFplay.Checked) { ffmpeg = 2; } WorkDir = string.Format(@"{0}honoka", f1.DriverBox.Text.ToString()); Set_Name(); MoveDir = string.Format(@"{0}\bin", f1.MoveBOX.Text.ToString()); _live = new __live(f1); if (!MinGW_Start.IsBusy) { _tabPageManager.ChangeTabPageVisible(0, false); MinGW_Start.RunWorkerAsync(); } }