Display: Cloud | List
Most Popular Tags
Results (81 total) All > .net (x)
Code shouldn't disappear (Partial Classes and Methods (C# Programming Guide))
Cant agree with source code disappearing as part of compilation activity: As it is a compilation issue there are 2 options:1)throw compilation error so that the coder is aware of what's happening2)and if possible, have a new method_implemented keyword to enable coding like this: if method_implemented(obj.FnFOO(type1, type2) { obj.FnFOO(arg1, arg2);}
Last modified by cethie on 11/10/2011 8:46:33 AM
This is just a reminder that a VS6 and previous ListBox or ComboBox stores a single string list of data, but their .NET control counterparts use two. One is a collection of Objects (Items), and the other is a list of ToString representations of that collection of objects, which is basically the same as a VS6 ListBox display list or a ComboBox dropdown list. The LB_DIR process will write the direct
Last modified by DavidRossG on 6/13/2011 11:37:14 PM
Tags:  .net  cb-dir
This is just a reminder that a VS6 and previous ListBox or ComboBox stores a single string list of data, but their .NET control counterparts use two. One is a collection of Objects (Items), and the other is a list of ToString representations of that collection of objects, which is basically the same as a VS6 ListBox display list or a ComboBox dropdown list. The LB_DIR process will write the direct
Last modified by DavidRossG on 6/13/2011 11:34:04 PM
Tags:  .net  lb_dir
C#.net object (object (C# Reference))
Hii have two different methods in one class , but i am using two methods but i need one object ?
Last modified by Krishna_G on 3/17/2011 7:30:02 AM
Tags:  .net
VB.Net code sample. (ButtonBase.FlatAppearance Property (System.Windows.Forms))
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Button1.BackColor = Color.Black Button1.ForeColor = Color.White Button1.FlatAppearance.BorderColor = System.Drawing.Color.Red Button1.FlatAppearance.BorderSize = 1 Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat End Sub End Class
Last modified by John Anthony Oliver on 1/31/2011 4:58:45 PM
VB.Net code sample. (ButtonBase.FlatAppearance Property (System.Windows.Forms))
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Button1.BackColor = Color.Black Button1.ForeColor = Color.White Button1.FlatAppearance.BorderColor = System.Drawing.Color.Red Button1.FlatAppearance.BorderSize = 1 Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat End Sub End Class
Last modified by John Anthony Oliver on 1/31/2011 4:37:35 PM
"setting" the FlatAppearance property (ButtonBase.FlatAppearance Property (System.Windows.Forms))
.NET 2.0 allows FlatAppearance properties to be set, but the help text says it is read only.   The FlatAppearance property is of type FlatButtonAppearance.  You can't set the property value itself, but you can access the property and set the FlatButtonAppearance property values.  (See http://msdn2.microsoft.com/en-us/library/system.windows.forms.flatbuttonappearance_members.aspx for a list of ava
Last modified by MollyBos - MSFT on 3/29/2007 7:58:57 PM
VB.Net code sample. (ButtonBase.FlatAppearance Property (System.Windows.Forms))
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Button1.BackColor = Color.Black Button1.ForeColor = Color.White Button1.FlatAppearance.BorderColor = System.Drawing.Color.Red Button1.FlatAppearance.BorderSize = 1 Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat End Sub End Class
Last modified by John Anthony Oliver on 1/31/2011 4:25:00 PM
VB.Net code sample. (ButtonBase.FlatAppearance Property (System.Windows.Forms))
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Button1.BackColor = Color.Black Button1.ForeColor = Color.White Button1.FlatAppearance.BorderColor = System.Drawing.Color.Red Button1.FlatAppearance.BorderSize = 1 Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat End Sub End Class
Last modified by John Anthony Oliver on 1/31/2011 4:25:46 PM
Are they bringing the XML literal translation ability to C# with .NET 4.0? That would be extremely helpful instead of having to do the function calls to insert the elements and attributes.
Last modified by Jess10K on 3/25/2010 6:08:14 PM
Tags:  .net  4.0  attributes  linq  xml
Page view tracker