Example #1
0
        private void xemDanhSachSanPhâmChưaVâtTưToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string code = TextUtils.ToString(grvData.GetFocusedRowCellValue(colCode));
            string name = TextUtils.ToString(grvData.GetFocusedRowCellValue(colName));

            frmModelContained frm = new frmModelContained();

            frm.MaterialCode = code;
            frm.MaterialName = name;
            TextUtils.OpenForm(frm);
        }
Example #2
0
        private void xemDanhSáchModuleChứaMạchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string code = TextUtils.ToString(grvData.GetFocusedRowCellValue(colCode));
            string name = TextUtils.ToString(grvData.GetFocusedRowCellValue(colName));

            frmModelContained frm = new frmModelContained();

            frm.MaterialCode = code;
            frm.MaterialName = name;
            //frm.DisplayType = 1;
            frm.Show();
        }