Exemple #1
0
 private void btnLoad_Click(object sender, EventArgs e)
 {
     if (File.Exists(txtFile.Text))
     {
         this.redirector = Redirector.Load(txtFile.Text);
         if (redirector != null)
         {
             gpMain.Enabled = true;
         }
         else
         {
             MessageBox.Show(this, "Error reading PE file");
         }
     }
     else
     {
         MessageBox.Show(this, "File doesn't exist");
     }
 }