Exemplo n.º 1
0
        private void btnHistoryMandehEdit_Click(object sender, EventArgs e)
        {
            if (grdDataViewHistory.Rows.Count > 0)
            {
                frmStdMandehEdit fsmhe = new frmStdMandehEdit();
                fsmhe.txtstdno.Text = grdDataViewHistory["stdno", 0].Value.ToString();
                fsmhe.ShowDialog();

                fillHistoryInfo();
            }
        }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (dataGridView1.Rows.Count > 0)
            {
                frmStdMandehEdit fsmhe = new frmStdMandehEdit();
                fsmhe.txtstdno.Text = dataGridView1["stdno", 0].Value.ToString();
                fsmhe.ShowDialog();

                btnfilter.PerformClick();
            }
        }