示例#1
0
        private void button1_Click(object sender, EventArgs e)
        {
            List <int> marked = Methods.getIdFromColumnNO(0, dataGridView1.SelectedRows);
            var        form   = new FormPayments();

            form.dataGridView1.DataSource = form.Dataset.Where(x => marked.Contains(x.identyfikator_wynajmnu)).ToList();
            form.Show();
        }
示例#2
0
        private void button8_Click(object sender, EventArgs e)
        {
            var form = new FormPayments();

            form.Show();
        }