//窗体初始化函数 private void MainForm_Load(object sender, EventArgs e) { //启动界面 frmStartConnectionConfig fscc = new frmStartConnectionConfig(this); fscc.ShowDialog(); }
//连接配置 private void bConnectConfig_ItemClick(object sender, ItemClickEventArgs e) { //启动界面 frmStartConnectionConfig fscc = new frmStartConnectionConfig(null); fscc.ShowDialog(); }