Exemple #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);
        }
 private void treeColumn_DrawColHeaderBg(object sender, DrawColHeaderBgEventArgs e)
 {
     e.Graphics.FillRectangle(new SolidBrush(Color.FromArgb(255, 212, 212, 212)), e.Bounds);
     e.Handled = true;
 }
Exemple #3
0
		private void treeColumnMain_DrawColHeaderBg(object sender, DrawColHeaderBgEventArgs e)
		{
			e.Graphics.FillRectangle(new SolidBrush(this.actionList.BackColor), e.Bounds);
			e.Handled = true;
		}
		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;
		}