Ejemplo n.º 1
0
 private void ProgramBox_TextChanged(object sender, TextChangedEventArgs e)
 {
     string[] ProgramInput = ProgramBox.Text.Split(new[] { '\r', '\n' });
     try
     {
         pro          = new FullProgram(ProgramInput);
         Success.Text = "No errors";
     }
     catch
     {
         Success.Text = "So many errors";
     }
 }
Ejemplo n.º 2
0
 public MainPage()
 {
     this.InitializeComponent();
     pro = new FullProgram(new string[] { });
 }