private void mniDisBorder_Click(object sender, EventArgs e) { if (FEmrView.ActiveSection.ActiveData.GetActiveItem() is HCTableItem) { HCTableItem vTable = FEmrView.ActiveSection.ActiveData.GetActiveItem() as HCTableItem; vTable.BorderVisible = !vTable.BorderVisible; FEmrView.UpdateView(); } }