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 have a simple question.how can i use property of a class in another class in ?i have a picturebox in a class and i want to use the picture in picturebox in another class.how can i do it?thanks.
(edit: this answer relates to when the question referred to tabs)
Unless I have misunderstood the question, a couple of options:
have two separate instances of the PictureBox and associated image
sneakily re-position the PictureBox when the tab index changes (small saving on resources)
Related
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.
A question out of curiosity.
Is there a recommended limit to the number of controls in one form? How many is too many?
If it is VB then the limit is 256
But even beyong that you can use control arrays.
and "How many is too many depends on your forms size"
its always good to use controls as low as possible in number to make the form look good and tidy.
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).
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.
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.
I have a form as Dashboards. I want to automatically refresh data without the data being read from the database and the user are shown.
What is the best late for this scenario? I did this using a timer, but the best for this scenario is late?
If you want to show data to user but you didn't want to crash your form you can Use background worker or use threads in advanced.
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.
Can't find any information in Web, so is there any standard possibilities for creating search by columns in default WPF DataGrid?
Here is a good one for you.
But, there is no Standard easy way of doing this. I think the easiest way is writing your own method which hopefully would save your time and give you more flexibility.