Ejemplo n.º 1
0
 private void WorkBtn_Click(object sender, EventArgs e)
 {
     try
     {
         IntQueue queue = new IntQueue(StrToIntList(Input.Text));
         queue.RemoveAfterD((int)GetD.Value);
         Output.Text           = IntListToString(queue.ToList());
         SaveOutputBtn.Enabled = true;
     }
     catch (Exception)
     {
         MessageBox.Show("некорректный ввод", "Error");
     }
 }