Example #1
0
 public R2PIPE_WRAPPER(RConfig rconfig, Form1 frm)
 {
     this.controls      = new Dictionary <string, object>();
     this.rconfig       = rconfig;
     this.tabcontrol    = ((Form1)frm).tabcontrol;
     this.theme_manager = new themeManager("classic", rconfig);
     new Hotkeys();
 }
Example #2
0
 // r2pipe gui commands wrapper
 public R2PIPE_WRAPPER(RConfig rconfig, Form1 frm)
 {
     this.rconfig          = rconfig;
     this.guicontrol       = frm;
     this.tabcontrol       = ((Form1)frm).tabcontrol;
     this.theme_manager    = new themeManager(rconfig);
     this.controls         = new Dictionary <string, object>();
     this.decorators_cb    = new Dictionary <string, Func <string> >();
     this.decorators_names = new Dictionary <string, List <string> >();
     this.shellopts_cb     = new Dictionary <string, Func <string> >();
     this.cached_results   = new Dictionary <string, string>();
     this.current_shell    =
         rconfig.load <string>("gui.current_shell", "radare");
     //new Hotkeys();
 }