Exemple #1
0
 private void DoLoadFile()
 {
     if (!File.Exists(fileName) && !fileName.Equals("-"))
     {
         r2pw.Show(string.Format("Wops!\n{0}\nfile not found...", fileName), "LoadFile");
         return;
     }
     r2pw.open(fileName);
     r2pw.setText("version ( ?V )", "?V", r2pw.r2.RunCommand("?V"));
     r2pw.run_script("openfile_post.txt");
 }