89 lines
1.9 KiB
C#
89 lines
1.9 KiB
C#
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Text;
|
||
|
using Ease.CoreV35.Model;
|
||
|
using Ease.CoreV35.Caching;
|
||
|
namespace Ease.UICreator
|
||
|
{
|
||
|
public class SingleForm
|
||
|
{
|
||
|
#region Variables
|
||
|
private string _formName;
|
||
|
private string _caption;
|
||
|
private ObjectTemplate _source;
|
||
|
private SingleFormControls _controls;
|
||
|
private ObjectsTemplate<ObjectTemplate> _comboSource;
|
||
|
private string[,] _properties;
|
||
|
|
||
|
|
||
|
#endregion
|
||
|
|
||
|
#region Constructor
|
||
|
public SingleForm()
|
||
|
{
|
||
|
_caption = "";
|
||
|
_source = null;
|
||
|
_controls = new SingleFormControls();
|
||
|
_comboSource = null;
|
||
|
_properties = null;
|
||
|
}
|
||
|
#endregion
|
||
|
|
||
|
#region Properties
|
||
|
|
||
|
#region Caption
|
||
|
public string Caption
|
||
|
{
|
||
|
get { return _caption; }
|
||
|
set { _caption = value; }
|
||
|
}
|
||
|
#endregion
|
||
|
#region Form Name
|
||
|
public string FormName
|
||
|
{
|
||
|
get { return _formName; }
|
||
|
set { _formName = value; }
|
||
|
}
|
||
|
#endregion
|
||
|
|
||
|
|
||
|
#region Caption
|
||
|
public string[,] PropertyValue
|
||
|
{
|
||
|
get { return _properties; }
|
||
|
set { _properties = value; }
|
||
|
}
|
||
|
#endregion
|
||
|
|
||
|
#region Source
|
||
|
public ObjectTemplate Source
|
||
|
{
|
||
|
get { return _source; }
|
||
|
set
|
||
|
{
|
||
|
_source = value;
|
||
|
|
||
|
}
|
||
|
}
|
||
|
#endregion
|
||
|
|
||
|
#region ComboSource
|
||
|
public ObjectsTemplate<ObjectTemplate> ComboSource
|
||
|
{
|
||
|
get { return _comboSource; }
|
||
|
set { _comboSource = value; }
|
||
|
}
|
||
|
#endregion
|
||
|
|
||
|
#region Listviewcloumns
|
||
|
public SingleFormControls Controls
|
||
|
{
|
||
|
get { return _controls; }
|
||
|
set { _controls = value; }
|
||
|
}
|
||
|
#endregion
|
||
|
|
||
|
#endregion
|
||
|
}
|
||
|
}
|