Type: Posts; User: JeffInTexas
Search took 0.01 seconds.
October 5th, 2012, 08:11 AM
I need a quick lesson on doing this the right way.
I have a datagridview (dgv) to contain a list (phones). Let's say a phone has 2 properties: PhoneNum and PhoneExt. Both are string.
I was aware of that function, but there does not appear to be a function that works in reverse order, so that the array is copied back in to the "non-reference" copy.
But anyway, I might not have...
I am writing a custom CheckedListBox control, where part of its purpose will be to compare changes to Checked status of items with the status of those items when the control was first initialized...
I didn't think of Reflection, so thanks for the suggestion. I see nothing in PropertyInfo that allows the addition of a property to a particular type.
Where class CustomControl: Control....
I would like to add properties to controls of every type. For example, each generic control has a "Tag" property. I'd like to add a property "ControlDescription" and some others to do some things...
April 27th, 2012, 11:18 PM
Apparently, it's probably not a "quirk." After exhaustive researching, I finally found that it appears that whether or not a control is in designer mode can be tested through the...
April 25th, 2012, 07:58 PM
I am using the DesignSurface (ds) at runtime to allow end user to move and re-size controls.
I want the user to be able to pre-view the form in another tab, the "Preview" tab. When user selects...
December 28th, 2011, 05:47 PM
Does anyone know whether C# Windows Forms apps can be programmed to handle multitouch events on trackpads, such as 2-finger swipes to scroll up/down or left/right, etc.?
Links to sources, code...
December 23rd, 2011, 10:16 AM
I did some additional reading. Thanks for giving me the keyword "Generics." I pretty much get it, now.
December 23rd, 2011, 09:19 AM
Thanks, Bio. It sort-of makes sense. Your explanation is better for a newbie tan the long article at the link.
But what I don't understand is, Why add the <int> to List in the first place? ...
December 22nd, 2011, 07:18 PM
I understand the simple DataTable myTable = new DataTable;
Please describe what adding <Customer> is called, how the system handles it and...
December 22nd, 2011, 02:19 PM
I agree. I don't think it would be all too great to have a newbie learn some programming steps while skipping major components. I'm a newbie in C# myself. What the world lacks is a good book. ...
December 20th, 2011, 09:20 PM
Here is probably the best link. I bet you could create a generic function using all this.
December 20th, 2011, 08:33 PM
Wish I had the answer. From what I gather, it is a small PITA where you will have to write some chunks of code to allow for "runtime evaluation" (Google the phrase).
I subscribed to this...
December 20th, 2011, 06:48 PM
Flower flower1 = new Flower(1, 1, 1, 1, "Daisy");
MessageBox.Show("flower1: \n\n FlowerType=" +...
December 20th, 2011, 05:57 PM
Ah! I thought I did, but apparently, changing the title is not the way to do it. I figured it out.
December 16th, 2011, 04:48 PM
I want the combobox control effect to provide a drop-down list of Customers. However, I need to make sure that each combobox.item relates to a customer in the database.
I wanted to be able to...
December 13th, 2011, 10:30 AM
Okay, in that case, it seems only useful for conserving resources (speed). However, if you have a small database (not like CitiGroup, or something), it doesn't seem then that stored procs are...
December 12th, 2011, 10:08 PM
What's the big deal? Why use them as opposed to coding the procedures in your app?
December 10th, 2011, 10:25 PM
Well, I stumbled on this page with a lot of information for beginners, including videos. The videos are really helpful, but they move fast. I would highly recommend these be linked to somewhere in...
December 10th, 2011, 06:49 PM
Update. A few hours more of digging, and I think I have found that I was using the older LINQ method.
So, now I get it, I think. That is, LINQ depends on datasets and dataadapters, whereas...
December 10th, 2011, 04:21 PM
It looks like I am getting the hang of something here:
dbDataSet = new DataSet();
December 10th, 2011, 02:58 PM
I thought "refreshing" the database in the wizard means that the wizard goes out and gets all the changes made to your data structure which might have been made elsewhere, like in Server Studio. If...
December 10th, 2011, 01:28 PM
Arjay, you just might be the person I've been looking for to steer me right. Let be describe briefly where I am at in the curve and what I am looking for (and even willing to pay for).
December 10th, 2011, 10:20 AM
Thank you, Arjay. You are not too late. I need to get a decent grip of the various methods that are available to me, along with their pros and cons and the syntax with which you invoke them. ...
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!