コード例 #1
0
ファイル: TreeViewAdv.cs プロジェクト: jimmyPBI/TabularEditor
 protected virtual void OnRowDraw(PaintEventArgs e, TreeNodeAdv node, DrawContext context, int row, Rectangle rowRect)
 {
     if (RowDraw != null)
     {
         TreeViewRowDrawEventArgs args = new TreeViewRowDrawEventArgs(e.Graphics, e.ClipRectangle, node, context, row, rowRect);
         RowDraw(this, args);
     }
 }
コード例 #2
0
 protected virtual void OnRowDraw(PaintEventArgs e, TreeNodeAdv node, ref DrawContext context, int row, Rectangle rowRect)
 {
     //au: made context ref. Then the override can make more changes. Also it is 48 bytes.
     if (RowDraw != null)
     {
         TreeViewRowDrawEventArgs args = new TreeViewRowDrawEventArgs(e.Graphics, e.ClipRectangle, node, context, row, rowRect);
         RowDraw(this, args);
     }
 }
コード例 #3
0
ファイル: TreeViewAdv.cs プロジェクト: heon21st/flashdevelop
		protected virtual void OnRowDraw(PaintEventArgs e, TreeNodeAdv node, DrawContext context, int row, Rectangle rowRect)
		{
			if (RowDraw != null)
			{
				TreeViewRowDrawEventArgs args = new TreeViewRowDrawEventArgs(e.Graphics, e.ClipRectangle, node, context, row, rowRect);
				RowDraw(this, args);
			}
		}
コード例 #4
0
ファイル: WelcomeDialog.cs プロジェクト: ChrisLakeZA/duality
		private void actionList_RowDraw(object sender, TreeViewRowDrawEventArgs e)
		{
			if (e.Node == this.hoveredNode)
			{
				e.Graphics.FillRectangle(
					new SolidBrush(Color.FromArgb(212, 212, 212)),
					0,
					e.RowRect.Y,
					this.actionList.ClientSize.Width,
					e.RowRect.Height);
			}
		}
コード例 #5
0
        private void treeViewAdv1_RowDraw(object sender, TreeViewRowDrawEventArgs e)
        {

        }