Exemplo n.º 1
0
 private void codeButton_Click(object sender, EventArgs e)
 {
     string text = @"function onLoad() { }
     function update() { }
     function inRange() { }
     function touch() { }
     function hurt() { }";
     if (currentCode != "" && currentCode != null)
         text = currentCode;
     CodeDialog cD = new CodeDialog(getCode, text);
     cD.Show();
 }
Exemplo n.º 2
0
 private void codeButton_Click(object sender, EventArgs e)
 {
     string text = @"function onLoad() { }
     function update() { }";
     if (currentRoom.code != null)
         text = currentRoom.code;
     CodeDialog cD = new CodeDialog(newRoomCode, text);
     cD.Show();
 }
Exemplo n.º 3
0
 private void creditsButton_Click(object sender, EventArgs e)
 {
     CodeDialog cD = new CodeDialog(getCredits, currentFile.credits);
     cD.Show();
 }
Exemplo n.º 4
0
 private void openingButton_Click(object sender, EventArgs e)
 {
     CodeDialog cD = new CodeDialog(getOpening, currentFile.opening);
     cD.Show();
 }