Home Dotnet Tutorials

Dotnet Tutorials

Steps to use Win Forms Control Library in Win Form Apps:-

1.Create a new WinForms application or open an existing winforms application. 2.Open the toolbox in the design vie environment, Right click to general tab &...

UCNumeric TexBox.cs:-

Public string Numeric Text { get{return this.TextBox1.Text;} set{this.TextBox1.Text=Value;} } Private void text Box_Key Press(object sender, key Press Event Args e) { Int key=(int)e.keychar; If((Key>=48&&key<57)||key==8||key==46; e.Handled=false; else e.Handled=True; int index=textBox1.Text.Index of(‘,’); if (index>=0) { If((key>=48&&key<=57)||key==8) e.Handled=false; else e.Handled=true; } } After creating above both user controls,...

Steps to create windows Forms Control Library Project:-

1.Open visual studio IDE. 2.Click Main Menu i.e. FileàNew àProject 3.Choose Windows Forms Control Library Template Form Windows (It is a Template to create a project...

windows Forms control Library:-

-The windows forms control Library is a project template that can be used to create custom controls to be reused in multiple Win Forms...

Steps to Create an user control in windows Form Application:-

1.Create a new windows Forms application or open an existing windows forms application. 2.Open solution explore, select Add->New item, choose user control Template from the...

User Controls in windows Forms Application:-

The user control in windows Forms application containing a UI similar to windows Form to create user defined control, that can be reusable to...