Ejemplo n.º 1
0
        private void repoShow_Click(object sender, EventArgs e)
        {
            string num = gridView1.GetFocusedRowCellValue("Itemcode").ToString();

            if (num.Length > 0)
            {
                frmCreate f = new frmCreate(LoadDataEh(num));
                f.ShowDialog();
                LoadProVersion();
            }
        }
Ejemplo n.º 2
0
        private void repoedit_Click(object sender, EventArgs e)
        {
            string num  = gvMain.GetFocusedRowCellValue("Itemcode").ToString();
            string type = gvMain.GetFocusedRowCellValue("Zagvartype").ToString();

            if (num.Length > 0)
            {
                frmCreate f = new frmCreate(list_main.Where(s => s.Itemcode == num && s.Zagvartype == type).First());
                f.ShowDialog();
            }
        }
Ejemplo n.º 3
0
        private void repoedit_Click(object sender, EventArgs e)
        {
            string num = gridView1.GetFocusedRowCellValue("Itemcode").ToString();

            if (num.Length > 0)
            {
                frmCreate f = new frmCreate(LoadDataEh(num));
                f.ShowDialog();
                LoadData(luplbl1.EditValue, luplbl2.EditValue);
            }
        }