Пример #1
0
        private void toolStripButton8_Click(object sender, EventArgs e)
        {
            GiftCertificate form = new GiftCertificate(parent.admin, false, Convert.ToInt32(
                                                           pilotsList_dataGridView1.SelectedRows[0].Cells[0].Value.ToString()));

            form.ShowDialog();
            form.Dispose();
        }
Пример #2
0
        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            GiftCertificate form = new GiftCertificate(admin, false, PilotID);

            form.Owner = this;
            form.ShowDialog();
            form.Dispose();
        }