示例#1
0
        private bool OnDrawColHeaderBg(Graphics gr, Rectangle bounds, bool pressed, bool hot)
        {
            DrawColHeaderBgEventArgs colBgArgs = new DrawColHeaderBgEventArgs(gr, bounds, pressed, hot);

            if (this.DrawColHeaderBg != null)
            {
                this.DrawColHeaderBg(this, colBgArgs);
            }
            return(colBgArgs.Handled);
        }
示例#2
0
 private void treeColumn_DrawColHeaderBg(object sender, DrawColHeaderBgEventArgs e)
 {
     e.Graphics.FillRectangle(new SolidBrush(Color.FromArgb(255, 212, 212, 212)), e.Bounds);
     e.Handled = true;
 }
示例#3
0
		private void treeColumnMain_DrawColHeaderBg(object sender, DrawColHeaderBgEventArgs e)
		{
			e.Graphics.FillRectangle(new SolidBrush(this.actionList.BackColor), e.Bounds);
			e.Handled = true;
		}
示例#4
0
		private bool OnDrawColHeaderBg(Graphics gr, Rectangle bounds, bool pressed, bool hot)
		{
			DrawColHeaderBgEventArgs colBgArgs = new DrawColHeaderBgEventArgs(gr, bounds, pressed, hot);
			if (this.DrawColHeaderBg != null) this.DrawColHeaderBg(this, colBgArgs);
			return colBgArgs.Handled;
		}
		private void fileViewColumnName_DrawColHeaderBg(object sender, DrawColHeaderBgEventArgs e)
		{
			e.Graphics.FillRectangle(new SolidBrush(this.inputFileView.BackColor), e.Bounds);
			e.Handled = true;
		}