private void btnBold_Click(object sender, EventArgs e) { switch ((sender as ToolStripButton).Tag.ToString()) { case "0": FEmrView.ApplyTextStyle(HCFontStyle.tsBold); break; case "1": FEmrView.ApplyTextStyle(HCFontStyle.tsItalic); break; case "2": FEmrView.ApplyTextStyle(HCFontStyle.tsUnderline); break; case "3": FEmrView.ApplyTextStyle(HCFontStyle.tsStrikeOut); break; case "4": FEmrView.ApplyTextStyle(HCFontStyle.tsSuperscript); break; case "5": FEmrView.ApplyTextStyle(HCFontStyle.tsSubscript); break; } }