You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- // OpenFile.cs created with MonoDevelop
- // User: sam at 23:05 03/10/2008
- //
- // To change standard headers go to Edit->Preferences->Coding->Standard Headers
- //
-
- using System;
- using Gtk;
-
- namespace ThePimp
- {
- public partial class OpenFile : Gtk.Dialog
- {
- public OpenFile()
- {
- this.Build();
- }
-
- public Pipi.Picture Load()
- {
- ResponseType rsp = (ResponseType)Run();
- Hide();
- if(rsp != ResponseType.Ok)
- return null;
- Pipi.Picture p = new Pipi.Picture(filechooserwidget1.Filename);
- return p;
- }
- }
- }
|