示例#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";
     }
 }
示例#2
0
 public MainPage()
 {
     this.InitializeComponent();
     pro = new FullProgram(new string[] { });
 }