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

            QEMUISO.LaunchQemu(a, a.EndsWith("\\"));
        }
コード例 #2
0
        private void g_GenerationFinished(GenIsoFrm g)
        {
            Program.ClrTmp();

            Thread.CurrentThread.CurrentCulture   = new CultureInfo(Settings.Default.Lang);
            Thread.CurrentThread.CurrentUICulture = new CultureInfo(Settings.Default.Lang);
            if (g.filesystem == "NTFS" && g.bloader is Grub4DOS)
            {
                return;
            }
            if (
                MessageBox.Show(this, Strings.IsoCreated.Replace(@"\n", "\n"), Strings.IsoCreatedTitle,
                                MessageBoxButtons.YesNo) == DialogResult.Yes)
            {
                QEMUISO.LaunchQemu(g.OutputFilepath, g._usb);
            }
        }