Exemplo n.º 1
0
        private TabbedThumbnailClosedEventArgs GetTabbedThumbnailClosingEventArgs()
        {
            TabbedThumbnailClosedEventArgs eventArgs = null;

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

            return(eventArgs);
        }
Exemplo n.º 2
0
		private TabbedThumbnailClosedEventArgs GetTabbedThumbnailClosingEventArgs() {
			TabbedThumbnailClosedEventArgs eventArgs = null;

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

			return eventArgs;
		}