예제 #1
0
        void properties_Enter(object sender, EventArgs e)
        {
            _lookup = (LookUpGridEditEx)sender;
            var editButton = _lookup.Properties.Buttons[EditButtonIndex];

            editButton.Enabled = _lookup.EditValue != null;
            InitializeDataSource();
        }
예제 #2
0
        void properties_Enter(object sender, EventArgs e)
        {
            _lookup = (LookUpGridEditEx)sender;
            var editButton = _lookup.Properties.Buttons[1];

            UpdateButtonState(editButton, _lookup.Properties.Buttons[2]);
            InitializeDataSource();
        }
예제 #3
0
 protected override object CreateControlCore()
 {
     _lookup                   = new LookUpGridEditEx();
     _lookup.QueryPopUp       += Editor_QueryPopUp;
     _lookup.Closed           += (sender, args) => UpdateButtons();
     _lookup.EditValueChanged += (sender, args) => {
         if (!_lookup.IsPopupOpen)
         {
             UpdateButtons();
         }
     };
     return(_lookup);
 }
예제 #4
0
 void properties_Enter(object sender, EventArgs e) {
     _lookup = (LookUpGridEditEx)sender;
     InitializeDataSource();
 }
예제 #5
0
 protected override object CreateControlCore() {
     _lookup = new LookUpGridEditEx();
     _lookup.QueryPopUp += Editor_QueryPopUp;
     return _lookup;
 }
예제 #6
0
 protected override object CreateControlCore()
 {
     _lookup             = new LookUpGridEditEx();
     _lookup.QueryPopUp += Editor_QueryPopUp;
     return(_lookup);
 }
예제 #7
0
 void properties_Enter(object sender, EventArgs e) {
     _lookup = (LookUpGridEditEx)sender;
     var editButton = _lookup.Properties.Buttons[1];
     UpdateButtonState(editButton, _lookup.Properties.Buttons[2]);
     InitializeDataSource();
 }
예제 #8
0
 void properties_Enter(object sender, EventArgs e)
 {
     _lookup = (LookUpGridEditEx)sender;
     InitializeDataSource();
 }
예제 #9
0
 protected override object CreateControlCore() {
     _lookup = new LookUpGridEditEx();
     return _lookup;
 }