private void tsmSystemSet_Click(object sender, EventArgs e) { SystemSettingForm form = new SystemSettingForm(); form.Owner = this; form.ShowDialog(); }
public override void SetStyle() { if (string.IsNullOrEmpty(AppConfSetting.HospitalName)) { SystemSettingForm form = new SystemSettingForm(); form.Owner = this; var result = form.ShowDialog(); } base.SetStyle(); }
private void lb_System_Click(object sender, EventArgs e) { SystemSettingForm ssf = new SystemSettingForm(); if (ssf.ShowDialog() == DialogResult.OK) { if (MessageBox.Show("配置已发生改变,需要重新启动系统,现在就重新启动吗?", "重启", MessageBoxButtons.YesNo) == DialogResult.Yes) { Application.Restart(); } } }