Exemple #1
0
        private void button_edit_z3950_Click(object sender, EventArgs e)
        {
            InstallZServerDlg dlg = new InstallZServerDlg();

            FontUtil.AutoSetDefaultFont(dlg);

            dlg.CfgDom        = this.CfgDom;
            dlg.StartPosition = FormStartPosition.CenterScreen;
            dlg.ShowDialog(this);

            if (dlg.DialogResult == System.Windows.Forms.DialogResult.Cancel)
            {
                return;
            }

            this.Changed = true;
            // 刷新显示
            this.DisplayDp2zserverInfo();
        }
Exemple #2
0
 void DisplayDp2zserverInfo()
 {
     this.textBox_z3950_def.Text = InstallZServerDlg.GetDisplayText(this.CfgDom);
 }