コード例 #1
0
        void ctl_DefineComplextType(object sender, ComplexTypeEventArgs e)
        {
            if (e.Value == null)
            {
                var temp = GetTempManager().GetDefault(e.Type.FullName);
                if (temp != null)
                {
                    e.Value = temp.Object;
                }
            }

            var p = CreateDataPanel(e.Type, e.AttributeName, e.Value);

            BindDataPanel(p, e.Type, e.Value);

            ScrollToNextControl(sender as ComplexDataInputControl);
        }
コード例 #2
0
 void cd_DefineComplextType(object sender, ComplexTypeEventArgs e)
 {
     OnDefineComplextType(sender, _attributeName, e.Type, e.Value);
 }