h1.post-title { color:orange; font-family:verdana,Arial; font-weight:bold; padding-bottom:5px; text-shadow:#64665b 0px 1px 1px; font-size:32px; } -->

Pages

Enable/Disable date at runtime in DateTime in .Net


Today we will discuss about how to enable and disable date at runtime in DateTime in .Net Drag and Drop DateTimepicker to form. Change in the DatetimePicker:Checked: true
S.NoPro NameModify
1CustomFormatdd/MM/yyyy
2FormatCustom
3ShowCheckBoxTRUE
Run the Application 
unchecked the Check box on the DatetimePicker.
date will disable in the DatetimePicker.

checked  the Check box on the DatetimePicker.
date will enable in the DatetimePicker.

Focus on New Line in TextBox in C#.net

Today ,we will discuss about focus on New line in TextBox in C#.Net

Select Multiple Line option in the TextBox.
Call this Code in your TextBox KeyDown Event
if (e.KeyCode == Keys.Enter)
{
(textbox name).AppendText((textbox name).Text);
}

Windows Control Starts with “B”

Background Worker:

You can use it to long Processing like Conversion, File Management. If both UI and the long Processing are ran within the same thread the UI appears to hang, making the average PC. So let's do it the decent way and use Background Worker.
Button:

Button accepts Clicks. It is interact with User and UI .This Control accepts Input. It is an interactive component that enables users to communicate with an application. A Button can be clicked by using the mouse, ENTER key or SPACE BAR if the button has focus.

List of Windows Controls


        Windows Forms controls are reusable components that encapsulate user interface functionality and are used in client side Windows applications.

B

·         BackgroundWorker
·         Button

C

·         Checkbox
·         CheckedListBox
·         ComboBox
·         ContextMenuStrip
·         ColorDialog
·         Chart

D

·         DropDownItems
·         DateTimePicker
·         DialogResult
·         DataGridView
·         DomainUpDown
E
·         ErrorProvider
·         EventLog
F
·         FlowLayoutPanel
·         FolderBrowserDialog
·         FontDialog
·         FileSystemWatcher

 G

·         GroupBox

          H
·         HelpProvider
     I
·         ImageList

          L

·         ListBox
·         Label
·         LinkLabel
·         ListView

          M
·         MaskedTextBox
·         MenuStrip
·         MonthCalendar
          N
·         NotifyIcon
·         NumericUpDown
      O
·         OpenFileDialog
  P
·         ProgressBar
·         PictureBox
·         Panel
·         Pointer
·         PropertyGrid
       R
·         RichTextBox
·         RadioButton
          S
·         StatusStrip
·         SaveFileDialog
·         SplitContainer
          T
·         TextBox
·         ToolStripContainer
·         TableLayoutPanel
·         TabControl
·         ToolTip
·         TrackBar
·         TreeView
 W
·         WebBrowser