コード例 #1
0
 private void m_cboLineCount_DropDown(object sender, System.EventArgs e)
 {
     m_cboLineCount.ClearItem();
     for (int i = 1; i <= 5; i++)
     {
         m_cboLineCount.AddItem(i.ToString());
     }
 }
コード例 #2
0
        public void m_cmthEventItem_DropDown(object sender, System.EventArgs e, string p_strEventFlag)
        {
            com.digitalwave.Utility.Controls.ctlComboBox cboEvent = sender as com.digitalwave.Utility.Controls.ctlComboBox;
            cboEvent.ClearItem();
            clsThreeMeasureEventInfo[] objEvents = m_objGetThreeMeasureEventInfoByType(p_strEventFlag);

            for (int i = 0; i < objEvents.Length; i++)
            {
                cboEvent.AddItem(objEvents[i]);
            }
        }