Esempio n. 1
0
 private void btnClear_Line_1_Click(object sender, EventArgs e)
 {
     if (btnClear_Line_1.Text == "清除")
     {
         DMSDK.DM_ClearLine(StaticClass.tempConnect, 1);
         sqlCreate.Delete_Line(StaticClass.Temper_CameraId, "L1", StaticClass.DataBaseName);
         tbxLine_1_X1.Text = "0";
         tbxLine_1_Y1.Text = "0";
         tbxLine_1_X2.Text = "0";
         tbxLine_1_Y2.Text = "0";
         tbxLine_1_X3.Text = "0";
         tbxLine_1_Y3.Text = "0";
     }
     else if (btnClear_Line_1.Text == "取消")
     {
         Cancel_SetLine("L1", btnAdd_Line_1, tbxLine_1_X1, tbxLine_1_Y1, tbxLine_1_X2, tbxLine_1_Y2, tbxLine_1_X3, tbxLine_1_Y3, tbxLine_1_Emiss, btnClear_Line_1);
     }
 }