コード例 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            string      tcno        = dataGridView1.SelectedCells[0].Value.ToString();
            string      adisoyadi   = dataGridView1.SelectedCells[1].Value.ToString();
            MuayeneForm MuayeneForm = new MuayeneForm();

            MuayeneForm.textBox1.Text = tcno;
            MuayeneForm.textBox2.Text = adisoyadi;
            MuayeneForm.ShowDialog();
        }
コード例 #2
0
        public void MuayeneIslemleri()
        {
            MuayeneForm ob = new MuayeneForm();

            ob.TopLevel = false;

            ob.Dock = DockStyle.Fill;

            ob.FormBorderStyle = FormBorderStyle.None;
            tabPage3.Controls.Add(ob);
            ob.Show();
        }
コード例 #3
0
        private void dataGridView1_DoubleClick(object sender, EventArgs e)
        {
            //muaynekartı
            string      tcno        = dataGridView1.SelectedCells[0].Value.ToString();
            string      adisoyadi   = dataGridView1.SelectedCells[1].Value.ToString();
            MuayeneForm MuayeneForm = new MuayeneForm();

            MuayeneForm.textBox1.Text = tcno;
            MuayeneForm.hastatcno     = tcno;
            MuayeneForm.textBox2.Text = adisoyadi;
            MuayeneForm.ShowDialog();
        }
コード例 #4
0
        private void Muayene_Click(object sender, EventArgs e)
        {
            MuayeneForm ob = new MuayeneForm();

            ob.ShowDialog();
        }