root/lang/csharp/Criw-0/JoinForm.cs

Revision 1736, 1.0 kB (checked in by mayuki, 14 months ago)

lang/csharp: WZERO3などで動くIRCクライアントのサンプル実装 Criw-0 を追加。

  • Property svn:keywords set to Id
Line 
1using System;
2using System.Collections.Generic;
3using System.ComponentModel;
4using System.Data;
5using System.Drawing;
6using System.Text;
7using System.Windows.Forms;
8
9namespace Misuzilla.Applications.Mobile.Criw0
10{
11    public partial class JoinForm : Form
12    {
13        public String ChannelName
14        {
15            get { return textChannelName.Text; }
16        }
17        public JoinForm()
18        {
19            InitializeComponent();
20            this.DialogResult = DialogResult.Cancel;
21        }
22
23        private void buttonJoin_Click(object sender, EventArgs e)
24        {
25            this.DialogResult = DialogResult.OK;
26            this.Close();
27        }
28
29        private void menuItemJoin_Click(object sender, EventArgs e)
30        {
31            this.DialogResult = DialogResult.OK;
32            this.Close();
33        }
34
35        private void menuItemCancel_Click(object sender, EventArgs e)
36        {
37            this.DialogResult = DialogResult.Cancel;
38            this.Close();
39        }
40    }
41}
Note: See TracBrowser for help on using the browser.