Exemplo n.º 1
0
        private void mnuNew_Click(object sender, EventArgs e)
        {
            FrmVendorInfor ChildForm = new FrmVendorInfor("New", 0, Source1);

            ChildForm.ShowDialog();
            //if (Source1 == "STAFF")
            LoadLvList(strQryMain);
            //else
            //    LoadLvList("");
        }
Exemplo n.º 2
0
 private void dGrid_DoubleClick(object sender, EventArgs e)
 {
     if (mnuEdit.Enabled == true)
     {
         FrmVendorInfor ChildForm = new FrmVendorInfor("Edit", ReturnCode, Source1);
         ChildForm.ShowDialog();
         //if (Source1 == "STAFF")
         LoadLvList(strQryMain);
         //else
         //    LoadLvList("");
     }
 }
Exemplo n.º 3
0
        private void mnuBrowse_Click(object sender, EventArgs e)
        {
            FrmVendorInfor ChildForm = new FrmVendorInfor("Browse", ReturnCode, Source1);

            ChildForm.ShowDialog();
            if (Source1 == "STAFF")
            {
                LoadLvList(strQryMain);
            }
            else
            {
                LoadLvList("");
            }
        }