private void OnInfoControlResultChanged(InfoControlResult new_result) { switch (new_result) { case InfoControlResult.BACK: { showControl(info_control.LastControl); } break; default: { } break; } }
/// <summary> /// Событие, возникающие при нажатии кнопки "НАЗАД" /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void ButtonBack_Click(object sender, EventArgs e) { Result = InfoControlResult.BACK; }