Beispiel #1
0
        private void LoadData()
        {
            using (posb.Config con = new posb.Config())
            {
                string Server   = string.Empty;
                int    Port     = 0;
                string DataBase = string.Empty;
                string User     = string.Empty;
                string Password = string.Empty;

                con.GetConnectionParameters(out Server, out Port, out DataBase, out User, out Password);

                this.txtServer.Text   = Server;
                this.txtPort.Text     = Port.ToString();
                this.txtDataBase.Text = DataBase;
                this.txtUser.Text     = User;
                this.txtPassword.Text = Password;
            }
        }