Example #1
0
        public string connde()
        {
            string d = "";

            {
                try
                {
                    string DbDec = setup.ReadRegistryKey("ConnString", "sehun");
                    // string constr = setup.AES_Decrypt(DbDec, db.password);
                    conn = new MySqlConnection();
                    conn.ConnectionString = DbDec;

                    conn.Open();
                    conn.Close();
                }
                catch (Exception ex)
                {
                    frmConnection conn = new frmConnection();
                    conn.ShowDialog();
                }
            }
            return(d);
        }
Example #2
0
        private void lnkEditConnection_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            frmConnection conn = new frmConnection();

            conn.Show();
        }