Ejemplo n.º 1
0
        protected override void New()
        {
            base.New();
            frmEditCraftwork myEditCraftwork = new frmEditCraftwork();

            myEditCraftwork.New();
            myEditCraftwork.ShowDialog();
            myEditCraftwork.Dispose();
            BindData();
        }
Ejemplo n.º 2
0
        protected override void Edit()
        {
            if (gvBase.FocusedRowHandle < 0)
            {
                return;
            }
            base.Edit();
            DataRow          dr = gvBase.GetDataRow(gvBase.FocusedRowHandle);
            frmEditCraftwork myEditCraftwork = new frmEditCraftwork();

            myEditCraftwork.Edit(dr["F_ID"].ToString());
            myEditCraftwork.ShowDialog();
            myEditCraftwork.Dispose();
            BindData();
        }