Exemplo n.º 1
0
        public void InitSougiElement()
        {
            List <string> listSougi;
            int           max, idx;

            String[] sAry;
            string   sSetStr;

            cmbSearchSouke.Items.Clear();
            listSougi = m_libOdbc.getSougiList("");
            cmbSearchSouke.Items.Add("全て");
            max = listSougi.Count;
            for (idx = 0; idx < max; idx++)
            {
                sAry    = listSougi[idx].Split(',');
                sSetStr = sAry[3] + "," + sAry[10] + "," + sAry[4] + "," + sAry[7] + "," + sAry[0];
                m_lstSouke.Add(sSetStr);
                setKokubetuList(sAry[7]);
            }
            max = m_lstSouke.Count;
            for (idx = 0; idx < max; idx++)
            {
                cmbSearchSouke.Items.Add(m_lstSouke[idx]);
            }
            cmbSearchSouke.SelectedIndex = 0;
        }
Exemplo n.º 2
0
        private void showSoukeSearchWin()
        {
            List <string> listSougi;
            int           max, idx;

            String[] sAry;
            string   sSetStr;

            m_lstSouke = new List <string>();
            listSougi  = m_libOdbc.getSougiList("");
            max        = listSougi.Count;
            for (idx = 0; idx < max; idx++)
            {
                sAry    = listSougi[idx].Split(',');
                sSetStr = sAry[3] + "," + sAry[10] + "," + sAry[4] + "," + sAry[7] + "," + sAry[0];
                m_lstSouke.Add(sSetStr);
            }
            m_nSelectWinFlag = 1;
            showSelectWin(m_lstSouke, btnSouke);
        }