Beispiel #1
0
        private void GetDoubleControlState(LGDoubleWMItemView item)
        {
            Debug.Assert(item != null);

            item.Count    = DoubleValue;
            item.LessThan = LessThan;
        }
Beispiel #2
0
        private void SetDoubleControlState(LGDoubleWMItemView item)
        {
            Debug.Assert(item != null);

            DoubleValue = item.Count;
            LessThan    = item.LessThan;
        }
Beispiel #3
0
        private void repositoryItemPopupContainerEdit2_QueryPopUp(object sender, CancelEventArgs e)
        {
            BaseWMItemView item = (BaseWMItemView)gridView.GetRow(gridView.FocusedRowHandle);

            if (item != null && (item is LGDoubleWMItemView))
            {
                LGDoubleWMItemView itemWm = (item as LGDoubleWMItemView);
                SetDoubleControlState(itemWm);
            }
        }
Beispiel #4
0
        private void repositoryItemPopupContainerEdit2_CloseUp(object sender, CloseUpEventArgs e)
        {
            BaseWMItemView item = (BaseWMItemView)gridView.GetRow(gridView.FocusedRowHandle);

            if (item != null && (item is LGDoubleWMItemView))
            {
                LGDoubleWMItemView itemWm = (item as LGDoubleWMItemView);
                GetDoubleControlState(itemWm);
                gridView.RefreshData();
            }
        }