C# Code Snipped [closed] - c#

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Is there any control for auto complate my code in textbox at runtime?
There is a textbox in my form and when i want to write c# code at runtime.Can it be auto complete code in textbox?

You can check out Actipro SyntaxEditor and Quantum Whale Editor.NET. Both controls support C# editing with syntax highlighting and "intellisense" drop-downs.

In WinForms, the standard combo box control includes options for providing the auto-complete mechanism based on the items in the drop down list.
I am assuming, of course, that you are not trying to do something like Intellisense. Your question is not clear.

Related

How can i design my own control in VS 2010 from scratch? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I wish to design my own control in C# for visual studio.I have followed the link Create Custom Control and would like to see some more which involves making control from scratch
A simple search on StackOverflow and Google are a great place to start.
If you are wanting to create a control that handles its own rendering, you may want to look into using the objects in the System.Drawing namespace (namely System.Drawing.Graphics).

What are accelerators in C# and how do I use them? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
In my online course I'm asked to put a label (lblQuestion with accelerator) and ComboBox on a form.
Putting a label and a combo box on a form is simple enough in VS 2010, but I am not sure what an accelerator is and how I use it?
For setting an accelerator you will use & character in front of the letter of your label, that you need to make available as an accelerator. See here: http://blog.csharphelper.com/2012/05/30/use-accelerators-on-labels-and-buttons-in-c.aspx for more details.

Sorting Win Form CheckListbox [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
When the user right clicks a DataGridView cell in my windows application it clears and fills the CheckedListBox with column header text. Then it shows a popup. Now how can I sort the items using what is checked? I want to sort on the same right click.
To sort the listbox, you need to write your own small code, which "tells" the program how to sort your data.
Please refer this tutorial

Which control is suitable for my application? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Now i am currently working on a c# based application.In that application now i am working on design part.i am using visual studio 2008,i want a control like below image
which control is available like above image in visual studio.
i tried treeview.but i can't get the link like above image(here link is blue line).
How to do this?
if you move to some new technologies, most of the new features will available to you.
if you use WPF, you can achieve it. there is much flexibility in UI Decoration in it.
your desired design with custom item icons and colour link
if you use red controls: link

how to make my button looks like it is being clicked? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I have a textbox and some buttons on a form in my windows application.
The user can enter his data either from buttons or from the textbox.
I want the buttons to look like they are being clicked when the user enters the data from the text box.
I mean while the user is typing in the textbox the related buttons look like they are being clicked.
I am using .Net and c#
Thank you.
I believe I understand your question correctly:
You will need to create an event that triggers when someone types in the textbox(s), and then use btnName.Enabled = false in the event function.

Categories