Beispiel #1
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            addSurveyNames aSN = new addSurveyNames();

            aSN.lblSurveyNo.Text = "0";
            aSN.ShowDialog();
        }
Beispiel #2
0
        private void DGVsurvey_DoubleClick(object sender, EventArgs e)
        {
            string         surveyNoStr = DGVsurvey.SelectedRows[0].Cells["SurveyNo"].Value.ToString();//MessageBox.Show(drugNoStr);
            addSurveyNames add         = new addSurveyNames();

            add.lblSurveyNo.Text = surveyNoStr; //drugNoStr > 0 :  update
            add.ShowDialog();
        }