|
|
@@ -37,10 +37,7 @@ namespace ThePimp |
|
|
|
|
|
|
|
protected virtual void OnOpenActionActivated (object sender, System.EventArgs e) |
|
|
|
{ |
|
|
|
OpenFile dialog = new OpenFile(); |
|
|
|
|
|
|
|
string s = dialog.GetChoice(); |
|
|
|
dialog.Destroy(); |
|
|
|
string s = OpenFile.GetChoice(); |
|
|
|
if(s == null) |
|
|
|
return; |
|
|
|
|
|
|
@@ -90,10 +87,14 @@ namespace ThePimp |
|
|
|
{ |
|
|
|
if(notebook1.NPages <= 0) |
|
|
|
return; |
|
|
|
SaveFile save = new SaveFile(); |
|
|
|
|
|
|
|
PictureView view = notebook1.CurrentPageWidget as PictureView; |
|
|
|
save.Save(view.Picture); |
|
|
|
save.Destroy(); |
|
|
|
|
|
|
|
string s = OpenFile.GetChoice(); |
|
|
|
if(s == null) |
|
|
|
return; |
|
|
|
|
|
|
|
view.Picture.Save(s); |
|
|
|
} |
|
|
|
|
|
|
|
protected virtual void OnAboutActionActivated (object sender, System.EventArgs e) |
|
|
|