public Item(Manager.Session Session, Model.PropertyTypes.Item PropertyType) : base(Session, PropertyType) { this.Dialog = null; this.Select = new SelectCommand(this); this.PropertyChanged += Control_PropertyChanged; }
public List(Manager.Session Session, Model.PropertyTypes.List PropertyType) : base(Session, PropertyType) { this.Values = new Model.ObservableList <ListValue>(); this.Value = null; this.AllowNull = false; if (PropertyType != null) { if (!PropertyType.Required) { // Add Blank Value if Property is not required ListValue blank = new ListValue(this.Session); blank.Value = null; blank.Label = " "; this.Values.Add(blank); } // Add Values foreach (Model.Relationships.Value modellistvalue in PropertyType.Values.Relationships("Value")) { ListValue listvalue = new ListValue(this.Session); listvalue.Binding = modellistvalue; this.Values.Add(listvalue); } } // Watch for changes in Values this.Values.ListChanged += Values_ListChanged; }
public ContentPane(Manager.Session Session) : base(Session) { this._title = null; this.Region = Regions.Center; this.Splitter = false; this._content = null; }
public List(Manager.Session Session) : base(Session) { this.Values = new Model.ObservableList <ListValue>(); this.Values.ListChanged += Values_ListChanged; this.Value = null; this.AllowNull = false; }
public Plugin(Manager.Session Session) : base(Session) { this.Refresh = new RefreshCommand(this); this.Edit = new EditCommand(this); this.Save = new SaveCommand(this); this.SaveUnLock = new SaveUnLockCommand(this); this.Undo = new UndoCommand(this); }
public Form(Manager.Session Session, Model.Store Store) : base(Session) { this.Store = Store; this.Refresh = new RefreshCommand(this); this.Create = new CreateCommand(this); this.Edit = new EditCommand(this); this.Save = new SaveCommand(this); this.Promote = new PromoteCommand(this); this.Undo = new UndoCommand(this); this.Transaction = null; }
public Item(Manager.Session Session, Model.ItemType ItemType, String Properties) : base(Session) { // Create Property Cache this.PropertyCache = new Dictionary <Model.PropertyType, Property>(); // Store ItemType this.ItemType = ItemType; // Build Properties this.BuildProperties(Properties); }
public Search(Manager.Session Session) : base(Session) { // Create Search this.Grid = new Grids.Search(this.Session); this.Grid.Region = Regions.Center; // Set Toolbar this.Toolbar = ((IToolbarProvider)this.Grid).Toolbar; this.Toolbar.Region = Regions.Top; // Add Children this.Children.Add(this.Toolbar); this.Children.Add(this.Grid); }
public Search(Manager.Session Session) : base(Session) { // Create Selected this.Selected = new Model.ObservableList <Model.Item>(); // Create Page this.Page = new Properties.Integer(this.Session); this.Page.Value = 1; // Create No Pages this.NoPages = new Properties.Integer(this.Session); this.NoPages.Value = 0; // Create Grid this.Grid = new Grid(this.Session); this.Grid.AllowSelect = true; this.Grid.Width = this.Width; this.Children.Add(this.Grid); // Watch for Rows Selected in Grid this.Grid.RowsSelected += Grid_RowsSelected; // Create Commands this.Refresh = new RefreshCommand(this); this.Filters = new FiltersCommand(this); this.Clear = new ClearCommand(this); this.NextPage = new NextPageCommand(this); this.PreviousPage = new PreviousPageCommand(this); // Create Page Size this.PageSize = new Properties.Integers.Spinner(this.Session); this.PageSize.Tooltip = "Page Size"; this.PageSize.Width = 40; this.PageSize.Enabled = true; this.PageSize.MinValue = 5; this.PageSize.MaxValue = 100; this.PageSize.Value = 25; this.PageSize.PropertyChanged += PageSize_PropertyChanged; }
public Spinner(Manager.Session Session) : base(Session) { }
public String(Manager.Session Session, Model.PropertyTypes.Text PropertyType) : base(Session, PropertyType) { this._length = MaxLength; }
public Federated(Manager.Session Session) : base(Session) { }
public Text(Manager.Session Session, Model.PropertyTypes.Text PropertyType) : base(Session, PropertyType) { }
public Decimal(Manager.Session Session) : base(Session) { this._minValue = DefaultMinValue; this._maxValue = DefaultMaxValue; }
public Sequence(Manager.Session Session, Model.PropertyTypes.Sequence PropertyType) : base(Session, PropertyType) { }
public Date(Manager.Session Session, Model.PropertyTypes.Date PropertyType) : base(Session, PropertyType) { }
public Date(Manager.Session Session) : base(Session) { }
public BorderContainer(Manager.Session Session) : base(Session) { }
public Toolbar(Manager.Session Session) : base(Session) { }
public Decimal(Manager.Session Session, Model.PropertyTypes.Decimal PropertyType) : base(Session, PropertyType) { this._minValue = DefaultMinValue; this._maxValue = DefaultMaxValue; }
public TabContainer(Manager.Session Session) : base(Session) { }
public Boolean(Manager.Session Session) : base(Session) { this.Width = null; }
public Text(Manager.Session Session) : base(Session) { }
public Sequence(Manager.Session Session) : base(Session) { }
public Application(Manager.Session Session) : base(Session) { this.AddedToolbars = new List <Control>(); this.Children.ListChanged += Children_ListChanged; }
public String(Manager.Session Session, Model.PropertyTypes.String PropertyType) : base(Session, PropertyType) { this._length = DefaultLength; }
public Federated(Manager.Session Session, Model.PropertyTypes.Federated PropertyType) : base(Session, PropertyType) { }
public TitlePane(Manager.Session Session) : base(Session) { this._open = true; }
public Boolean(Manager.Session Session, Model.PropertyTypes.Boolean PropertyType) : base(Session, PropertyType) { this.Width = null; }
public String(Manager.Session Session) : base(Session) { this._length = DefaultLength; }