Ejemplo n.º 1
0
        public TableView()
        {
            BackColor    = Color.FromArgb(171, 171, 171);
            CellPadding  = 1;
            ColumnsStyle = new TableButtonStyle();
            Padding      = new Padding(2);
            SkipControlsInitializations = false;

            Columns = new TableColumnCollection(this);
            Rows    = new TableRowCollection(this);
        }
Ejemplo n.º 2
0
 public TableRowButton(TableButtonStyle style)
 {
     BackColor            = style.BackColor;
     uwfHoverColor        = style.HoverColor;
     uwfBorderColor       = style.BorderColor;
     uwfBorderHoverColor  = style.BorderHoverColor;
     uwfBorderSelectColor = style.BorderSelectColor;
     Padding   = new Padding(8, 0, 8, 0);
     Size      = new Size(100, 20);
     TabStop   = false;
     TextAlign = ContentAlignment.MiddleRight;
 }
Ejemplo n.º 3
0
            public TableColumnButton(TableView t, TableButtonStyle style)
            {
                BackColor            = style.BackColor;
                uwfHoverColor        = style.HoverColor;
                uwfBorderColor       = style.BorderColor;
                uwfBorderHoverColor  = style.BorderHoverColor;
                uwfBorderSelectColor = style.BorderSelectColor;
                Padding     = new Padding(8, 0, 8, 0);
                ResizeWidth = 8;
                Size        = new Size(t.ColumnsDefaultWidth, 20);
                TabStop     = false;
                TextAlign   = ContentAlignment.MiddleLeft;

                MouseHook.MouseUp += Owner_UpClick;
            }