Exemplo n.º 1
0
        private void btn_ftr_duzenle_Click(object sender, EventArgs e)
        {
            fatura_duzenle obj = new fatura_duzenle();

            obj.lbl_id.Text        = id;
            obj.txt_fatura_no.Text = fatura_no;
            obj.cmb_projeNo.Text   = proje_no;
            obj.cmb_firma.Text     = firma;
            obj.txt_ftr_vade.Text  = vade;
            obj.rcb_acıklama.Text  = acıklama;
            obj.date_alarm.Value   = vade_tarih;
            obj.txt_ftr_tarih.Text = fatura_tarih;
            obj.ck_alarm.Checked   = Convert.ToBoolean(check);
            obj.txt_ftr_tutar.Text = tutar;
            obj.cmb_birim.Text     = birim;
            obj.txt_avans.Text     = avans;
            obj.lbl_tip.Text       = tip;
            obj.cmb_ftr_tip.Text   = cins;
            if (durum == "ÖDENDİ")
            {
                obj.cb_durum.Checked = true;
            }
            else
            {
                obj.cb_durum.Checked = false;
            }
            obj.Show();
        }
Exemplo n.º 2
0
        private void dgw_ftr_list_RowHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            fatura_duzenle obj = new fatura_duzenle();

            id           = dgw_ftr_list.Rows[e.RowIndex].Cells[0].Value.ToString();
            fatura_no    = dgw_ftr_list.Rows[e.RowIndex].Cells[1].Value.ToString();
            proje_no     = dgw_ftr_list.Rows[e.RowIndex].Cells[2].Value.ToString();
            firma        = dgw_ftr_list.Rows[e.RowIndex].Cells[3].Value.ToString();
            vade         = dgw_ftr_list.Rows[e.RowIndex].Cells[4].Value.ToString();
            acıklama     = dgw_ftr_list.Rows[e.RowIndex].Cells[6].Value.ToString();
            vade_tarih   = Convert.ToDateTime(dgw_ftr_list.Rows[e.RowIndex].Cells[5].Value.ToString());
            fatura_tarih = dgw_ftr_list.Rows[e.RowIndex].Cells[7].Value.ToString();
            check        = Convert.ToInt32(dgw_ftr_list.Rows[e.RowIndex].Cells[8].Value);
            tutar        = dgw_ftr_list.Rows[e.RowIndex].Cells[9].Value.ToString();
            birim        = dgw_ftr_list.Rows[e.RowIndex].Cells[10].Value.ToString();
            avans        = dgw_ftr_list.Rows[e.RowIndex].Cells[11].Value.ToString();
            tip          = dgw_ftr_list.Rows[e.RowIndex].Cells[13].Value.ToString();
            cins         = dgw_ftr_list.Rows[e.RowIndex].Cells[14].Value.ToString();
            durum        = dgw_ftr_list.Rows[e.RowIndex].Cells[15].Value.ToString();
        }