Exemplo n.º 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();
        }
Exemplo n.º 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();
        }