Exemple #1
0
        private void Button1_Click(object sender, EventArgs e)
        {
            Process PreProcess = new Process();

            PreProcess = null;
            PreProcess = new Process();
            PreProcess.StartInfo.Arguments = "sdcard\\Huawei\\Backup\\backupFiles " + Program.m_mainform.g_workPath + "\\mm.db";
            Console.WriteLine(PreProcess.StartInfo.Arguments);
            PreProcess.StartInfo.FileName    = Application.StartupPath + "\\getAllFilesName.exe";
            PreProcess.StartInfo.Verb        = "runas";
            PreProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
            PreProcess.Start();
            PreProcess.WaitForExit();
            FormGjglBf form = new FormGjglBf();

            form.ShowDialog();
        }
Exemple #2
0
        private void Button1_Click(object sender, EventArgs e)
        {
            FormGjglBf form = new FormGjglBf();

            form.ShowDialog();
        }