public Window(ComparisonInfo info) : base("ilContrast Assembly Comparison Tool") { DefaultSize = new Size(450, 450); main_vbox = new VBox(false, 0); AddActionUI(); #if USE_GECKO browser = new Gecko.WebControl(); main_vbox.PackStart(browser, true, true, 0); #else web_view = new WebKit.WebView(); ScrolledWindow sw = new ScrolledWindow(); sw.Add(web_view); main_vbox.PackStart(sw, true, true, 0); #endif statusbar = new Statusbar(); main_vbox.PackStart(statusbar, false, false, 0); Add(main_vbox); main_vbox.ShowAll(); first_show = true; this.info = info; }
public Window (ComparisonInfo info) : base ("ilContrast Assembly Comparison Tool") { DefaultSize = new Size (450, 450); main_vbox = new VBox (false, 0); AddActionUI (); #if USE_GECKO browser = new Gecko.WebControl (); main_vbox.PackStart (browser, true, true, 0); #else web_view = new WebKit.WebView (); ScrolledWindow sw = new ScrolledWindow (); sw.Add (web_view); main_vbox.PackStart (sw, true, true, 0); #endif statusbar = new Statusbar (); main_vbox.PackStart (statusbar, false, false, 0); Add (main_vbox); main_vbox.ShowAll (); first_show = true; this.info = info; }