Exemplo n.º 1
0
 protected void btnSaveSolution_Click(object sender, EventArgs e)
 {
     setCodeRepeatValues();
     Console.WriteLine(codeRepeat.ToJson());
     CodeRepeaterService.SaveCodeRepeat(codeRepeat, this.textBoxSolutionName.Text);
     setSolutionListboxByDir();
 }
Exemplo n.º 2
0
 // Solution Change
 protected void solutionListBox_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (this.solutionListBox.SelectedItem != null)
     {
         var solution = this.solutionListBox.SelectedItem.ToString();
         codeRepeat = CodeRepeaterService.LoadCodeReater(solution);
         setUIFromCodeRepeat(codeRepeat);
     }
 }
Exemplo n.º 3
0
 protected void btnDeleteSolution_Click(object sender, EventArgs e)
 {
     if (this.solutionListBox.SelectedItem != null)
     {
         var solution = this.solutionListBox.SelectedItem.ToString();
         CodeRepeaterService.DeleteCodeRepeat(solution);
         ResetCodeRepeater();
         setSolutionListboxByDir();
     }
 }
Exemplo n.º 4
0
 protected void btnRunCodeRepeat_Click(object sender, EventArgs e)
 {
     setCodeRepeatValues();
     this.textBoxOutput.Text = CodeRepeaterService.RunCodeRepeat(codeRepeat);
     Clipboard.SetText(this.textBoxOutput.Text);
 }