public VictimWindow (Victim victim, VictimEventHandler handler, Gtk.Window parent) : base(Gtk.WindowType.Toplevel) { this.Build (); this.Modal = true; show.Victim = victim; show.IsEditable = false; OnSaveOrUpdate = handler; this.TransientFor = parent; }
public VictimWindow (Act act, VictimEventHandler handler, Gtk.Window parent) : base(Gtk.WindowType.Toplevel) { this.Build (); this.Modal = true; show.Victim = new Victim(); show.Victim.Act = act; show.IsEditable = true; OnSaveOrUpdate = handler; this.TransientFor = parent; }