public DocumentarySourceDetailWindow (DocumentarySource doc_source, EventHandler OnSave, Gtk.Window parent) : base(Gtk.WindowType.Toplevel) { this.Build (); this.Modal = true; this.OnSaved = OnSave; this.TransientFor = parent; show.DocumentarySource = doc_source; show.IsEditable = false; }
public DocumentarySourceWindow (Case c, EventHandler OnSave, Gtk.Window parent) : base(Gtk.WindowType.Toplevel) { this.Build (); this.Modal = true; this.Saved = OnSave; this.TransientFor = parent; documentary_source = new DocumentarySource (); documentary_source.Case = c; DocumentarySource = documentary_source; }
public DocumentarySourceWindow (DocumentarySource ds, EventHandler onSave, Gtk.Window parent) : base(Gtk.WindowType.Toplevel) { this.Build (); this.Modal = true; this.Saved= onSave; this.TransientFor = parent; DocumentarySource = ds; }