private void ITalk_Button_24_Click(object sender, EventArgs e)
{
if (Operators.CompareString(txtpath1.Text.Trim(), "", TextCompare: false) == 0)
{
Interaction.MsgBox("Please Select ROM1", MsgBoxStyle.Information, "Attention.!");
return;
}
if (Operators.CompareString(txtpath2.Text.Trim(), "", TextCompare: false) == 0)
{
Interaction.MsgBox("Please Select ROM2", MsgBoxStyle.Information, "Attention.!");
return;
}
if (Operators.CompareString(txtpath3.Text.Trim(), "", TextCompare: false) == 0)
{
Interaction.MsgBox("Please Select ROM3", MsgBoxStyle.Information, "Attention.!");
return;
}
ITalk_ProgressIndicator1.Visible = true;
MyProject.Computer.FileSystem.RenameFile(txtpath1.Text, "EMMC_AUTO_ISP_MR3AMO.BIN");
MyProject.Computer.FileSystem.RenameFile(txtpath2.Text, "EMMC_AUTO_ISP_MR3AMO.BIN.BOOT1");
MyProject.Computer.FileSystem.RenameFile(txtpath3.Text, "EMMC_AUTO_ISP_MR3AMO.BIN.BOOT2");
wait(5);
ITalk_ProgressIndicator1.Visible = false;
Interaction.MsgBox("Done", MsgBoxStyle.Information);
}