public InstitutionRelationshipDetailWindow (InstitutionRelationship ir, Gtk.Window parent) : base(Gtk.WindowType.Toplevel) { this.Build (); this.Modal = true; this.TransientFor = parent; show.InstitutionRelationship = ir; show.IsEditable = true; show.HideActionButtons (); }
public InstitutionRelationshipDetailWindow (InstitutionRelationship ir, EventHandler OnSave, Gtk.Window parent) : base(Gtk.WindowType.Toplevel) { this.Build (); this.Modal = true; this.OnSaved = OnSave; this.TransientFor = parent; show.InstitutionRelationship = ir; show.IsEditable = false; }