示例#1
0
        public CustomerDialog()
        {
            ordersGrid = new CustomerOrdersGrid(this.ById("OrdersGrid"));
            ordersGrid.Element.FlexHeightOnly();

            this.ById("NoteList").Closest(".field").Hide().End().AppendTo(this.ById("TabNotes"));

            tabs.OnActivate += (e, i) => this.Arrange();
        }
示例#2
0
        public CustomerDialog()
        {
            ordersGrid = new CustomerOrdersGrid(this.ById("OrdersGrid"));
            ordersGrid.Element.FlexHeightOnly();

            this.ById("NoteList").Closest(".field").Hide().End().AppendTo(this.ById("TabNotes"));

            DialogUtils.PendingChangesConfirmation(this.element, () => GetSaveState() != loadedState);

            tabs.OnActivate += (e, i) => this.Arrange();
        }