private static extern int OpenNative(int type, int handle, ref PhotoImportDialog.DialogArguments dialogArguments);
private void Open(PhotoImportDialog.DialogArguments args) { int nativeResult = PhotoImportDialog.OpenNative(PhotoImportDialog.DialogType, this.m_Handle, ref args); PhotoImportDialog.CheckNativeResult(nativeResult); }