Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- namespace t_DialogMaker
- {
- public partial class Form1 : Form
- {
- public string Dialog_Style = "DIALOG_STYLE_LIST";
- public Form1()
- {
- InitializeComponent();
- }
- private void Form1_Load(object sender, EventArgs e)
- {
- }
- private void radioButton1_CheckedChanged(object sender, EventArgs e)
- {
- Dialog_Style = "DIALOG_STYLE_LIST";
- }
- private void radioButton2_CheckedChanged(object sender, EventArgs e)
- {
- Dialog_Style = "DIALOG_STYLE_MSGBOX";
- }
- private void radioButton3_CheckedChanged(object sender, EventArgs e)
- {
- Dialog_Style = "DIALOG_STYLE_INPUT";
- }
- private void radioButton4_CheckedChanged(object sender, EventArgs e)
- {
- Dialog_Style = "DIALOG_STYLE_PASSWORD";
- }
- private void button1_Click(object sender, EventArgs e)
- {
- textBox6.Text = "ShowPlayerDialog(playerid," + textBox1.Text + "," + Dialog_Style + "," + "\"" + textBox2.Text + "\"," +"\"" + textBox3.Text +"\"," +"\"" +textBox4.Text+ "\""+","+"\""+textBox5.Text+"\"" +");";
- }
- private void button2_Click(object sender, EventArgs e)
- {
- System.Windows.Forms.MessageBox.Show("Dieses Tool wurde von !TheO erstellt!");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement