private async void Run_Click(object sender, RoutedEventArgs e) { if (Input.IsEnabled) { List <string> lista; Inline2018.Inline18 test = new Inline2018.Inline18(false); lista = await test.Run(Input.Text.Split('\r')); Output.Text = string.Join(Environment.NewLine, lista.ToArray()); } }
private async void Input_KeyUp(object sender, KeyRoutedEventArgs e) { if (liveRun && e.Key == VirtualKey.Enter && Input.Text != string.Empty) { List <string> lista; Inline2018.Inline18 test = new Inline2018.Inline18(true); lista = await test.Run(Input.Text.Replace(tekst, "").Split('\r')); tekst = Input.Text; Output.Text += string.Join(Environment.NewLine, lista.ToArray()); } }