Esempio n. 1
0
        private void журналПроводокToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormProvodki provodki = new FormProvodki();

            provodki.selectCommand = "Select * from Provodki";
            provodki.ShowDialog();
        }
Esempio n. 2
0
        private void buttonProvodki_Click(object sender, EventArgs e)
        {
            int          CurrentRow    = dataGridViewJournal.SelectedCells[0].RowIndex;
            string       CodeOperation = dataGridViewJournal[2, CurrentRow].Value.ToString();
            FormProvodki provodki      = new FormProvodki();

            provodki.selectCommand = "Select * from Provodki where OperationID='" + CodeOperation + "'";
            provodki.ShowDialog();
        }