示例#1
0
        public override void Load(Call call, TabModel model)
        {
            model.Items   = ListProperty.Create(_propertyTest);
            model.Editing = true;

            model.Actions = new List <TaskCreator>()
            {
                new TaskDelegate("Toggle", Toggle),
            };
        }
示例#2
0
        public override void Load(Call call, TabModel model)
        {
            model.Items   = ListProperty.Create(Project.ProjectSettings);
            model.Editing = true;

            model.Actions = new List <TaskCreator>()
            {
                new TaskDelegate("Reset", Reset),
                new TaskDelegate("Save", Save),
            };
        }
示例#3
0
    public void LoadObject(object obj)
    {
        ClearControls();

        AddSummary();

        ItemCollection <ListProperty> properties = ListProperty.Create(obj);

        foreach (ListProperty property in properties)
        {
            AddPropertyRow(property);
        }
    }