Beispiel #1
0
 private void btnClear_Area_4_Click(object sender, EventArgs e)
 {
     if (btnClear_Area_4.Text == "清除")
     {
         DMSDK.DM_ClearArea(StaticClass.tempConnect, 9);
         sqlCreate.Delete_Area(StaticClass.Temper_CameraId, "A9", StaticClass.DataBaseName);
         tbxArea_4_X1.Text = "0";
         tbxArea_4_X2.Text = "0";
         tbxArea_4_Y1.Text = "0";
         tbxArea_4_Y2.Text = "0";
     }
     else if (btnClear_Area_4.Text == "取消")
     {
         Cancel_SetArea("A9", btnAdd_Area_4, tbxArea_4_X1, tbxArea_4_Y1, tbxArea_4_X2, tbxArea_4_Y2, tbxArea_4_Emiss, cbxMeasureType_4, btnClear_Area_4);
     }
 }