Android_UEFIInstaller.AndroidMaterial.InstallationTask_DoWork C# (CSharp) Метод

InstallationTask_DoWork() приватный Метод

private InstallationTask_DoWork ( object sender, DoWorkEventArgs e ) : void
sender object
e System.ComponentModel.DoWorkEventArgs
Результат void
        void InstallationTask_DoWork(object sender, DoWorkEventArgs e)
        {
            String[] InstallInfo = (String[])e.Argument;
            String Path = InstallInfo[0];
            String Drive = InstallInfo[1];
            String Size = InstallInfo[2];

            UEFIInstaller u = new UEFIInstaller();

            //if (!u.Install(Environment.CurrentDirectory + @"\android-x86-4.4-r2.img", "E", "1000"))
            if (!u.Install(Path, Drive, Size))
                MessageBox.Show("Install Failed" + Environment.NewLine + "Please check log at C:\\AndroidInstall_XXX.log");
            else
                MessageBox.Show("Install Done");

            MessageBox.Show("Kindly report back the installation status to the developer");
        }