private void btnOpenTenDuongTable_ItemClick(object sender, ItemClickEventArgs e) { if (!_isConnected) { FrmTnBridgeConnetion frb = FrmTnBridgeConnetion.CallMe; frb.SetMainView(this); frb.ShowDialog(); return; } IAttributeView attView = new FrmAttribute(); attView.SetParent(this); string tableName = string.Format("{0}", DataNameTemplate.Ten_Duong); attView.SetTitle(tableName); attView.SetTableName(tableName); attView.SetAliasFieldsName(_tblName.TEN_DUONG.ALIAS_FIELD_LIST); attView.SetMapView(this._mapView); attView.SetDetailView(_calcLandView, _publicLandView); attView.Show(); }
private void btnOpenThuaTable_ItemClick(object sender, ItemClickEventArgs e) { if (!_isConnected) { FrmTnBridgeConnetion frb = FrmTnBridgeConnetion.CallMe; frb.SetMainView(this); frb.ShowDialog(); return; } IAttributeView attView = new FrmAttribute(); attView.SetParent(this); string tableName = string.Format("{0}_{1}", DataNameTemplate.Thua, _curConfig.NamApDung); attView.SetTitle(tableName); attView.SetTableName(tableName); attView.SetAliasFieldsName(_fcName.FC_THUA.ALIAS_FIELD_LIST); attView.SetMapView(this._mapView); attView.CalcController = _calcControllerForAtt; attView.Executor = _executorForAtt; attView.SetDetailView(_calcLandView, _publicLandView); attView.Show(); }
private void btnGiaDatHemPhu_ItemClick(object sender, ItemClickEventArgs e) { if (!_isConnected) { FrmTnBridgeConnetion frb = FrmTnBridgeConnetion.CallMe; frb.SetMainView(this); frb.ShowDialog(); return; } IAttributeView attView = new FrmAttribute(); attView.SetParent(this); string tableName = string.Format("{0}_{1}", DataNameTemplate.Gia_Hem_Phu, _curConfig.NamApDung); attView.SetTitle(tableName); attView.SetTableName(tableName); attView.SetAliasFieldsName(_fcName.FC_GIA_DAT_HEM_PHU.ALIAS_FIELD_LIST); attView.SetMapView(this._mapView); attView.SetDetailView(_calcLandView, _publicLandView); attView.Show(); }