コード例 #1
0
        internal void OnTabbedThumbnailBitmapRequested()
        {
            if (TabbedThumbnailBitmapRequested != null)
            {
                TabbedThumbnailBitmapRequestedEventArgs eventArgs = null;

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

                TabbedThumbnailBitmapRequested(this, eventArgs);
            }
        }
コード例 #2
0
ファイル: TabbedThumbnail.cs プロジェクト: GodLesZ/svn-dump
		internal void OnTabbedThumbnailBitmapRequested() {
			if (TabbedThumbnailBitmapRequested != null) {
				TabbedThumbnailBitmapRequestedEventArgs eventArgs = null;

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

				TabbedThumbnailBitmapRequested(this, eventArgs);
			}
		}