示例#1
0
        private void customSetupButton_Click(object sender, EventArgs e)
        {
            if (customServerForm == null)
                customServerForm = new AddCustomServerForm(form, this);

            if (!customServerForm.Visible)
                customServerForm.Show();
        }
示例#2
0
        public AddServerForm(Form1 form)
        {
            InitializeComponent();

            this.form = form;

            simpleServerForm = new AddSimpleServerForm(form, this);
            customServerForm = new AddCustomServerForm(form, this);
        }
示例#3
0
        public AddServerForm(Form1 form)
        {
            InitializeComponent();

            this.form = form;

            simpleServerForm = new AddSimpleServerForm(form, this);
            customServerForm = new AddCustomServerForm(form, this);
        }
示例#4
0
        private void customSetupButton_Click(object sender, EventArgs e)
        {
            if (customServerForm == null)
            {
                customServerForm = new AddCustomServerForm(form, this);
            }

            if (!customServerForm.Visible)
            {
                customServerForm.Show();
            }
        }