Ejemplo n.º 1
0
        private TabbedThumbnailEventArgs GetTabbedThumbnailEventArgs()
        {
            TabbedThumbnailEventArgs eventArgs = null;

            if (this.WindowHandle != IntPtr.Zero)
            {
                eventArgs = new TabbedThumbnailEventArgs(this.WindowHandle);
            }
            else if (this.WindowsControl != null)
            {
                eventArgs = new TabbedThumbnailEventArgs(this.WindowsControl);
            }

            return(eventArgs);
        }
Ejemplo n.º 2
0
		private TabbedThumbnailEventArgs GetTabbedThumbnailEventArgs() {
			TabbedThumbnailEventArgs eventArgs = null;

			if (this.WindowHandle != IntPtr.Zero) {
				eventArgs = new TabbedThumbnailEventArgs(this.WindowHandle);
			} else if (this.WindowsControl != null) {
				eventArgs = new TabbedThumbnailEventArgs(this.WindowsControl);
			}

			return eventArgs;
		}