Пример #1
0
 private void showMakine(object sender, DataGridViewCellMouseEventArgs e)
 {
     if (e.RowIndex != -1)
     {
         selectedItem = new Tuple <int, DataGridViewCellCollection>(e.RowIndex, makListGridView.Rows[e.RowIndex].Cells);
         MakineDuzenle makineDuzenle = new MakineDuzenle(this);
         makineDuzenle.ShowDialog();
     }
 }
Пример #2
0
 private void makineDuzenleToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (makListGridView.SelectedRows.Count == 1)
     {
         selectedItem = new Tuple <int, DataGridViewCellCollection>(makListGridView.SelectedRows[0].Index, makListGridView.SelectedRows[0].Cells);
         MakineDuzenle makineDuzenle = new MakineDuzenle(this);
         makineDuzenle.ShowDialog();
     }
     else
     {
         Notification.messageBoxError("BİR SORUN OLUŞTU, KAYIT SEÇİLEMEDİ !");
     }
 }