private MyDataGridViewTextBoxCell method_0()
		{
			MyDataGridViewTextBoxCell myDataGridViewTextBoxCell = this.CellTemplate as MyDataGridViewTextBoxCell;
			if (myDataGridViewTextBoxCell == null)
			{
				throw new InvalidOperationException("Invalid CellTemplate.");
			}
			return myDataGridViewTextBoxCell;
		}
Beispiel #2
0
        public override object Clone()
        {
            MyDataGridViewTextBoxCell myDataGridViewTextBoxCell = base.Clone() as MyDataGridViewTextBoxCell;

            if (myDataGridViewTextBoxCell != null)
            {
                myDataGridViewTextBoxCell.MaxByteLength = this.MaxByteLength;
            }
            return(myDataGridViewTextBoxCell);
        }