Ejemplo n.º 1
0
        void btnAdd_Click(object sender, EventArgs e)
        {
            int       id = (int)d_OrderType.ComboBox.SelectedValue;
            FmTmpInfo fm = new FmTmpInfo();

            //fm.SetOrderType(id);
            fm.SelectValue += new Miles.Framework.UI.Forms.FmCustomInfo.SelectValueHandler(fmAdd_SelectValue);
            fm.ShowDialog();
        }
Ejemplo n.º 2
0
        void btnEdit_Click(object sender, EventArgs e)
        {
            if (mDataGridNvl.CurrentRow == null)
            {
                return;
            }
            Model.Info_tmp info = mDataGridNvl.GetCurrentEntity() as Model.Info_tmp;
            //int id = (int)d_OrderType.ComboBox.SelectedValue;
            FmTmpInfo fm = new FmTmpInfo(info);

            //fm.SetOrderType(id);
            fm.SelectValue += new Miles.Framework.UI.Forms.FmCustomInfo.SelectValueHandler(fmEdit_SelectValue);
            fm.ShowDialog();
        }