473,396 Members | 1,784 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.

How to force VS to notify a change of property (InitializeComponent)

Hi,

I want do create control (based on UserControl) that
contains collection MyItemCollection (inherited from ICollection)
of objects MyItem.
I spent so much time to force this collection save with
VS design but i'm failed.
Any other properties of "simple types" are saved in
"InitializeComponent()" method of form/control.

I found that i can create additional property e.g.
MyItemCollectionDescription (of string) that contains
whole description of MyItemCollection...
.... but from here the problems starts.

If i change this property manualy then VS updates
"InitializeComponent()" code.
But if i'm changing MyItemCollection (this changes
are present in MyItemCollectionDescription) but VS
doesn't notify that changes till i change any other
property (or maybe event).

Can somebody show me right or better way to solve this problem?

If my explanation is not so clear, don't be affraid to feedback.

THANKS!

Marcin
Nov 16 '05 #1
0 1403

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Vertical Technology Group | last post by:
If I open the Date and Time Properties dialog and check/uncheck the "Automatically adjust clock for daylight savings changes" checkbox, my system clock moves forward and back an hour as I would...
7
by: Lalit | last post by:
Hi Friends, I have developed a Windows service. Now i need icon for this service in systray and context menu fo this icon. Can i do this? With regards, Lalit
3
by: Tom | last post by:
I am writing a Visual basic .Net database application. There are many forms that first let you select and look at a DB record and then when you click a "modify" button you are allowed to change...
0
by: Marc Robitaille | last post by:
Hello everyone, I have a control which inherits from another control. I added a contextual menu to the new control. To this new control, I added a Boolean property. This property enables me to...
5
by: RSH | last post by:
I havent been able to set a property from another class with out getting some sort of error. Can someone please tell me what I'm doing wrong here? Public Class Form1
3
by: Brad Rogers | last post by:
All, Being immersed in vb.net and trying CSharp after almost a year I forgot the differences. I like vb fixing the uppercase/lowercase names and seeming to be more flexible to code entry. ...
4
by: Tedmond | last post by:
Dear all, My application allows users to switch languages at run time. I use the following code to change the UI Culture but all controls are remaining unchanged. ...
5
by: JohnR | last post by:
I have multiple controls set to the same database and, normally, when I change the record in one control the position is also changed in the other controls because I have "syncwithcurrencymanager'...
0
by: namrataa | last post by:
i have the following code for my notify.cs file using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Text; ...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.