You are on page 1of 12

1

Date and Time Tool


2 HELLO
!
I am Danish Raza
Reg No# FA15-BCS-029
3

Date and Time Tool


4
▸ Function
Back Color
Gets or sets a value indicating the background color of the DateTimePicker control.

THIS IS A
SLIDE TITLE Background Image
Gets or sets the background image for the control.

Background Image Layout


Gets or sets the layout of the background image of the Date Time Picker control.

Calendar Font
Gets or sets the font style applied to the calendar.
5
▸ Conti…
Calendar Fore color
Gets or sets the foreground color of the calendar.

Calendar Month Background


Gets or sets the background color of the calendar month.

Calendar Title Back Color


Gets or sets the background color of the calendar title.

Calendar Title Fore Color


Gets or sets the foreground color of the calendar title.
6
▸ How to: Display Time with the Date Time Picker Control?
▸ If you want your application to enable users to select a date and time, and to display that date and
time in the specified format, use the Date Time Picker control. The following procedure shows
how to use the Date Time Picker control to display the time.
using System;
using System.Collections.Generic;
CREDITS using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace TimePickerApplication
{
public class Form1 : Form
{
public Form1()
{
InitializeTimePicker();
7
8
9
10
11
12 THANKS!
Any questions?

You might also like