| Thread | Last Post | Replies |
|
| "Replacing" an object in a List(Of Object) | 28 Jan 2008 02:41 GMT | 13 |
Let's say that I have two classes: Franchise and FranchiseOwner. Suppose that the Franchise class has a property, called FranchiseOwners, which is a List(Of FranchiseOwner). Now, suppose that I have a form, with a module-level object variable
|
| DataGridView calculated field | 27 Jan 2008 17:52 GMT | 1 |
I have a DataGridView binded to DataTable. In the DataTable I have an "ID" field. How can I create calculated column in the DataGridView that gets as value object (string) from my list, where item index in the list is equal to value
|
| how to display resizeable rectange | 27 Jan 2008 17:51 GMT | 2 |
I need in my Windows Forms application to allow user to enter a rectangle and later resize it. In the other words, I need to display a rectangle that (if selected) shows control points that user can grab (with mouse) and drag to resize the rectangle. Can you recommend an ...
|
| Reusable Windwows Design in C# | 27 Jan 2008 17:48 GMT | 2 |
Environment : VS 2005/ VC# / .NET 2.0 By default Windows Form provides a window. One can programatically change the look and feel of the windows . But I want to create a reusable Window , so the user does not need to
|
| Problem trying to "replace" an Object in a List(Of Object) | 27 Jan 2008 01:02 GMT | 1 |
I have a class, MerchantList, which has a property, Merchants which is a List(Of Merchant). I am trying to figure out how to "replace" one of the Merchant objects in the Merchants List with another new one. I created a simple test, coded as follows:
|
| Focus at the right spot | 26 Jan 2008 21:25 GMT | 3 |
I use Mytextbox.text = "Default" mytextbox.focus How do I focus on the first character in the text box?
|
| How to preload forms | 26 Jan 2008 12:51 GMT | 4 |
In my application I use an mdi form in which I display several forms, What is the best way to preload this forms ? during the load event I goto the database to fill my comboxes.... thx for your quick response!
|
| StackOverflowException when Control added to Form | 26 Jan 2008 12:41 GMT | 1 |
The control added is derived from TabControl with 5 Tabs each of which has a DataGridView on it. The DataGridViews are DataBound to a BindingList Collection of Business Objects. The really interesting part is it only happens when the DataGridView on
|
| Calling the parent | 25 Jan 2008 20:45 GMT | 2 |
I have a user control inside another user control. Is there a way for a Child Control to call back to the parent, raising an event in the parent or anything such?
|
| passing back null to a database field if textbox is blank | 25 Jan 2008 16:53 GMT | 2 |
I have a text box that represents Hours worked, I also have a text box that represents Adjusted Hours worked. If user wants to override the Hours worked they enter a value in the Adjusted Hours worked text box. In doing so the Adjusted hours worked field in the database would ...
|
| Show class in Toolbox | 25 Jan 2008 14:18 GMT | 1 |
Heya, I am writing my own class, that is inheriting from Form and only adds few additional properties. However question is how to add this custom class to toolbox??
|
| Resizing forms at runtime using Compact Framework 2.0 | 25 Jan 2008 12:42 GMT | 1 |
Does anyone know how to resize a form at runtime using the compact framework 2.0? I have tried using form.Height to set the new size but the form does not change size (This apparently works on the full framework but not on the
|
| Lock the OS or any other application. | 25 Jan 2008 11:50 GMT | 5 |
I have been developing web applications. Now I have got a task to implement an application to simulate an exam. I'm thus thinking to make it a windows Forms app. as one of the requirements could be to stop students from using any other application on the computer.
|
| changing properties of progressbar | 25 Jan 2008 09:21 GMT | 6 |
How can I set the value of a progressbar in a wait window? frm (it contains the progressbar) is a form that is called from another program. I get a compilation error at the first line below.
|
| Z-order not working for stacked panels | 24 Jan 2008 23:43 GMT | 5 |
I'm upgrading/rewriting an apllication written in VB6 to VB2008. The main form had an outlook-like navigation with a vertical buttonbar in the left side of the form and a bunch of frames with controls on them in the main area. All these frames were placed exactly on top of each ...
|