コード例 #1
0
 /// <summary>
 /// 打开本界面时自动粘贴剪贴板并识别地址
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void ckAutoPasteAndRecognition_CheckedChanged(object sender, EventArgs e)
 {
     BillPrintHelper.SetAutoPasteAndRecognition(ckAutoPasteAndRecognition.Checked);
     if (ckAutoPasteAndRecognition.Checked)
     {
         ckAutoPasteAndRecognition.ShowTip(null, "打开界面自动识别剪贴板内容", ToolTipLocation.RightBottom, ToolTipType.SuperTip);
     }
 }