示例#1
0
        private void cbTier2_SelectedIndexChanged(object sender, EventArgs e)
        {
            ResCategoryHelper resHelper = new ResCategoryHelper();

            resHelper.GetTier3ByTier2(cbTier2.SelectedItem.ToString());
            cbTier3.DataSource    = resHelper.Tier3List;
            cbTier4.SelectedIndex = -1;
        }
示例#2
0
        private void cbTier3_SelectedIndexChanged(object sender, EventArgs e)
        {
            ResCategoryHelper resHelper = new ResCategoryHelper();

            resHelper.GetTier4ByTier2Tier3(cbTier1.SelectedItem.ToString(), cbTier2.SelectedItem.ToString(), cbTier3.SelectedItem.ToString());
            cbTier4.DataSource = resHelper.Tier4List;
            SetResOutputText();
        }
示例#3
0
        private void Intialize()
        {
            string[] strTier1List = { "DLMS", "eGrant", "eMeeting", "eLeave", "QIMS", "CDC" };

            cbTier1.DataSource = strTier1List;
            ResCategoryHelper resHelper = new ResCategoryHelper();

            resHelper.showXml();
            cbTier2.DataSource = resHelper.Tier2List;
            //cbTier1.
        }