MiqueiasBarros

Untitled

Sep 24th, 2011
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.78 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9.  
  10. namespace paraiba
  11. {
  12.     public partial class Form1 : Form
  13.     {
  14.         public Form1()
  15.         {
  16.             InitializeComponent();
  17.         }
  18.  
  19.         private void button1_Click(object sender, EventArgs e)
  20.         {
  21.             if (textBox1.Text != "")
  22.             {
  23.  
  24.                 richTextBox1.Text = "public OnPlayerConnect(" + textBox1.Text + ")\n{\n  Ban(playerid);\n    return 1;\n}"; // seta o texto do text box grandão
  25.                 //funçao do botao...
  26.             }
  27.         }
  28.  
  29.         private void Form1_Load(object sender, EventArgs e)
  30.         {
  31.  
  32.         }
  33.     }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment