Exemplo n.º 1
0
 //this can be used by the import callback to determine whether this is a "new" import operation or not.
 //specifically, the editor form in BASeBlock uses this to determine whether it can delete any previously created image from the CreatorProperties
 //data of the level.
 public static ImageImportOptions DoImport(IWin32Window uparent,SizeF editsize,ImageImportCallback importcallback)
 {
     ImageImport useform = new ImageImport(editsize, importcallback);
     useform.ShowDialog(uparent);
     return useform.GetCurrentOptions();
 }
Exemplo n.º 2
0
 public ImageImport(SizeF Editsize, ImageImportCallback importcallback)
     : this()
 {
     callbackfunc = importcallback;
     EditorSize=Editsize;
 }