public InstitutionPersonDetailWindow (InstitutionPerson ip, Gtk.Window parent) : base(Gtk.WindowType.Toplevel) { this.Build (); this.Modal = true; this.TransientFor = parent; show.InstitutionPerson = ip; show.IsEditable = true; show.HideActionButtons (); }
public InstitutionPersonDetailWindow (InstitutionPerson ip, EventHandler OnSave, Gtk.Window parent, bool usingPerson) : base(Gtk.WindowType.Toplevel) { this.Build (); this.Modal = true; this.OnSaved = OnSave; this.TransientFor = parent; show.InstitutionPerson = ip; show.PersonReadOnly (); show.IsEditable = false; }
public InstitutionPersonDetailWindow (Person p, EventHandler OnSave, Gtk.Window parent) : base(Gtk.WindowType.Toplevel) { this.Build (); this.Modal = true; this.OnSaved = OnSave; this.TransientFor = parent; InstitutionPerson ip = new InstitutionPerson(); ip.Person = p; show.InstitutionPerson = ip; show.PersonReadOnly (); show.IsEditable = true; }