protected virtual void Dispose(bool disposing) { if (0 != this.m_Handle) { PhotoImportDialog.ReleaseNative(PhotoImportDialog.DialogType, this.m_Handle); this.m_Handle = 0; } }
public void Abort() { int nativeResult = PhotoImportDialog.AbortNative(PhotoImportDialog.DialogType, this.m_Handle); PhotoImportDialog.CheckNativeResult(nativeResult); }
public PhotoImportDialog() { int nativeResult = PhotoImportDialog.NewNative(PhotoImportDialog.DialogType, out this.m_Handle); PhotoImportDialog.CheckNativeResult(nativeResult); }
private void Open(PhotoImportDialog.DialogArguments args) { int nativeResult = PhotoImportDialog.OpenNative(PhotoImportDialog.DialogType, this.m_Handle, ref args); PhotoImportDialog.CheckNativeResult(nativeResult); }