Exemplo n.º 1
0
 protected override void OnDropDownControlBinding( CustomCombo.EventArgsBindDropDownControl e )
 {
   e.BindedControl = m_calendar;
   
   // in case when we do data load on scroll message then 
   m_ctrlBinded = m_calendar;
   m_bControlBinded = true;
 }
Exemplo n.º 2
0
 protected override void OnDropDownControlBinding( CustomCombo.EventArgsBindDropDownControl e )
 {
   base.OnDropDownControlBinding( e );
   
   TreeView tree = (TreeView)e.BindedControl;
   tree.CheckBoxes = true;
   tree.FullRowSelect = true;
   tree.HideSelection = false;
   tree.ShowLines = false;
   tree.ShowPlusMinus = false;
   tree.ShowRootLines = false;
   tree.Sorted = true;
   
   tree.AfterCheck += new TreeViewEventHandler( tree_AfterCheck );
 }
Exemplo n.º 3
0
 public EventArgsTreeDataFill( CustomCombo.EventArgsBindDropDownControl ev )
     : base(ev.Combo, ev.DropDownForm, ev.BindedControl)
 {
 }
Exemplo n.º 4
0
        protected void RaiseFillTreeByData( CustomCombo.EventArgsBindDropDownControl e )
        {
            if( DataFill != null && m_bFillCalled == false )
              {
            EventArgsTreeDataFill ev = new EventArgsTreeDataFill( e );

            m_tree.BeginUpdate();
            DataFill( this, ev );
            m_tree.EndUpdate();

            m_bFillCalled = true;
              }
        }
Exemplo n.º 5
0
 protected virtual void OnItemSizeCalculate( object sender, CustomCombo.EventArgsEditCustomSize e )
 {
     if( m_imgList != null )
       {
     int iWidth = m_imgList.ImageSize.Width + 2;
     e.xPos  += iWidth;
     e.Width -= iWidth;
       }
 }
Exemplo n.º 6
0
        protected override void OnDropDownControlBinding( CustomCombo.EventArgsBindDropDownControl e )
        {
            e.BindedControl = m_tree;
              m_tree.ImageList = m_imgList;
              RaiseFillTreeByData( e );

              // in case when we do data load on scroll message then
              m_ctrlBinded = m_tree;
              m_bControlBinded = true;
        }
Exemplo n.º 7
0
 public EventArgsBindDropDownControl(CustomCombo parent, Form form, Control ctrl)
 {
     m_parent = parent;
     m_frm    = form;
     m_ctrl   = ctrl;
 }
Exemplo n.º 8
0
 public EventArgsBindDropDownControl(CustomCombo parent, Form form)
 {
     m_parent = parent;
     m_frm    = form;
 }
Exemplo n.º 9
0
 protected override void OnCloseDropDownHandler( object sender, CustomCombo.EventArgsCloseDropDown e )
 {
     base.Value = CalculateValue();
 }
Exemplo n.º 10
0
 public EventArgsBindDropDownControl( CustomCombo parent, Form form, Control ctrl )
 {
     m_parent = parent;
     m_frm  = form;
     m_ctrl = ctrl;
 }
Exemplo n.º 11
0
 public EventArgsBindDropDownControl( CustomCombo parent, Form form )
 {
     m_parent = parent;
     m_frm = form;
 }