Ejemplo n.º 1
0
        /// <summary>
        /// 跳转到创建界面
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnCreate_Click(object sender, EventArgs e)
        {
            //跳转到成本中心创建界面
            frmCostCenterCreate frm = new frmCostCenterCreate();

            Show(frm, (MobileForm form, object args) =>
            {
                if (frm.ShowResult == ShowResult.Yes)
                {
                    Bind();
                }
            });
        }
Ejemplo n.º 2
0
        AutofacConfig AutofacConfig = new AutofacConfig(); //调用配置类
        #endregion
        /// <summary>
        /// 跳转到成本中心编辑界面
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnEdit_Click(object sender, EventArgs e)
        {
            //跳转到编辑界面
            frmCostCenterCreate frm = new frmCostCenterCreate();

            frm.CCID = CCID;
            Show(frm, (MobileForm form, object args) =>
            {
                if (frm.ShowResult == ShowResult.Yes)
                {
                    ShowResult = ShowResult.Yes;
                    Bind();
                }
            });
        }