Exemplo n.º 1
0
        public void Satis()
        {
            frmSatis frm = new frmSatis(); // Ramda çalıştırımak için yeni nesne türettik

            //frm.MdiParent = ActiveForm;
            frm.MdiParent   = Application.OpenForms["frmAnasayfa"] as frmAnasayfa;
            frm.WindowState = FormWindowState.Maximized;
            frm.Show();
        }
Exemplo n.º 2
0
        private void gridView1_DoubleClick(object sender, EventArgs e)
        {
            SaleOwnerDTO oRow = (SaleOwnerDTO)gridView1.GetFocusedRow();

            if (oRow != null)
            {
                frmSatis frm = new frmSatis();
                frm.MdiParent     = this.MdiParent;
                frm._FormOpenType = Infrastructure.FormOpenType.Edit;
                frm.Show(oRow.RecId);
            }
        }