private void btnClear_Spot_4_Click(object sender, EventArgs e) { if (btnClear_Spot_4.Text == "清除") { DMSDK.DM_ClearSpot(StaticClass.tempConnect, 5); sqlCreate.Delete_Spot(StaticClass.Temper_CameraId, "S5", StaticClass.DataBaseName); tbxSpot_4_X.Text = "0"; tbxSpot_4_Y.Text = "0"; } else if (btnClear_Spot_4.Text == "取消") { Cancel_SetSpot("S5", btnAdd_Spot_4, tbxSpot_4_X, tbxSpot_4_Y, tbxSpot_4_Emiss, btnClear_Spot_4); } }