Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have multiple checkboxes (C#) and I want if the user check one checkbox then unckeck all other checkboxes except the last selected,or he can check them all (he must check one or all).
I use visual studio C#
Use RadioBoxes instead, but include an option for "All of the above".
If you don't want to do that then you need to specify your platform you are developing in. Most likely you would add an event handler on the click event and check every box manually to see if it's checked or not.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
As in this picture, how I can create a list with users and display it on the listbox with two buttons delete and launch and when I can create there code what I must do help please !
I assume you want to write windows forms application with C#. I use DataGridView for this purpose, because in datagridview we can define columns. The wireframe has 3 columns one is the name and others are launch and delete. There is also listview component if you like. If it is a webpage there are similar components like asp.net GridView. These components also have databindings with SqlDataSource, so CRUD operations can be done without coding.
If you are a beginner to winforms, check this out.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I need to make a list(view?) containing individual forms, or objects that can mimic my needs (buttons, labels, images) preferably resizeable if a button is pushed so I can expand downwards and show a textbox that can contain info and/or be edited)
Problem is olved using TaW suggestion in the comments above.
Many thanks
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
In visual studio the toolbox design is like
when you click on,sub items are shown .
what is its name ,and how can I have one ?
I want to use this in windows form not wpf
It is commonly called a Tree View. In C#, there are two built in classes. Depending on which UI framework you are using, you would use either:
System.Windows.Controls.TreeView (WPF)
System.Windows.Forms.TreeView (WinForms)
Do a menuStrip. Drag a menuStrip on your form. Then add what you want. Click each item you add then code what the item does.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
How to create a dialog window or something similar to confirm a delete action before deleting a datagrid row?
In WPF there are "preview" events that get called before the "standard" event gets called. These events have the word Preview prefixed on the event name (i.e. PreviewMouseDown). In the "preview" event you can display a MessageBox, or something similar, asking the user to confirm the deletion. If the user confirms the deletion let the event continue. Otherwise you can mark the event as handled and the "standard" event will not execute.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Does ASP have a construct similar to Access's On Current event? I've inherited a set of ASP web forms coded in C# and the rules associated with the form controls kick in OK if you click one of the controls but I need them to apply when the form opens, not only on change. That they don't is allowing bad data.
I need them to apply when the form opens, not only on change.
With ASP.NET you can use the Page_Load event handler; check out the page lifecycle documentation for more details, as that may lead you to something more appropriate and would be a rather educational read on the whole.