Exemplo n.º 1
0
        public Report2Sel(Report2 mom)
        {
            this.mom = mom;
            InitializeComponent();

            DataTable data = db.FetchAllSql("SELECT id,name FROM riders");
            foreach (DataRow rr in data.Rows)
            {
                this.comboBox1.Items.Add(rr[0] + ";" +rr[1]);
            }

            data = db.FetchAllSql("SELECT id,title FROM carfaces");
            foreach (DataRow rr in data.Rows)
            {
                this.comboBox2.Items.Add(rr[0] + ";" + rr[1]);
            }

            radioButton1.Checked = true;
        }
Exemplo n.º 2
0
 private void расчетВознагражденияВодетиляToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Report2 r1 = new Report2(this.global);
     r1.Show();
 }