Example #1
0
        //Yeni bir task eklemek için yeni forma yönlendiren blok
        private void btnTaskEkle_Click(object sender, EventArgs e)
        {
            TaskAyarları task = new TaskAyarları();

            task.kullaniciNo  = userId;
            task.ProjeNo      = projectId;
            task.ProjeAdi     = projectName;
            task.KartAdi      = "Kart Adı";
            task.KullaniciAdi = userName;
            task.Show();
            this.Hide();
        }
Example #2
0
        //5. durum paneli üzerinde bulunan butonların üzerine tıklanınca çalışacak blok
        void yapildi_Click(object sender, EventArgs e)
        {
            TaskAyarları task = new TaskAyarları();

            task.kullaniciNo  = userId;
            task.KullaniciAdi = userName;
            task.ProjeAdi     = projectName;
            task.ProjeNo      = projectId;
            task.KartAdi      = ((Button)sender).Text;
            task.Show();
            this.Hide();
        }