public DotDesktopView () { widget = new DotDesktopViewWidget (); widget.Changed += delegate { IsDirty = true; }; entry = new DesktopEntry (); widget.DesktopEntry = entry; }
public DotDesktopView() { widget = new DotDesktopViewWidget(); widget.Changed += delegate { IsDirty = true; }; entry = new DesktopEntry(); widget.DesktopEntry = entry; }
protected override Control OnGetViewControl(DocumentViewContent view) { widget = new DotDesktopViewWidget(); widget.Changed += delegate { HasUnsavedChanges = true; }; entry = new DesktopEntry(); widget.DesktopEntry = entry; entry.Load(FilePath); widget.DesktopEntry = entry; return((Control)widget); }