コード例 #1
0
ファイル: frmGhabzEdit.cs プロジェクト: ppourali/Rohab_new
        private void btnsabegheh_Click(object sender, EventArgs e)
        {
            frmStdHisView fsh = new frmStdHisView();

            fsh.txtstdno.Text = this.txtstdno.Text;
            fsh.sabegheh      = true;
            fsh.Show();
        }
コード例 #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();
        }
コード例 #3
0
ファイル: frmHozoorInp.cs プロジェクト: ppourali/Rohab_new
        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();
        }
コード例 #4
0
ファイル: frmMain.cs プロジェクト: ppourali/Rohab_new
        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();
            }
        }