Display: Cloud | List
Most Popular Tags
Results (44 total) All > class (x)
.NET Framework Class LibraryComboBox ClassUpdated: September 2010Represents a selection control with a drop-down list that can be shown or hidden by clicking the arrow on the control.                                                                                                   System.Windows.Controls System.Windows.Controls..::.ComboBoxComboBoxNamespace:   System.Windows.Cont
Last modified by Microsoft on 9/29/2011 2:56:47 AM
Tags:  class  combobox
which version silverlight those classes belong to? (.NET Framework Class Library for Silverlight)
Which version silverlight those classes belong to? SL3, SL4, SL5?And why are namespaces like System.Windows.Interactivity are not listed here instead belongs to a "design tool"!? http://msdn.microsoft.com/en-us/library/system.windows.interactivity(Expression.40).aspx And it tight to design tools version?(This is really an offensive to developers :-)Does designer really interactive with class dir
Last modified by Ryan Liu on 5/15/2012 9:06:07 PM
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
ValidationResult Design? (ValidationResult Class (System.ComponentModel.DataAnnotations))
Why does Microsoft seem to violate its own espoused best practices for class design by exposing a public field? Why is Success a field when it could have been a property? I also see magic strings everywhere in System.ComponentModel.Design namespace arguments and usage. As a developer who is always trying to improve, it becomes very confusing to me when Microsoft constantly violates FxCop rules in
Last modified by Apostolypse Now on 12/18/2010 9:27:21 PM
Tags:  best  class  design  fields  fxcop  library  practice
Non-64 bit COM Servers (Troubleshooting Exceptions: System.Runtime.InteropServices.COMException)
The specific COM exception that arises from HRESULT 0x80040154 (Class not registered) can occur when a .NET application running on a 64-bit platform attempts to create an instance of a COM coclass that is not 64-bits. Here is an example in C# : Object newObj = Activator.CreateInstance(Type.GetTypeFromProgID("MyCOMServer.MyCOMClass")); If the COM server (that houses the COM coclass with
Last modified by Tailor on 1/19/2012 6:04:02 AM
Thetre is a missmatch in path (How to: Create a Windows Communication Foundation Client)
When I built the proxy by using svcutil, the output didn't create where this topic mentioned, instead it is creating the file from where we are executing the command"svcutil.exe /language:cs /out:generatedProxy.cs /config:app.config http://localhost:8000/ServiceModelSamples/service".
Last modified by Thomas Lee on 6/5/2010 7:02:52 PM
Tags:  class  contentbug
Mobile Calclator Program (Creating Your First Visual Basic Program)
//you can download the application free with the source code from www.empretecnigeriafoundation.org/design/vb.aspPublic Class easycalcPrivate Sub Calculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Calculate.ClickDim A As Double = _numA.TextDim B As Double = _numB.TextDim calc As String = oprator.TextDim C As DoubleIf oprator.Text = "+" ThenC = A + BElseIf oprator.T
Last modified by wbetterley on 9/30/2011 5:03:09 PM
Tags:  class  easycalc  public
.NET Framework Class LibraryButton ClassMembers Displays a push button control on the Web page. Namespace: System.Web.UI.WebControlsAssembly: System.Web (in system.web.dll)SyntaxVisual Basic (Declaration)Public Class Button Inherits WebControl Implements IButtonControl, IPostBackEventHandlerVisual Basic (Usage)Dim instance As Button C#public class Button : WebControl, IButtonControl,
Last modified by Microsoft on 7/24/2007 7:14:18 PM
Tags:  button  class
Partial Class Namespace for ScaffoldTableAttribute (ASP.NET Dynamic Data Scaffolding and Page Templates Overview)
I struggled with getting the ScaffoldTableAttribute working until I got the namespace correct for the partial class.In my situation, I was using the Entity Framework. Here's what I had to do to get it working. Assuming we're using the Adventureworks database as above, Studio will create a .edmx file which holds the entity data model created from the database. The partial class that you create must
Last modified by douglaskline on 12/13/2009 10:23:50 PM
Is it wrong? (AppSettingsReader Class (System.Configuration))
String value = String.Empty;for (int i = 0; i < appStgs.Count; i++){string key = names[i];value = (String)reader.GetValue(key, value.GetType());There is a value for app.config. There is a value for the String.Compiler got problem, is that really wrong?
Last modified by qcqcSteve on 12/2/2009 10:05:00 PM
Page view tracker