示例#1
0
        void btnAdd_Click(object sender, EventArgs e)
        {
            FmAccountInfo fm = new FmAccountInfo();

            fm.SelectValue += new Miles.Framework.UI.Forms.FmCustomInfo.SelectValueHandler(fm_SelectValue);
            fm.ShowDialog();
        }
示例#2
0
        void btnEdit_Click(object sender, EventArgs e)
        {
            if (mDataGrid1.DataSource == null)
            {
                return;
            }

            Model.Tb_company_act info = mDataGrid1.GetCurrentEntity() as Model.Tb_company_act;

            FmAccountInfo fm = new FmAccountInfo(info);

            fm.SelectValue += new Miles.Framework.UI.Forms.FmCustomInfo.SelectValueHandler(fm_SelectValue);
            fm.ShowDialog();
        }