Пример #1
0
        private void yeniToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmHatirlatmaUzat Hatirlat = new frmHatirlatmaUzat(DateTime.Now, DateTime.Now, 0);

            DB.pkHatirlatma = 0;
            Hatirlat.ShowDialog();

            GunlukHatirlatmalar();
        }
Пример #2
0
        private void ödemeHatırlatmaEkleToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (gridView1.FocusedRowHandle < 0)
            {
                return;
            }

            DataRow dr = gridView1.GetDataRow(gridView1.FocusedRowHandle);

            frmHatirlatmaUzat uyar = new frmHatirlatmaUzat(DateTime.Now, DateTime.Now.AddHours(1), int.Parse(dr["pkFirma"].ToString()));

            DB.pkHatirlatmaAnimsat = 0;
            uyar.ShowDialog();
        }
Пример #3
0
        private void açToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (gridView1.FocusedRowHandle < 0)
            {
                return;
            }

            DataRow dr = gridView1.GetDataRow(gridView1.FocusedRowHandle);

            frmHatirlatmaUzat Hatirlat            = new frmHatirlatmaUzat(DateTime.Now, DateTime.Now, 0);
            string            pkHatirlatmaAnimsat = dr["pkHatirlatmaAnimsat"].ToString();

            DB.pkHatirlatma = int.Parse(pkHatirlatmaAnimsat);
            Hatirlat.ShowDialog();

            GunlukHatirlatmalar();
        }
Пример #4
0
        private void hatırlatmaEkleToolStripMenuItem_Click(object sender, EventArgs e)
        {
            int i = gridView1.FocusedRowHandle;

            if (i < 0)
            {
                return;
            }

            DataRow dr = gridView1.GetDataRow(i);

            string pkFirma = dr["pkFirma"].ToString();

            frmHatirlatmaUzat Hatirlat = new frmHatirlatmaUzat(DateTime.Now, DateTime.Now, int.Parse(pkFirma));

            DB.pkHatirlatmaAnimsat = 0;
            Hatirlat.ShowDialog();

            gridView1.FocusedRowHandle = i;
        }