protected void on_show_repetitions_row_delete(object o, EventArgs args) { LogB.Information("row delete at show curves"); int uniqueID = genericWin.TreeviewSelectedUniqueID; string status = genericWin.GetCheckboxStatus(uniqueID); DeleteCurveID = uniqueID; FakeButtonDeleteCurve.Click(); if (status == "active") { RepsActive--; } RepsAll--; genericWin.Delete_row_accepted(); FakeButtonDone.Click(); }
protected void on_show_repetitions_row_delete(object o, EventArgs args) { confirmWin.Button_accept.Clicked -= new EventHandler(on_show_repetitions_row_delete); LogB.Information("row delete at show curves"); int uniqueID = genericWinESR.TreeviewSelectedUniqueID; bool status = genericWinESR.GetCheckboxStatus(uniqueID); if (status) //active { RepsActive--; } RepsAll--; DeleteCurveID = uniqueID; FakeButtonDeleteCurve.Click(); genericWinESR.Delete_row_accepted(); FakeButtonDone.Click(); }