コード例 #1
0
        private void btn_yeniisolustur_Click_1(object sender, EventArgs e)
        {
            TeknikKart tk = new TeknikKart();

            tk.Show();
            this.Hide(); //yeni iş oluştur butonu ile birlikte teknik kart forumuna yönlendirdik.
        }
コード例 #2
0
        private void btn_duzenle_Click(object sender, EventArgs e)
        {
            buton = true;
            try

            {
                a  = dataGridView1.CurrentRow.Cells["proje_kartno"].Value.ToString(); // verilere TeknikKart formunda ulaşabilmek için public static oluşturduğumuz değişkenlere aktarıyoruz.
                b  = dataGridView1.CurrentRow.Cells["proje_projeadi"].Value.ToString();
                c  = dataGridView1.CurrentRow.Cells["proje_tahminisure"].Value.ToString();
                ee = dataGridView1.CurrentRow.Cells["proje_aciklama"].Value.ToString();
                f  = dataGridView1.CurrentRow.Cells["proje_notlar"].Value.ToString();
                g  = dataGridView1.CurrentRow.Cells["proje_fk_uyeid"].Value.ToString();
                h  = dataGridView1.CurrentRow.Cells["proje_uzman"].Value.ToString();
                j  = dataGridView1.CurrentRow.Cells["proje_tarih"].Value.ToString();



                TeknikKart tkk = new TeknikKart();
                tkk.Show();
                this.Hide();
            }
            catch (Exception)
            {
                MessageBox.Show("Lütfen bir iş seçiniz!");
            }
        }