public DataFlowElement Clone()
        {
            DataFlowElement newObject = new DataFlowElement();

            newObject.name    = this.name;
            newObject.tag     = this.tag;
            newObject.toolTip = this.toolTip;

            return(newObject);
        }
 /// <summary>
 /// Hooking up a data flow element to a grid cell.
 /// </summary>
 /// <param name="cell"></param>
 /// <param name="dataFlowElement"></param>
 private static void SetGridCellData(DataGridViewCell cell, DataFlowElement dataFlowElement)
 {
     cell.Value = dataFlowElement.ToString();
     cell.Tag = dataFlowElement.Tag;
     cell.ToolTipText = dataFlowElement.ToolTip;
 }
        public DataFlowElement Clone()
        {
            DataFlowElement newObject = new DataFlowElement();
            newObject.name = this.name;
            newObject.tag = this.tag;
            newObject.toolTip = this.toolTip;

            return newObject;
        }
 /// <summary>
 /// Hooking up a data flow element to a grid cell.
 /// </summary>
 /// <param name="cell"></param>
 /// <param name="dataFlowElement"></param>
 private static void SetGridCellData(DataGridViewCell cell, DataFlowElement dataFlowElement)
 {
     cell.Value       = dataFlowElement.ToString();
     cell.Tag         = dataFlowElement.Tag;
     cell.ToolTipText = dataFlowElement.ToolTip;
 }