[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to make an event firing when me.BindingContext(dtDataTable).Position changed

Posted on 2006-03-28
2
Medium Priority
?
236 Views
Last Modified: 2012-06-21
I think it is posible. But I don't know how to do it. Something like this:
Private Sub dtDataTable_PositionChanged(sender as Object, e as ???) handles me.BindingContext(dtDataTable).PositionChanged
..............
End Sub
Thank you.
0
Comment
Question by:maidinhtai
2 Comments
 
LVL 34

Accepted Solution

by:
Sancler earned 1000 total points
ID: 16315923
I'm not sure you can do it in the precise way you suggest: I've never tried it.  But you certainly can if you use the BindingContext to derive a CurrencyManager (which is what I would normally do) or - as in the demo in this link - a BindingManagerBase

http://msdn2.microsoft.com/en-us/library/system.windows.forms.bindingmanagerbase.positionchanged.aspx

Roger
0
 
LVL 3

Author Comment

by:maidinhtai
ID: 16321879
Exactly. Thank you.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses
Course of the Month19 days, 19 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question