public override void OnClick() { frmAttributeQueryBuilder queryBuilder = new frmAttributeQueryBuilder(_context) { Map = _context.MapControl.Map as IBasicMap }; queryBuilder.ShowDialog(); }
private void btnSQL_Click(object sender, EventArgs e) { frmAttributeQueryBuilder builder = new frmAttributeQueryBuilder { Table = this.igeoFeatureLayer_0.FeatureClass as ITable, WhereCaluse = this.iannotateLayerProperties_0.WhereClause }; if (builder.ShowDialog() == DialogResult.OK) { this.iannotateLayerProperties_0.WhereClause = builder.WhereCaluse; } }
private void btnQueryDialog_Click(object sender, EventArgs e) { frmAttributeQueryBuilder builder = new frmAttributeQueryBuilder { Table = this.Table, WhereCaluse = this.memoEdit.Text }; if (builder.ShowDialog() == DialogResult.OK) { this.memoEdit.Text = builder.WhereCaluse; } }
private void btnQueryDef_Click(object sender, EventArgs e) { if (this.igxObject_0 != null) { frmAttributeQueryBuilder builder = new frmAttributeQueryBuilder { Table = (this.igxObject_0 as IGxDataset).Dataset as ITable, WhereCaluse = this.txtWhere.Text }; if (builder.ShowDialog() == DialogResult.OK) { this.txtWhere.Text = builder.WhereCaluse; } } }
private void btnSQL_Click(object sender, EventArgs e) { frmAttributeQueryBuilder builder = new frmAttributeQueryBuilder { Table = this.igeoFeatureLayer_0.FeatureClass as ITable, WhereCaluse = this.iannotateLayerProperties_0.WhereClause }; if (builder.ShowDialog() == DialogResult.OK) { this.iannotateLayerProperties_0.WhereClause = builder.WhereCaluse; this.bool_3 = true; AnnotateLayerPropertiesWrap selectedItem = this.cboClass.SelectedItem as AnnotateLayerPropertiesWrap; selectedItem.Update = true; } }
private void btnQueryDialog_Click(object sender, EventArgs e) { if (this.itableDefinition_0 != null) { frmAttributeQueryBuilder builder = new frmAttributeQueryBuilder { Table = this.itableDefinition_0 as ITable, WhereCaluse = this.memoEdit.Text }; if (builder.ShowDialog() == DialogResult.OK) { this.memoEdit.Text = builder.WhereCaluse; this.bool_0 = true; } } }
private void btnQueryDialog_Click(object sender, EventArgs e) { if (this.cboLayer.SelectedIndex >= 0) { this.btnQueryDialog.Enabled = true; IFeatureLayer layer = (this.cboLayer.SelectedItem as LayerObject).Layer as IFeatureLayer; frmAttributeQueryBuilder builder = new frmAttributeQueryBuilder { CurrentLayer = layer, WhereCaluse = this.memoEdit.Text }; if (builder.ShowDialog() == DialogResult.OK) { this.memoEdit.Text = builder.WhereCaluse; } } }