Пример #1
0
        private void button_hostManage_Click(object sender, EventArgs e)
        {
            DigitalPlatform.DTLP.HostManageDlg dlg
                = new DigitalPlatform.DTLP.HostManageDlg();
            GuiUtil.SetControlFont(dlg, this.Font);

            dlg.applicationInfo = MainForm.AppInfo;
            dlg.StartPosition   = FormStartPosition.CenterScreen;
            dlg.ShowDialog(this);

            if (dlg.DialogResult == DialogResult.OK)
            {
                MessageBox.Show(this, "服务器地址修改后,需要重新打开相关窗口,新的配置才能反映在资源树中 ...");
            }
        }
Пример #2
0
        private void button_hostManage_Click(object sender, EventArgs e)
        {
            DigitalPlatform.DTLP.HostManageDlg dlg
    = new DigitalPlatform.DTLP.HostManageDlg();
            GuiUtil.SetControlFont(dlg, this.Font);

            dlg.applicationInfo = MainForm.AppInfo;
            dlg.StartPosition = FormStartPosition.CenterScreen;
            dlg.ShowDialog(this);

            if (dlg.DialogResult == DialogResult.OK)
            {
                MessageBox.Show(this, "服务器地址修改后,需要重新打开相关窗口,新的配置才能反映在资源树中 ...");
            }

        }