Beispiel #1
0
        private void gbxTest_DragDrop(object sender, DragEventArgs e)
        {
            var t = (string[])e.Data.GetData(DataFormats.FileDrop);
            var a = t[0];

            QEMU.LaunchQemu(a, a.EndsWith(Program.DirCharStr));
        }
Beispiel #2
0
        private void g_GenerationFinished(GenIsoFrm g)
        {
            FileIO.ClrTmp();

            Localization.UpdateThreadCulture();

            if (g.abort)
            {
                return;
            }

            if (
                MessageBox.Show(this, Strings.IsoCreated.Replace(@"\n", "\n"), Strings.IsoCreatedTitle,
                                MessageBoxButtons.YesNo) == DialogResult.Yes)
            {
                if (g.filesystem == "NTFS")
                {
                    Thread.Sleep(1500); // let Windows notice the FS changes
                }
                QEMU.LaunchQemu(g.OutputFilepath, g._usb);
            }
        }