Beispiel #1
0
        protected override void New()
        {
            base.New();
            frmEditCraftwork myEditCraftwork = new frmEditCraftwork();

            myEditCraftwork.New();
            myEditCraftwork.ShowDialog();
            myEditCraftwork.Dispose();
            BindData();
        }
Beispiel #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();
        }