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...
AWS Interview Questions

Top 40 AWS Interview Questions – Read Now!

If you’ve started cross-training to prepare for development and operations roles in the AWS i.e. Amazon Web Services industry, you know it’s a challenging...

Events:-

1.Tick: This event Fires whenever specified interval time clasps. 2.Image List Control:- The image List control is used to manage a collection of images that are typically...

Component Controls:-

1.Timer:- The Timer control is used to raise an event at user defined interval in order to execute any certain code. Properties:- 1.Interval: Used to specify...

Tree view:-

The Tree view control is used to display hierarchal collection of labeled item with an optional image. Properties of Tree view:- Nodes:- Represents a...

Code view:-

Private void form_Load( { //Adding all available Fonts:- Foreach(Font Family font in FontFamily.Families) { cboFontName.Items.Add(font,Name); } //Adding Font size: for( int size=0; size<=72;size+=2) { cboFont size.Items.Add(size) } //Adding Zoom Factor: for(int zoom=100;zoom<=500;zoom+50) { Cbozoom.items.Add(Zoom+”%”); } } Private void bth Undo_Click( { rich Text Box.Undo(); } Private...