private void btnSetting_Click(object sender, EventArgs e) { FrmSetting set = new FrmSetting(); set.ShowDialog(); if (set.isOk == true) { this.Text = "efwplusServer 云医院中间件【" + HostSettingConfig.GetValue("hostname") + "】"; this.notifyIcon1.Text = this.Text; } }
//设置 private void btnSetting_Click(object sender, EventArgs e) { FrmSetting frmsetting = new FrmSetting(); frmsetting.ShowDialog(); }