コード例 #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            OpSQLlite conn = new OpSQLlite();

            if (conn.ExistConn())
            {
                String key = "trugLk";
                textBoxServerName.Text = conn.Getconnection(0);
                textBoxDBName.Text     = conn.Getconnection(1);
                textBoxDBID.Text       = conn.Getconnection(2);
                textBoxDBPass.Text     = Cryptography.Decrypt(conn.Getconnection(3), key);
                textBoxSAPUser.Text    = conn.Getconnection(4);
                textBoxSAPPass.Text    = Cryptography.Decrypt(conn.Getconnection(5), key);
                textBoxLiberEnd.Text   = conn.Getconnection(6);
                textBoxLiberUser.Text  = conn.Getconnection(7);
                textBoxPassLiber.Text  = Cryptography.Decrypt(conn.Getconnection(8), key);
                textBoxLiberPort.Text  = conn.Getconnection(10);
            }

            conn.CloseConnection();
        }