예제 #1
0
        public ComboBoxElement(ElementHostControl host, InternalTextBox textBox)
            : base(host)
        {
            m_InternalTextBox = textBox;
            m_Button          = new ComboButtonElement(host);
            m_Button.ZOrder   = 2;

            m_Button.MouseClick += delegate(object sender, MouseEventArgs e)
            {
                OnButtonClick(EventArgs.Empty);
            };
        }
예제 #2
0
 public ComboBoxElement(ElementHostControl host,InternalTextBox textBox)
   : base(host)
 {
   m_InternalTextBox = textBox;
   m_Button = new ComboButtonElement(host);
   m_Button.ZOrder = 2;
   
   m_Button.MouseClick += delegate(object sender, MouseEventArgs e)
                          {
                            OnButtonClick(EventArgs.Empty);
                          };  
   
 }