protected override void OnLoad(EventArgs e) { base.OnLoad(e); CurDir = new DirContainer(new DirectoryInfo("/home/jp/")); // GraphicObject dv = Interface.Load ("Interfaces/testDirViewer.goml"); // this.AddWidget(dv); // dv.DataSource = CurDir; dialog = new FileDialog(); dialog.SearchPattern = ".png|.jpg|.jpeg|.gif|.svg"; dialog.Show(); //LoadInterface("Interfaces/testTypeViewer.goml", out g); }
protected override void OnLoad (EventArgs e) { base.OnLoad (e); CurDir = new DirContainer(new DirectoryInfo ("/home/jp/")); // GraphicObject dv = Interface.Load ("Interfaces/testDirViewer.goml"); // this.AddWidget(dv); // dv.DataSource = CurDir; dialog = new FileDialog(); dialog.SearchPattern = ".png|.jpg|.jpeg|.gif|.svg"; dialog.Show (); //LoadInterface("Interfaces/testTypeViewer.goml", out g); }