예제 #1
0
        //环境设置按钮事件
        private void button_EnvironmentSetting_Click(object sender, EventArgs e)
        {
            //创建并显示环境设置对话框
            EnviromentSelectionForm esf = new EnviromentSelectionForm(m_clientSocket);

            esf.ShowDialog(this);
        }
예제 #2
0
        private void button_set_Click(object sender, EventArgs e)
        {
            this.Hide();
            EnviromentSelectionForm esf = new EnviromentSelectionForm(m_clientSocket);

            esf.ShowDialog(this.ParentForm);
            this.Close();
        }