Exemplo n.º 1
0
        private void btnSearchUser1_Click(object sender, EventArgs e)
        {
            GVar.gvSCode = "";
            GVar.gvSName = "";

            frmSearch frm = new frmSearch();

            frm.pvMode         = "User";
            frm.groupBox1.Text = groupBox7.Text;
            frm.lvLoadUser();
            frm.ShowDialog();

            if (GVar.gvSCode != "")
            {
                txtUserPay.Text = GVar.gvSCode;
            }
        }
Exemplo n.º 2
0
        private void simpleButton1_Click(object sender, EventArgs e)
        {
            GVar.gvSCode = "";
            GVar.gvSName = "";

            frmSearch frm = new frmSearch();

            frm.pvMode         = "Item";
            frm.groupBox1.Text = groupBox2.Text;
            frm.txtSearch.Text = txtID.Text;
            frm.lvLoadItem();
            frm.ShowDialog();

            if (GVar.gvSCode != "")
            {
                txtID.Text   = GVar.gvSCode;
                txtName.Text = GVar.gvSName;
            }
        }