|
|
@@ -50,7 +50,7 @@ namespace ThePimp |
|
|
|
} |
|
|
|
|
|
|
|
while(notebook1.NPages > 0) |
|
|
|
notebook1.RemovePage(0); |
|
|
|
notebook1.RemovePage(0); |
|
|
|
int n = notebook1.AppendPage(new PictureView(p), |
|
|
|
new Label(p.FileName)); |
|
|
|
notebook1.Page = n; |
|
|
@@ -86,6 +86,8 @@ namespace ThePimp |
|
|
|
|
|
|
|
protected virtual void OnSaveAsActionActivated (object sender, System.EventArgs e) |
|
|
|
{ |
|
|
|
if(notebook1.NPages <= 0) |
|
|
|
return; |
|
|
|
SaveFile save = new SaveFile(); |
|
|
|
PictureView view = notebook1.CurrentPageWidget as PictureView; |
|
|
|
save.Save(view.Picture); |
|
|
|