예제 #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);
        }
예제 #2
0
 public TableRowButton(TableButtonStyle style)
 {
     BackColor         = style.BackColor;
     HoverColor        = style.HoverColor;
     BorderColor       = style.BorderColor;
     BorderHoverColor  = style.BorderHoverColor;
     BorderSelectColor = style.BorderSelectColor;
     Padding           = new Padding(8, 0, 8, 0);
     Size      = new Size(100, 20);
     TextAlign = ContentAlignment.MiddleRight;
 }
예제 #3
0
        public TableView()
        {
            BackColor    = Color.FromArgb(171, 171, 171);
            BorderColor  = Color.Black;
            CellPadding  = 1;
            ColumnsStyle = new TableButtonStyle();
            Padding      = new Padding(2);

            Columns = new TableColumnCollection(this);
            Rows    = new TableRowCollection(this);

            Size = new Size(240, 150);
        }
예제 #4
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;
 }
예제 #5
0
            public TableColumnButton(TableButtonStyle style)
            {
                BackColor         = style.BackColor;
                HoverColor        = style.HoverColor;
                BorderColor       = style.BorderColor;
                BorderHoverColor  = style.BorderHoverColor;
                BorderSelectColor = style.BorderSelectColor;
                Padding           = new Padding(8, 0, 8, 0);
                ResizeWidth       = 8;
                Size      = new Size(100, 20);
                TextAlign = ContentAlignment.MiddleLeft;

                Owner.UpClick += Owner_UpClick;
            }
예제 #6
0
        public TableView()
        {
            BackColor = Color.FromArgb(171, 171, 171);
            BorderColor = Color.Black;
            CellPadding = 1;
            ColumnsStyle = new TableButtonStyle();
            Padding = new Padding(2);
            SkipControlsInitializations = false;

            Columns = new TableColumnCollection(this);
            Rows = new TableRowCollection(this);

            Size = new Size(240, 150);
        }
예제 #7
0
 public TableRowButton(TableButtonStyle style)
 {
     BackColor = style.BackColor;
     HoverColor = style.HoverColor;
     BorderColor = style.BorderColor;
     BorderHoverColor = style.BorderHoverColor;
     BorderSelectColor = style.BorderSelectColor;
     Padding = new Padding(8, 0, 8, 0);
     Size = new Size(100, 20);
     TextAlign = ContentAlignment.MiddleRight;
 }
예제 #8
0
            public TableColumnButton(TableView t, TableButtonStyle style)
            {
                BackColor = style.BackColor;
                HoverColor = style.HoverColor;
                BorderColor = style.BorderColor;
                BorderHoverColor = style.BorderHoverColor;
                BorderSelectColor = style.BorderSelectColor;
                Padding = new Padding(8, 0, 8, 0);
                ResizeWidth = 8;
                Size = new Size(t.ColumnsDefaultWidth, 20);
                TextAlign = ContentAlignment.MiddleLeft;

                Owner.UpClick += Owner_UpClick;
            }