示例#1
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <remarks>Use the <see cref="System.Windows.Forms.NativeWindow.AssignHandle"/>
 /// method to attach this class to the form you want to show popups from.</remarks>
 public PopupWindowHelper()
 {
     filter              = new PopupWindowHelperMessageFilter(this);
     filter.PopupCancel += new PopupCancelEventHandler(popup_Cancel);
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <remarks>Use the <see cref="System.Windows.Forms.NativeWindow.AssignHandle"/>
 /// method to attach this class to the form you want to show popups from.</remarks>
 public PopupWindowHelper()
 {
    filter = new PopupWindowHelperMessageFilter(this);
    filter.PopupCancel += new PopupCancelEventHandler(popup_Cancel);
 }