Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
U

User 4467139

@User 4467139
About
Posts
15
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How i use the connection string for making a connection object..
    U User 4467139

    add a reference in ur class file. using System.Configuration;

    C# question

  • How i use the connection string for making a connection object..
    U User 4467139

    if your connection string is like this add name="conn1" connectionString="string1" ur access will be like this. string conn = ConfigurationManager.ConnectionStrings[conn1].ConnectionString;

    C# question

  • get set property
    U User 4467139

    1 word: Encapsulation

    C# question

  • PropertyGrid and Custom properties
    U User 4467139

    I think you looking for TypeConverterAttribute and ExpandableObjectConverter. The following link shows how to do it. <a href="http://msdn.microsoft.com/en-us/library/aa302326.aspx"> <a href="http://msdn.microsoft.com/en-us/library/ayybcxe5.aspx">

    C# tutorial question

  • PropertyGrid and Custom properties
    U User 4467139

    Try [BrowsableAttribute(true)] above your property description

    C# tutorial question

  • Fire enter key
    U User 4467139

    Use something like this.... private void Textbox__KeyDown( object sender_, KeyEventArgs args_ ) { if ( args_.KeyCode == Keys.Return ) { // Do whatever } }

    C# tutorial

  • Exposing class properties for design time use
    U User 4467139

    [Message Deleted]

    C# question design

  • How to detect .net Framework 3.5 is installed or available
    U User 4467139

    The following code will give you the list of available versions. const string regLocation = "SOFTWARE\\Microsoft\\NET Framework Setup\\NDP"; RegistryKey masterKey = Registry.LocalMachine.OpenSubKey(regLocation); RegistryKey tempKey; string[] SubKeyNames = masterKey.GetSubKeyNames(); for( int i = 0 ; i < SubKeyNames.Length ; i++ ) {tempKey = Registry.LocalMachine.OpenSubKey(regLocation + "\\" + SubKeyNames[ i ]); MessageBox.Show(SubKeyNames[ i ]); MessageBox.Show("\tVersion = {0}", tempKey.GetValue("Version").ToString()); } Or you can check the currently user version using the following. MessageBox.Show(Environment.Version.ToString());

    C# csharp dotnet tutorial question

  • Exposing class properties for design time use
    U User 4467139

    use browsable attribute. [BrowsableAttribute(true)]

    C# question design

  • Add a Property for a UserControls
    U User 4467139

    I just tried using the same code that u gave and it seems to work fine for me. Can you give me the code for the control and also the code for ur form. It might help.

    C# css com design tools xml

  • I have Macros in Excel and I want it to run through my application in .NET
    U User 4467139

    Do you have the Microsoft office interop assemblies installed and referenced?

    C# help csharp question

  • USER CONTROL
    U User 4467139

    The simplest thing is create a form and put all the controls(grids, labels, textboxes, etc) that you will be needing into that form. Now go to the class declaration(.cs file) where it says "public partial class Class1 : Form" and change it to "public partial class RSIntexPA : UserControl" Compile the project and generate it a dll. Now you can use your usercontrol via this dll anywhere.

    C# database tutorial

  • Add a Property for a UserControls
    U User 4467139

    You can override the Text property of the usercontrol so as to set the entered text into the label. Something like what is given below. [Browsable(true)] public override string Text { set { label1.Text = value; } } This will let you set the text in design time.

    C# css com design tools xml

  • DataGridView with ComboBox. Need help
    U User 4467139

    You can create objects of the items and then add the list of objects to the combo box.This way you can access the selected object from the datagridview cell.

    C# database help

  • text parsing or automatic segmentation of text in c#
    U User 4467139

    Can you give us more detail on what you are looking at?

    C# csharp c++ json help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups