private void buttonSyncDb_Click(object sender, EventArgs e)
 {
     using (CheckConnection childform = new CheckConnection())
     {
         childform.setSyncDb(true);
         childform.ShowDialog(this);
     }
 }
예제 #2
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();
        }
예제 #3
0
        private void buttonCheckConnection_Click(object sender, EventArgs e)
        {
            CheckConnection newCheck = new CheckConnection();

            newCheck.Show();
        }