private void Button_Click(object sender, RoutedEventArgs e)
{
UEFIInstaller u = new UEFIInstaller();
DisableUI();
//if (!u.Install(Environment.CurrentDirectory + @"\android-x86-4.4-r2.img", "E", "1000"))
if (!u.Install(txtISOPath.Text,cboDrives.Text.Substring(0,1), cboSize.Text))
MessageBox.Show("Install Failed");
else
MessageBox.Show("Install Done");
EnableUI();
}