示例#1
0
        private void dataGridViewResult_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            string dbDetail       = dataGridViewResult.SelectedRows[0].Cells[0].Value.ToString();
            string instanceDetail = dataGridViewResult.SelectedRows[0].Cells[1].Value.ToString();

            if (!string.IsNullOrEmpty(instanceDetail))
            {
                dbDetail = dbDetail + "\\" + instanceDetail;
            }

            CheckConnection newConnection = new CheckConnection();

            newConnection.setDbDetails(dbDetail);
            newConnection.Show();
        }
示例#2
0
        private void buttonCheckConnection_Click(object sender, EventArgs e)
        {
            CheckConnection newCheck = new CheckConnection();

            newCheck.Show();
        }