private void Image_MouseUp(object sender, MouseButtonEventArgs e) { OpenFileDialog dlg = new OpenFileDialog(); dlg.DefaultExt = ".img"; dlg.Filter = "Android System Image |*.iso;*.img"; if (dlg.ShowDialog() == true) { txtISOPath.Text = dlg.FileName; cmdInstall.IsEnabled = true; } }