Click here to Skip to main content
16,004,833 members
Home / Discussions / C#
   

C#

 
GeneralRe: User Controls Pin
Jay Shankar26-Dec-04 20:08
Jay Shankar26-Dec-04 20:08 
GeneralRe: User Controls Pin
IceFear27-Dec-04 1:12
IceFear27-Dec-04 1:12 
GeneralReflection error Pin
Member 140823826-Dec-04 17:13
Member 140823826-Dec-04 17:13 
Generalcan't associate file ext with app in explorer Pin
Tim Green JIT26-Dec-04 17:11
Tim Green JIT26-Dec-04 17:11 
Generalsimulating a routing algorithm Pin
Aws_Attar26-Dec-04 12:22
Aws_Attar26-Dec-04 12:22 
GeneralRe: simulating a routing algorithm Pin
DavidNohejl26-Dec-04 12:41
DavidNohejl26-Dec-04 12:41 
GeneralRe: simulating a routing algorithm Pin
Aws_Attar26-Dec-04 12:54
Aws_Attar26-Dec-04 12:54 
GeneralAdding those linkbutton under the property window to ur user control Pin
Marlun26-Dec-04 11:03
Marlun26-Dec-04 11:03 
Hello,

For example the TabControl, if you select it, in the property window, under all the properties theres also a section where you can click on "Add Tab". I want to know how to add such link(buttons) to your user control. I got a tips on DesignerVerbs and I made this:

public virtual System.ComponentModel.Design.DesignerVerbCollection Verbs
{
get
{
verbs = new DesignerVerbCollection();
verbs.Add(new System.ComponentModel.Design.DesignerVerb("&Add Section", new EventHandler(OnAddSection)));
return verbs;
}
}

private void OnAddSection(object sender, EventArgs args)
{
System.Windows.Forms.MessageBox.Show("The first designer verb was invoked.");
}


but I'm not sure thats it, because now another property is added under misc called Verbs with a collection as value. Not what I wanted.

Tips and code is appreciated!

Thanks in advance!

~~~~~~~~~~~~~~
Martin Lundberg
Student, Sweden

I have to thank every member of the Code Project for making it such a great place for a beginner to learn!
GeneralRe: Unable to comile Spart Parser C# in .NET Pin
Dennis C. Dietrich26-Dec-04 7:38
Dennis C. Dietrich26-Dec-04 7:38 
GeneralRe: Unable to comile Spart Parser C# in .NET Pin
odsby26-Dec-04 10:56
odsby26-Dec-04 10:56 
QuestionJoystick control? Pin
TyronX26-Dec-04 0:38
TyronX26-Dec-04 0:38 
AnswerRe: Joystick control? Pin
Pyro Joe26-Dec-04 4:54
Pyro Joe26-Dec-04 4:54 
GeneralDetecting Media Insertion Pin
delemur26-Dec-04 0:26
delemur26-Dec-04 0:26 
GeneralRe: Detecting Media Insertion Pin
Dennis C. Dietrich26-Dec-04 7:13
Dennis C. Dietrich26-Dec-04 7:13 
Generalweb service call Pin
ABBASI_RA25-Dec-04 20:31
ABBASI_RA25-Dec-04 20:31 
GeneralwFind a window's x y location and x y size Pin
eggie525-Dec-04 18:37
eggie525-Dec-04 18:37 
GeneralRe: wFind a window's x y location and x y size Pin
Pyro Joe26-Dec-04 5:14
Pyro Joe26-Dec-04 5:14 
GeneralRe: wFind a window's x y location and x y size Pin
eggie526-Dec-04 8:00
eggie526-Dec-04 8:00 
GeneralRe: wFind a window's x y location and x y size Pin
Stefan Troschuetz26-Dec-04 6:10
Stefan Troschuetz26-Dec-04 6:10 
GeneralRe: wFind a window's x y location and x y size Pin
Dennis C. Dietrich26-Dec-04 6:40
Dennis C. Dietrich26-Dec-04 6:40 
QuestionHow to play .mp3 in c# Pin
bruno_inacio25-Dec-04 15:10
bruno_inacio25-Dec-04 15:10 
AnswerRe: How to play .mp3 in c# Pin
Pyro Joe25-Dec-04 16:55
Pyro Joe25-Dec-04 16:55 
GeneralC# Properties Pin
IceFear25-Dec-04 13:29
IceFear25-Dec-04 13:29 
GeneralRe: C# Properties Pin
Alex Korchemniy25-Dec-04 20:36
Alex Korchemniy25-Dec-04 20:36 
GeneralRe: C# Properties Pin
ChesterPoindexter26-Dec-04 0:42
professionalChesterPoindexter26-Dec-04 0:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.