예제 #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     ArrayList CollectInfoList = new ArrayList();
     GetCollectInfoId get = new GetCollectInfoId(CollectInfoList);
     if (get.ShowDialog() == DialogResult.OK)
     {
         string CollectInfoListString = "";
         foreach (string CollectInfoId in CollectInfoList)
             CollectInfoListString += CollectInfoId + ",";
         if (CollectInfoList.Count != 0)
             CollectInfoListString = CollectInfoListString.Substring(0, CollectInfoListString.Length - 1);
         this.kryptonDropButton1.Text = CollectInfoListString;
     }
 }
예제 #2
0
        private void button1_Click(object sender, ComponentFactory.Krypton.Toolkit.ContextPositionMenuArgs e)
        {
            ArrayList CollectInfoList = new ArrayList();
            GetCollectInfoId get = new GetCollectInfoId(CollectInfoList);
            //GetCollectID get = new GetCollectID(list, this.kryptonDropButton1.Text.Split(','));
            if (get.ShowDialog() == DialogResult.OK)
            {

                string CollectInfoListString = "";
                foreach (string CollectInfoId in CollectInfoList)
                    CollectInfoListString += CollectInfoId + ",";
                if (CollectInfoList.Count != 0)
                    CollectInfoListString = CollectInfoListString.Substring(0, CollectInfoListString.Length - 1);
                if (CollectInfoListString.Trim() != "")
                    this.kryptonDropButton1.Text = CollectInfoListString;
            }
        }
예제 #3
0
        public void ChoseCollect()
        {
            ArrayList CollectInfoList = new ArrayList();
            GetCollectInfoId get = new GetCollectInfoId(CollectInfoList);
            //GetCollectID get = new GetCollectID(list, this.kryptonDropButton1.Text.Split(','));
            if (get.ShowDialog() == DialogResult.OK)
            {

                string CollectInfoListString = "";
                foreach (string CollectInfoId in CollectInfoList)
                    CollectInfoListString += CollectInfoId + ",";
                if (CollectInfoList.Count != 0)
                    CollectInfoListString = CollectInfoListString.Substring(0, CollectInfoListString.Length - 1);
                if (CollectInfoListString.Trim() != "")
                    this.kryptonDropButton1.Text = CollectInfoListString;
            }
        }