//public ReadnSearchPopUp(string HeaderText)
 //{
 //    InitializeComponent();
 //    //lblHeader.Text = HeaderText;
 //     //Region = new Region(graphicsPath = CreateRoundRectangle(Width - 1, Height - 1, 6));
 //}
 public ReadnSearchPopUp(AutoFilterHeader objFilterHeader)
 {
     InitializeComponent();
     this.objFilterHeader = objFilterHeader;
     //lblHeader.Text = HeaderText;
     //Region = new Region(graphicsPath = CreateRoundRectangle(Width - 1, Height - 1, 6));
 }
Esempio n. 2
0
        public NormalHeaderCell(AutoFilterHeader FilterHeaderCell)
        {
            this.ContextMenuStrip = FilterHeaderCell.ContextMenuStrip;
            this.ErrorText = FilterHeaderCell.ErrorText;
            this.Tag = FilterHeaderCell.Tag;
            this.ToolTipText = FilterHeaderCell.ToolTipText;
            this.Value = FilterHeaderCell.Value;
            this.ValueType = FilterHeaderCell.ValueType;

            // Use HasStyle to avoid creating a new style object
            // when the Style property has not previously been set.
            if (FilterHeaderCell.HasStyle)
            {
                this.Style = FilterHeaderCell.Style;
            }
        }