Beispiel #1
0
        private void btnsabegheh_Click(object sender, EventArgs e)
        {
            frmStdHisView fsh = new frmStdHisView();

            fsh.txtstdno.Text = this.txtstdno.Text;
            fsh.sabegheh      = true;
            fsh.Show();
        }
Beispiel #2
0
        private void btnsabegheh_Click(object sender, EventArgs e)
        {
            frmStdHisView fsh = new frmStdHisView();

            fsh.txtstdno.Text = dataGridView1["stdno", dataGridView1.CurrentCell.RowIndex].Value.ToString();
            fsh.sabegheh      = true;
            fsh.Show();
        }
Beispiel #3
0
        private void btn_class_sabegheh_Click(object sender, EventArgs e)
        {
            frmStdHisView fsh = new frmStdHisView();
            int           row = dataGridView4.CurrentRow.Index;
            string        val = dataGridView1["stdno", row].Value.ToString();

            fsh.txtstdno.Text = val;
            fsh.sabegheh      = true;
            fsh.Show();
        }
Beispiel #4
0
        private void دفترمعیینهنرجویانToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            bool IsOpen = false;

            foreach (Form f in Application.OpenForms)
            {
                if (f.GetType() == typeof(frmStdHisView))
                {
                    IsOpen = true;
                    f.Focus();
                    break;
                }
            }

            if (IsOpen == false)
            {
                frmStdHisView fshv = new frmStdHisView();
                fshv.MdiParent = this;
                fshv.Show();
            }
        }