Beispiel #1
0
        /// <summary>
        /// dbtune配置流程中导入要素按钮点击事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnImportFeature_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            CommonUtil.ImportFeature(ref this._featureClass, this.btnImportFeature);

            if (this._featureClass != null)
            {
                CommonUtil.BindcmbColumnIdentity(ref this._columnInfoSet, this.cmbColumnIdentity, this._featureClass);
            }
        }
Beispiel #2
0
        /// <summary>
        /// 选择分区源表下拉列表的关闭事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void cmbOriginTable_Closed(object sender, DevExpress.XtraEditors.Controls.ClosedEventArgs e)
        {
            this._comboBox = (ComboBoxEdit)sender;

            if (this._comboBox.SelectedIndex != -1)
            {
                CommonUtil.BindcmbColumnIdentity(ref this._columnInfoSet, this.cmbColumnIdentity, this._comboBox.SelectedItem.ToString(), this._dbHelper);
            }
        }