private void LKAA_Dom_click(object sender, RoutedEventArgs e) { SquawkCounter counter = new SquawkCounter(); int newSquawk = counter.countSquawk(Globals.LKAA_DOM_MIN(), Globals.LKAA_DOM_MAX(), Globals.previousLKAAdom); Globals.previousLKAAdom = newSquawk; Code.Text = newSquawk.ToString(); }
private void LKAA_West_click(object sender, RoutedEventArgs e) { SquawkCounter counter = new SquawkCounter(); int newSquawk = counter.countSquawk(Globals.LKAA_WEST_MIN(), Globals.LKAA_WEST_MAX(), Globals.prevLKAAwest); Globals.prevLKAAwest = newSquawk; Code.Text = newSquawk.ToString(); }
private void LKAA_MAN_click(object sender, RoutedEventArgs e) { SquawkCounter counter = new SquawkCounter(); int newSquawk = counter.countSquawk(Globals.LKAA_MAN_MIN(), Globals.LKAA_MAN_MAX(), Globals.prevLKAAmnl); Globals.prevLKAAmnl = newSquawk; Code.Text = newSquawk.ToString("D4"); }