예제 #1
0
 public void SetTextBoxInfo(String Text, bool editable, TextBoxModes mode = TextBoxModes.TextBox)
 {
     if (mode == TextBoxModes.TextBox)
     {
         this.ItemType = ItemTypes.TextBox;
     }
     else
     {
         this.ItemType = ItemTypes.FileOpenBox;
     }
     IsEditable = editable;
     this.Text  = Text;
 }
예제 #2
0
 public EasyGridCellInfo(String Text, bool editable, TextAlignModes alignMode = TextAlignModes.None, TextBoxModes mode = TextBoxModes.TextBox)
 {
     if (mode == TextBoxModes.TextBox)
     {
         this.ItemType = ItemTypes.TextBox;
     }
     else
     {
         this.ItemType = ItemTypes.FileOpenBox;
     }
     IsEditable         = editable;
     this.Text          = Text;
     this.TextAlignMode = alignMode;
 }
 public EasyGridVariousTypeCellInfo(String Text, bool editable, String Tooltip, TextBoxModes modes)
     : base()
 {
     if (modes == TextBoxModes.TextBox)
     {
         this.ItemType = ItemTypes.TextBox;
     }
     else
     {
         this.ItemType = ItemTypes.FileOpenBox;
     }
     IsEditable = editable;
     this.Text  = Text;
     if (Tooltip.Length > 0)
     {
         this.ToolTip = Tooltip;
     }
 }