public DotDesktopView ()
		{
			widget = new DotDesktopViewWidget ();
			widget.Changed += delegate {
				IsDirty = true;
			};
			entry = new DesktopEntry ();
			widget.DesktopEntry = entry;
		}
Exemple #2
0
 public DotDesktopView()
 {
     widget          = new DotDesktopViewWidget();
     widget.Changed += delegate {
         IsDirty = true;
     };
     entry = new DesktopEntry();
     widget.DesktopEntry = entry;
 }
Exemple #3
0
        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);
        }