External/Aga.Controls/Tree/EditorContext.cs
author moel.mich
Mon, 02 Jul 2012 21:14:40 +0000
changeset 357 fb8dc26f65a4
permissions -rw-r--r--
Added mainboard specific configurations for the following Gigabyte mainboards: EX58-UD3R, G41M-Combo, G41MT-S2, G41MT-S2P, GA-MA770T-UD3P, GA-MA785GM-US2H, GA-MA78LM-S2H, GA-MA790X-UD3P, H55-USB3, H55N-USB3, H61M-DS2 REV 1.2, H61M-USB3-B3 REV 2.0, H67A-USB3-B3, P55A-UD3, P67A-UD3-B3, P67A-UD3R-B3, Z68A-D3H-B3, Z68AP-D3, Z68X-UD3H-B3.
     1 using System;
     2 using System.Collections.Generic;
     3 using System.Text;
     4 using System.Windows.Forms;
     5 using System.Drawing;
     6 using Aga.Controls.Tree.NodeControls;
     7 
     8 namespace Aga.Controls.Tree
     9 {
    10 	public struct EditorContext
    11 	{
    12 		private TreeNodeAdv _currentNode;
    13 		public TreeNodeAdv CurrentNode
    14 		{
    15 			get { return _currentNode; }
    16 			set { _currentNode = value; }
    17 		}
    18 
    19 		private Control _editor;
    20 		public Control Editor
    21 		{
    22 			get { return _editor; }
    23 			set { _editor = value; }
    24 		}
    25 
    26 		private NodeControl _owner;
    27 		public NodeControl Owner
    28 		{
    29 			get { return _owner; }
    30 			set { _owner = value; }
    31 		}
    32 
    33 		private Rectangle _bounds;
    34 		public Rectangle Bounds
    35 		{
    36 			get { return _bounds; }
    37 			set { _bounds = value; }
    38 		}
    39 
    40 		private DrawContext _drawContext;
    41 		public DrawContext DrawContext
    42 		{
    43 			get { return _drawContext; }
    44 			set { _drawContext = value; }
    45 		}
    46 	}
    47 }