private void UpdateCodefacadeMenuClick(object sender, System.EventArgs e) { var list = (TableCollection)this.Object; var F = new TableCodeFacadeUpdateForm(list, TableCodeFacadeUpdateForm.FieldSettingConstants.CodeFacade); if (F.ShowDialog() == DialogResult.OK) { this.Refresh(); } }
private void UpdateTableNameMenuClick(object sender, System.EventArgs e) { try { var list = (TableCollection)this.Object; var F = new TableCodeFacadeUpdateForm(list, TableCodeFacadeUpdateForm.FieldSettingConstants.Name); if (F.ShowDialog() == DialogResult.OK) { this.Refresh(); } } catch (Exception ex) { MessageBox.Show(ex.Message, "", MessageBoxButtons.OK, MessageBoxIcon.Error); throw; } }