public override Gtk.Widget CreatePanelWidget () { bool byDefault, require; MSBuildProjectService.CheckHandlerUsesMSBuildEngine (ConfiguredProject, out byDefault, out require); if (require) return null; var box = new Xwt.VBox { Spacing = 6, Margin = 12 }; box.PackStart (new Xwt.Label { Markup = "<b>Build Engine</b>" }); checkMSBuild = new Xwt.CheckBox (byDefault ? GettextCatalog.GetString ("Use MSBuild build engine (recommended for this project type)") : GettextCatalog.GetString ("Use MSBuild build engine (unsupported for this project type)")) { Active = ConfiguredProject.UseMSBuildEngine ?? byDefault }; var hbox = new Xwt.HBox { MarginLeft = 18, Spacing = 6 }; hbox.PackStart (checkMSBuild); box.PackStart (hbox); box.Show (); return box.ToGtkWidget (); }
public override Gtk.Widget CreatePanelWidget() { bool byDefault, require; MSBuildProjectService.CheckHandlerUsesMSBuildEngine(ConfiguredProject, out byDefault, out require); if (require) { return(null); } var box = new Xwt.VBox { Spacing = 6, Margin = 12 }; box.PackStart(new Xwt.Label { Markup = "<b>Build Engine</b>" }); checkMSBuild = new Xwt.CheckBox(byDefault ? GettextCatalog.GetString("Use MSBuild build engine (recommended for this project type)") : GettextCatalog.GetString("Use MSBuild build engine (unsupported for this project type)")) { Active = ConfiguredProject.UseMSBuildEngine ?? byDefault }; var hbox = new Xwt.HBox { MarginLeft = 18, Spacing = 6 }; hbox.PackStart(checkMSBuild); box.PackStart(hbox); box.Show(); return(box.ToGtkWidget()); }
public override Gtk.Widget CreatePanelWidget () { Xwt.VBox box = new Xwt.VBox (); box.Spacing = 6; box.Margin = 12; disableVersionControl = new Xwt.CheckBox (GettextCatalog.GetString ("Disable Version Control globally")) { Active = VersionControlService.ConfigurationGlobalDisabled, }; box.PackStart (disableVersionControl); box.Show (); return box.ToGtkWidget (); }
public override Gtk.Widget CreatePanelWidget () { Xwt.VBox box = new Xwt.VBox (); box.Spacing = 6; box.Margin = 12; disableVersionControl = new Xwt.CheckBox (GettextCatalog.GetString ("Disable Version Control for this solution")) { Active = VersionControlService.IsSolutionDisabled ((Solution)DataObject), }; box.PackStart (disableVersionControl); box.Show (); return box.ToGtkWidget (); }
public override Gtk.Widget CreatePanelWidget() { Xwt.VBox box = new Xwt.VBox(); box.Spacing = 6; box.Margin = 12; disableVersionControl = new Xwt.CheckBox(GettextCatalog.GetString("Disable Version Control globally")) { Active = VersionControlService.IsGloballyDisabled, }; box.PackStart(disableVersionControl); box.Show(); return(box.ToGtkWidget()); }
public override Control CreatePanelWidget() { Xwt.VBox box = new Xwt.VBox(); box.Spacing = 6; box.Margin = 12; disableVersionControl = new Xwt.CheckBox(GettextCatalog.GetString("Disable Version Control for this solution")) { Active = VersionControlService.IsSolutionDisabled((Solution)DataObject), }; box.PackStart(disableVersionControl); box.Show(); return(box.ToGtkWidget()); }