473,396 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Custom PropertyChangedEventHandler

Hi guys, i need help with converting this from C# to VB

Expand|Select|Wrap|Line Numbers
  1. public event PropertyChangedEventHandler PropertyChanged
  2. {
  3.   add { _changed += new PropertyChangedEventHandler(value); }
  4.   remove { _changed -= new PropertyChangedEventHandler(value); }
  5. }
  6.  
im having trouble with the _changed += and -= parts. Thanks!
May 6 '07 #1
1 2928
Dököll
2,364 Expert 2GB
Hi guys, i need help with converting this from C# to VB

Expand|Select|Wrap|Line Numbers
  1. public event PropertyChangedEventHandler PropertyChanged
  2. {
  3.   add { _changed += new PropertyChangedEventHandler(value); }
  4.   remove { _changed -= new PropertyChangedEventHandler(value); }
  5. }
  6.  
im having trouble with the _changed += and -= parts. Thanks!
Greetings, psychodelic!

Hopefully this is what you're looking for:

http://www.thescripts.com/forum/thread588553.html

Have fun!

Dököll
May 7 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Sanjin | last post by:
I have custom collection that is bind to the System.Windows.Forms.DataGrid. My custom collection business object has property Quantity. public event...
5
by: Graham | last post by:
I have created a custom MembershipProvider called "LassieMembershipProvider" that derives from "MembershipProvider". This providor is located in a Businesslogic layer dll called...
2
by: Suzanne | last post by:
Hi all, I'm reposting this message as I'm experiencing this problem more and more frequently : I really hope someone out there can help me as I've been tearing my hair out on this one for a...
15
by: rizwanahmed24 | last post by:
Hello i have made a custom control. i have placed a panel on it. I want this panel to behave just like the normal panel. The problem i was having is that the panel on my custom control doesnt...
1
by: psychodelic | last post by:
Hi i need some help porting this from cs.net to vb.net, i got the first part. need help with the second. thanks // 1st Part private event PropertyChangedEventHandler _changed; // 2nd Part...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
1
by: asharda | last post by:
I have a custom property grid. I am using custom property grid as I do not want the error messages that the propertygrid shows when abphabets are entered in interger fields. The custom property...
5
by: jehugaleahsa | last post by:
Hello: I have a mapping class that can take generic data objects and locate/ add/remove/update DataRows in a DataTable. I associate them using attributes: TableAttribute and ColumnAttribute. I...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.