Suppose you need to edit an item in a list box (it is read-only list of item) at a runtime. This sample code demonstrate a simple approach to create an editable listbox.
To edit an item in a list box, all you need is one hidden text box. Keep textbox hidden of set property visible as false and show it whenever you required.
StatusStrip Control in C#
ImageList in C#
Very good concept used
What caught ma attention was your logic applied in these lines :
this.textBox1.Size=new System.Drawing.Size(r.Width+4 , r.Height-10);
Very nice Mr. Gautam. Thank You for teaching me this beautiful concept.
Dear Gautam it's really helpful to us but you should write some description about your article it may become more effective thanks.
Very Good Code
Well you're assigning rather than comapring
Hello gautam shrestha'
Plese tell me quick!
In c#(ASP.net) The concept is items are added to a list box from a TextBox. if the item is already appear inside the list box it shows Already exist otherwise it can be added. I had written the following query for that.
But the above query doesn't worked. What is the reason Pls tell me quick otherwise I will became a mad!!!!!!!