Beispiel #1
0
        internal NiTaskDialogBuilder(INiShell shell)
        {
            if (shell == null)
                throw new ArgumentNullException("shell");

            _shell = shell;
        }
        internal NiTaskDialogBuilder(INiShell shell)
        {
            if (shell == null)
            {
                throw new ArgumentNullException("shell");
            }

            _shell = shell;
        }
Beispiel #3
0
        public static IEnumerable <INiWindowFrame> GetDocumentWindows(this INiShell self)
        {
            if (self == null)
            {
                throw new ArgumentNullException("self");
            }

            INiIterator <INiWindowFrame> iterator;

            ErrorUtil.ThrowOnFailure(self.GetDocumentWindowIterator(out iterator));

            return(iterator.GetEnumerable());
        }
Beispiel #4
0
 public MessageFilter(NiPackage package)
 {
     _package = package;
     _shell   = (INiShell)package.GetService(typeof(INiShell));
 }
Beispiel #5
0
 public MessageFilter(NiPackage package)
 {
     _package = package;
     _shell = (INiShell)package.GetService(typeof(INiShell));
 }