コード例 #1
0
 public OperatorListesi(Form rapor = null)
 {
     InitializeComponent();
     if (rapor is RaporOlustur)
     {
         this.raporOlustur = (RaporOlustur)rapor;
     }
     else if (rapor is RaporDuzenle)
     {
         this.raporDuzenle = (RaporDuzenle)rapor;
     }
 }
コード例 #2
0
 private void duzenleToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (raporListGridView.SelectedRows.Count == 1)
     {
         selectedItem = new Tuple <int, DataGridViewCellCollection>(raporListGridView.SelectedRows[0].Index, raporListGridView.SelectedRows[0].Cells);
         RaporDuzenle raporDuzenle = new RaporDuzenle(this);
         raporDuzenle.ShowDialog();
     }
     else
     {
         Notification.messageBoxError("BİR SORUN OLUŞTU, KAYIT SEÇİLEMEDİ!");
     }
 }