예제 #1
0
        private void Combo_Box_Click(object sender, EventArgs e)
        {
            myEventArgs temp = new myEventArgs(cb.Text);

            if (myEvent != null)
            {
                myEvent(this, temp);
            }
        }
예제 #2
0
        private void Updating_Combo_Box(object sender, myEventArgs e)
        {
            UserControl1 tmp = (UserControl1)sender;

            pens = int.Parse(e.myString);
            for (int i = 0; i < uc.Length; i++)
            {
                if (tmp == uc[i])
                {
                    addpensIDX = i;
                }
                uc[i].CBdisable();
            }
        }