Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Creating a custom BindingNavigator which include a BindingSource

Creating a custom BindingNavigator which include a BindingSource

Scheduled Pinned Locked Moved C#
question
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ArjenGroeneveld
    wrote on last edited by
    #1

    Hello, I created a custom BindingNavigator Toolstrip with Buttons - Save, MoveFirst, MovePrevious, MoveNext, MoveLast, Edit mode, Add new, Delete and Cancel. To avoid copying all events to each new Form I like to assemble the toolstrip including the buttons and events into a usercontrol. I want to embed a BindingSource into this UserControl. QUESTION: What is the best practise to house a BindingSource into a UserControl? The end objective is just to drag and drop the usercontrol onto the form and it's just a matter of linking the input controls (textboxes, comboboxes) to this new BindingNavigator control. Regards Arjen

    A 1 Reply Last reply
    0
    • A ArjenGroeneveld

      Hello, I created a custom BindingNavigator Toolstrip with Buttons - Save, MoveFirst, MovePrevious, MoveNext, MoveLast, Edit mode, Add new, Delete and Cancel. To avoid copying all events to each new Form I like to assemble the toolstrip including the buttons and events into a usercontrol. I want to embed a BindingSource into this UserControl. QUESTION: What is the best practise to house a BindingSource into a UserControl? The end objective is just to drag and drop the usercontrol onto the form and it's just a matter of linking the input controls (textboxes, comboboxes) to this new BindingNavigator control. Regards Arjen

      A Offline
      A Offline
      ArjenGroeneveld
      wrote on last edited by
      #2

      How can I make the BindingSource which is inside the UserControl, visible to other controls on the Form? How do I make the Bindingsource.Datasource property public so it is visible in the Miscellaneous property section of the UserControl? Regards Arjen

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups