Exemple #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (0 != this.m_Handle)
     {
         PhotoImportDialog.ReleaseNative(PhotoImportDialog.DialogType, this.m_Handle);
         this.m_Handle = 0;
     }
 }
Exemple #2
0
        public void Abort()
        {
            int nativeResult = PhotoImportDialog.AbortNative(PhotoImportDialog.DialogType, this.m_Handle);

            PhotoImportDialog.CheckNativeResult(nativeResult);
        }
Exemple #3
0
        public PhotoImportDialog()
        {
            int nativeResult = PhotoImportDialog.NewNative(PhotoImportDialog.DialogType, out this.m_Handle);

            PhotoImportDialog.CheckNativeResult(nativeResult);
        }
Exemple #4
0
        private void Open(PhotoImportDialog.DialogArguments args)
        {
            int nativeResult = PhotoImportDialog.OpenNative(PhotoImportDialog.DialogType, this.m_Handle, ref args);

            PhotoImportDialog.CheckNativeResult(nativeResult);
        }