Exemplo n.º 1
0
        private void btnDuzelt_Click(object sender, EventArgs e)
        {
            GunlukFis gnkf = new GunlukFis();

            // gnkf.txtKisiSayisi.Text = 15.ToString();
            gnkf.lblGelenId.Text      = this.dataGridView1.CurrentRow.Cells[0].Value.ToString();
            gnkf.cbFirma.Text         = this.dataGridView1.CurrentRow.Cells[2].Value.ToString().Trim();
            gnkf.dateTimePicker1.Text = this.dataGridView1.CurrentRow.Cells[1].Value.ToString();
            gnkf.txtAciklama.Text     = "Fişi " + DateTime.Now.ToShortDateString().ToString() + " tarihinde getirdi";

            gnkf.lblGuncelle.Text        = "guncelle";
            gnkf.cbFirma.Enabled         = false;
            gnkf.dateTimePicker1.Enabled = false;

            gnkf.Show();
        }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            GunlukFis gnlkFis = new GunlukFis();

            gnlkFis.Show();
        }