chuyen ma nhanh

 avatar
user_8607526207
csharp
2 years ago
1.0 kB
0
Indexable
Never
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Threading;

namespace chuyen_ma_nhanh
{
    public partial class Form1 : Form
    {
        Process process = new Process();
        ProcessStartInfo info = new ProcessStartInfo();
        public Form1()
        {
            InitializeComponent();
            info.CreateNoWindow = true;
            info.RedirectStandardOutput = true;
            info.UseShellExecute = false;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            chuyen_ma_nhanh();
        }
        void chuyen_ma_nhanh()
        {
            info.FileName = "csf9.exe";
            process.StartInfo = info;
            process.Start();
        }
    }
}