Exemplo n.º 1
0
        private void IsciForm_Load(object sender, EventArgs e)
        {
            dataGridView1.DataSource = iscicmd.Select();
            VezifeMethod vezifecmd = new VezifeMethod();

            comboBox1.DataSource             = vezifecmd.Select();
            dataGridView1.Columns[0].Visible = false;
            comboBox1.DisplayMember          = "Ad";
            comboBox1.ValueMember            = "Id";
        }
Exemplo n.º 2
0
 private void VezifeFrom_Load(object sender, EventArgs e)
 {
     dataGridView1.DataSource         = cmd.Select();
     dataGridView1.Columns[0].Visible = false;
     numericUpDown1.Maximum           = 10000000;
 }