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

            myEditStorage.New();
            myEditStorage.ShowDialog();
            myEditStorage.Dispose();
            BindData();
        }
Beispiel #2
0
        protected override void Edit()
        {
            if (gvBase.FocusedRowHandle < 0)
            {
                return;
            }
            base.Edit();
            DataRow        dr            = gvBase.GetDataRow(gvBase.FocusedRowHandle);
            frmEditStorage myEditStorage = new frmEditStorage();

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