예제 #1
0
 private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.ColumnIndex == 6)
     {
         id = (int)(dataGridView1.SelectedRows[0].Cells[0].Value);
         AttachListForm alf = new AttachListForm(id, CommonClass.listDIC[0].sAddFile);
         alf.Show(this);
     }
 }
예제 #2
0
        private void labelAttachAdd_Click(object sender, EventArgs e)
        {
            //using (AttachListForm alf = new AttachListForm())
            //{
            //    alf.Show(this);
            //}

            AttachListForm alf = new AttachListForm(id, CommonClass.listDIC[0].sAddFile);

            alf.Show(this);

            //aaf = new AttachAddForm(id_case, idfFile);

            //DialogResult dr = aaf.ShowDialog(this);
            //if (dr == DialogResult.OK)
            //{

            //}
        }