コード例 #1
0
 /// <summary>
 /// generate all code for the control
 /// </summary>
 public void GenerateControl(TFormWriter writer, TControlDef ctrl)
 {
     GenerateDeclaration(writer, ctrl);
     ProcessChildren(writer, ctrl);
     SetControlProperties(writer, ctrl);
     OnChangeDataType(writer, ctrl.xmlNode, ctrl.controlName);
     writer.InitialiseDataSource(ctrl.xmlNode, ctrl.controlName);
     writer.ApplyDerivedFunctionality(this, ctrl);
     AddChildren(writer, ctrl);
 }