コード例 #1
0
 private void _dgv1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     if (globalData.UserAccess == 1)
     {
         AddEditMat aemat = new AddEditMat(_dgv1.Rows[_dgv1.SelectedCells[0].RowIndex].Cells["mat_id"].Value.ToString());
         aemat.ShowDialog();
     }
 }
コード例 #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            AddEditMat aemat = new AddEditMat();

            aemat.ShowDialog();
        }