All pastes #204547 Raw Edit

staulkor

public text v1 · immutable
#204547 ·published 2006-10-16 01:43 UTC
rendered paste body
//OPTIONS.CS
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace IRCBotGUI
{
    public partial class Options : Form
    {
        public static string _server, _channel, _botname, _botnick;
        public static int _port;

        public Options()
        {
            InitializeComponent();
        }

        private void buttonOK_Click(object sender, EventArgs e)
        {
            _server = server.Text;
            _channel = channel.Text;
            _botname = botName.Text;
            _botnick = botNick.Text;
            _port = Convert.ToInt16(port.Text);
            Hide();
        }
    }
}