Exemple #1
0
        private void gArchSelect1_LineGetInfo(object sender, EventArgs e)
        {
            int    arid = gArchSelect1.Archid;
            string type = gArchSelect1.Archtype;

            if (arid <= 0)
            {
                return;
            }
            if (Lsinfo.Count <= 0)
            {
                MessageBox.Show("请先配置后台数据!");
                return;
            }
            FrminfoSql frmsql = new FrminfoSql();

            frmsql.lsinfo = Lsinfo;
            frmsql.ShowDialog();
            List <string> info = new List <string>();
            List <string> col  = new List <string>();

            info = frmsql.lscolinfo;
            col  = frmsql.lscol;
            ucInfo.LoadInfo(info, col);
        }
Exemple #2
0
 private void gArchSelect1_LineFocus(object sender, EventArgs e)
 {
     if (ts <= 0)
     {
         if (Lsinfo.Count <= 0)
         {
             MessageBox.Show("请先配置后台数据!");
             return;
         }
         FrminfoSql frmsql = new FrminfoSql();
         frmsql.lsinfo = Lsinfo;
         frmsql.ShowDialog();
         List <string> info = new List <string>();
         List <string> col  = new List <string>();
         info = frmsql.lscolinfo;
         col  = frmsql.lscol;
         ucInfo.LoadInfo(info, col);
     }
     ucInfo.GetFocus();
 }