Пример #1
0
        private void BtnAdd_Click(object sender, EventArgs e)
        {
            FmTmpXlsInfo fmTmpXlsInfo = new FmTmpXlsInfo();

            fmTmpXlsInfo.SelectValue += (obj) =>
            {
                LoadAllTmp();
            };
            fmTmpXlsInfo.ShowDialog();
        }
Пример #2
0
        private void BtnEdit_Click(object sender, EventArgs e)
        {
            if (mDataGridNvl.CurrentRow == null)
            {
                return;
            }
            Model.Info_tmp_xls info = mDataGridNvl.GetCurrentEntity() as Model.Info_tmp_xls;

            FmTmpXlsInfo fmTmpXlsInfo = new FmTmpXlsInfo(info);

            fmTmpXlsInfo.SelectValue += (obj) =>
            {
                LoadAllTmp();
            };
            fmTmpXlsInfo.ShowDialog();
        }