Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2013
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.58 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.  
  11.  
  12.  
  13. namespace t_DialogMaker
  14. {
  15.     public partial class Form1 : Form
  16.     {
  17.         public string Dialog_Style = "DIALOG_STYLE_LIST";
  18.  
  19.         public Form1()
  20.         {
  21.             InitializeComponent();
  22.         }
  23.  
  24.         private void Form1_Load(object sender, EventArgs e)
  25.         {
  26.  
  27.         }
  28.  
  29.         private void radioButton1_CheckedChanged(object sender, EventArgs e)
  30.         {
  31.             Dialog_Style = "DIALOG_STYLE_LIST";
  32.         }
  33.  
  34.         private void radioButton2_CheckedChanged(object sender, EventArgs e)
  35.         {
  36.             Dialog_Style = "DIALOG_STYLE_MSGBOX";
  37.         }
  38.  
  39.         private void radioButton3_CheckedChanged(object sender, EventArgs e)
  40.         {
  41.             Dialog_Style = "DIALOG_STYLE_INPUT";
  42.         }
  43.  
  44.         private void radioButton4_CheckedChanged(object sender, EventArgs e)
  45.         {
  46.             Dialog_Style = "DIALOG_STYLE_PASSWORD";
  47.         }
  48.  
  49.         private void button1_Click(object sender, EventArgs e)
  50.         {
  51.             textBox6.Text = "ShowPlayerDialog(playerid," + textBox1.Text + "," + Dialog_Style + "," + "\"" + textBox2.Text + "\"," +"\"" + textBox3.Text +"\"," +"\"" +textBox4.Text+ "\""+","+"\""+textBox5.Text+"\"" +");";
  52.         }
  53.  
  54.         private void button2_Click(object sender, EventArgs e)
  55.         {
  56.             System.Windows.Forms.MessageBox.Show("Dieses Tool wurde von !TheO erstellt!");
  57.         }
  58.  
  59.     }
  60. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement