private void btnAddSche_Click(object sender, EventArgs e) { resetText(); enableText(); txtScheduleId.Text = CodeAutomaticID.NextID(scheduleBus.getLastIdBus(), "L"); TEMP = 1; }