protected override void New(object sender)
        {
            frmTakvimSablonu sablonform = new frmTakvimSablonu();
            sablonform.MdiParent = this.MdiParent;
            sablonform.Text = "Takvim Şablon Formu";
            sablonform.Show();

            //((MdiTabControl.TabControl)(this.Parent.Parent)).TabPages.Add(kisiform);
        }
        protected override void New(object sender)
        {
            frmTakvimSablonu sablonform = new frmTakvimSablonu();

            sablonform.MdiParent = this.MdiParent;
            sablonform.Text      = "Takvim Şablon Formu";
            sablonform.Show();

            //((MdiTabControl.TabControl)(this.Parent.Parent)).TabPages.Add(kisiform);
        }
        protected override void View(object sender)
        {
            if (grid.CurrentRow != null && grid.CurrentRow.Cells["id"].Value != null && grid.CurrentRow.Cells["id"].Value != System.DBNull.Value)
            {
                int objId = Convert.ToInt32(grid.CurrentRow.Cells["id"].Value);

                frmTakvimSablonu sablonform = new frmTakvimSablonu(objId, EkranDurumu.Izle);
                sablonform.MdiParent = this.MdiParent;
                sablonform.Text      = "Takvim Şablon Formu";
                sablonform.Show();

                //((MdiTabControl.TabControl)(this.Parent.Parent)).TabPages.Add(ulke);
            }
        }
        protected override void Edit(object sender)
        {
            if (grid.CurrentRow.Cells["id"].Value != null && grid.CurrentRow.Cells["id"].Value != System.DBNull.Value)
            {
                int objId = Convert.ToInt32(grid.CurrentRow.Cells["id"].Value);

                frmTakvimSablonu sablonform = new frmTakvimSablonu(objId, EkranDurumu.Duzenle);
                sablonform.Text = "Takvim Şablon Formu";
                sablonform.MdiParent = this.MdiParent;
                sablonform.Show();

                //((MdiTabControl.TabControl)(this.Parent.Parent)).TabPages.Add(ulke);
            }
        }