public advancedDatePicker() : base()
        {
            popupHelper = new PopupWindowHelper();
            Button btn = new Button();

            btn.Dock  = System.Windows.Forms.DockStyle.Right;
            btn.Image = Properties.Resources.datePicker;
            btn.Width = 28;
            this.Controls.Add(btn);
            btn.Click += btn_Click;
        }
Example #2
0
 /// <summary>
 /// Constructs a new instance of this class and sets the owning
 /// object.
 /// </summary>
 /// <param name="owner">The <see cref="PopupWindowHelper"/> object
 /// which owns this class.</param>
 public PopupWindowHelperMessageFilter(PopupWindowHelper owner)
 {
     this.owner = owner;
 }