private void btULDBreakOnOff_Click(object sender, EventArgs e) { const int iBreakAdd = 3; bool bBreakStat = ML.MT_GetY(mi.ULDR_ZClmp, iBreakAdd); ML.MT_SetY(mi.ULDR_ZClmp, iBreakAdd, !bBreakStat); }
private void btULDBreakOnOff_Click(object sender, EventArgs e) { string sText = ((Button)sender).Text; Log.Trace(sFormText + sText + " Button Clicked", ForContext.Frm); if (SEQ._bRun) { return; } const int iBreakAdd = 3; bool bBreakStat = ML.MT_GetY(mi.ULDR_ZClmp, iBreakAdd); ML.MT_SetY(mi.ULDR_ZClmp, iBreakAdd, !bBreakStat); }