コード例 #1
0
 private void showIslem(object sender, DataGridViewCellMouseEventArgs e)
 {
     if (e.RowIndex != -1)
     {
         selectedItem = new Tuple <int, DataGridViewCellCollection>(e.RowIndex, islemListGridView.Rows[e.RowIndex].Cells);
         IslemDuzenle islemDuzenle = new IslemDuzenle(this);
         islemDuzenle.ShowDialog();
     }
 }
コード例 #2
0
 private void makineDuzenleToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (islemListGridView.SelectedRows.Count == 1)
     {
         selectedItem = new Tuple <int, DataGridViewCellCollection>(islemListGridView.SelectedRows[0].Index, islemListGridView.SelectedRows[0].Cells);
         IslemDuzenle islemDuzenle = new IslemDuzenle(this);
         islemDuzenle.ShowDialog();
     }
     else
     {
         Notification.messageBoxError("BİR SORUN OLUŞTU, KAYIT SEÇİLEMEDİ !");
     }
 }