private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this._btnToday = new TodayButton(); this._btnLeft = new NavigateLeftButton(); this._btnRight = new NavigateRightButton(); this._contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this._miProperties = new System.Windows.Forms.ToolStripMenuItem(); this._contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // _btnToday // this._btnToday.BackColor = System.Drawing.Color.Transparent; this._btnToday.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); this._btnToday.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(243)))), ((int)(((byte)(243))))); this._btnToday.ButtonFont = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold); this._btnToday.ButtonText = "Today"; this._btnToday.FocusColor = System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(144)))), ((int)(((byte)(254))))); this._btnToday.HighlightBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(198)))), ((int)(((byte)(198))))); this._btnToday.HighlightButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(246)))), ((int)(((byte)(246))))); this._btnToday.Location = new System.Drawing.Point(19, 20); this._btnToday.Name = "_btnToday"; this._btnToday.Size = new System.Drawing.Size(72, 29); this._btnToday.TabIndex = 0; this._btnToday.TextColor = System.Drawing.Color.Black; this._btnToday.ButtonClicked += new CoolButton.ButtonClickedArgs(this.BtnTodayButtonClicked); // // _btnLeft // this._btnLeft.BackColor = System.Drawing.Color.Transparent; this._btnLeft.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); this._btnLeft.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(243)))), ((int)(((byte)(243))))); this._btnLeft.ButtonFont = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold); this._btnLeft.ButtonText = "<"; this._btnLeft.FocusColor = System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(144)))), ((int)(((byte)(254))))); this._btnLeft.HighlightBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(198)))), ((int)(((byte)(198))))); this._btnLeft.HighlightButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(246)))), ((int)(((byte)(246))))); this._btnLeft.Location = new System.Drawing.Point(98, 20); this._btnLeft.Name = "_btnLeft"; this._btnLeft.Size = new System.Drawing.Size(42, 29); this._btnLeft.TabIndex = 1; this._btnLeft.TextColor = System.Drawing.Color.Black; this._btnLeft.ButtonClicked += new CoolButton.ButtonClickedArgs(this.BtnLeftButtonClicked); // // _btnRight // this._btnRight.BackColor = System.Drawing.Color.Transparent; this._btnRight.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); this._btnRight.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(243)))), ((int)(((byte)(243))))); this._btnRight.ButtonFont = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold); this._btnRight.ButtonText = ">"; this._btnRight.FocusColor = System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(144)))), ((int)(((byte)(254))))); this._btnRight.HighlightBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(198)))), ((int)(((byte)(198))))); this._btnRight.HighlightButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(246)))), ((int)(((byte)(246))))); this._btnRight.Location = new System.Drawing.Point(138, 20); this._btnRight.Name = "_btnRight"; this._btnRight.Size = new System.Drawing.Size(42, 29); this._btnRight.TabIndex = 2; this._btnRight.TextColor = System.Drawing.Color.Black; this._btnRight.ButtonClicked += new CoolButton.ButtonClickedArgs(this.BtnRightButtonClicked); // // _contextMenuStrip1 // this._contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this._miProperties }); this._contextMenuStrip1.Name = "_contextMenuStrip1"; this._contextMenuStrip1.Size = new System.Drawing.Size(137, 26); // // _miProperties // this._miProperties.Name = "_miProperties"; this._miProperties.Size = new System.Drawing.Size(136, 22); this._miProperties.Text = "Properties..."; this._miProperties.Click += new System.EventHandler(this.MenuItemPropertiesClick); // // Calendar // this.Controls.Add(this._btnRight); this.Controls.Add(this._btnLeft); this.Controls.Add(this._btnToday); this.Name = "Calendar"; this.Size = new System.Drawing.Size(512, 440); this.Load += new System.EventHandler(this.CalendarLoad); this.Paint += new System.Windows.Forms.PaintEventHandler(this.CalendarPaint); this.MouseClick += new System.Windows.Forms.MouseEventHandler(this.CalendarMouseClick); this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.CalendarMouseMove); this.Resize += new System.EventHandler(this.CalendarResize); this.DoubleBuffered = true; this._contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this._btnToday = new TodayButton(); this._btnLeft = new NavigateLeftButton(); this._btnRight = new NavigateRightButton(); this._contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this._miProperties = new System.Windows.Forms.ToolStripMenuItem(); this._contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // _btnToday // this._btnToday.AutoSize = true; this._btnToday.BackColor = System.Drawing.Color.Transparent; this._btnToday.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); this._btnToday.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(243)))), ((int)(((byte)(243))))); this._btnToday.ButtonFont = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold); this._btnToday.ButtonText = "Vandaag"; this._btnToday.FocusColor = System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(144)))), ((int)(((byte)(254))))); this._btnToday.HighlightBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(198)))), ((int)(((byte)(198))))); this._btnToday.HighlightButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(246)))), ((int)(((byte)(246))))); this._btnToday.Location = new System.Drawing.Point(19, 20); this._btnToday.Margin = new Padding(6, 6, 6, 6); this._btnToday.Name = "_btnToday"; this._btnToday.Size = new System.Drawing.Size(72, 29); this._btnToday.TabIndex = 0; this._btnToday.TextColor = System.Drawing.Color.Black; this._btnToday.ButtonClicked += new CoolButton.ButtonClickedArgs(this.BtnTodayButtonClicked); // // _btnLeft // this._btnLeft.AutoSize = true; this._btnLeft.BackColor = System.Drawing.Color.Transparent; this._btnLeft.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); this._btnLeft.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(243)))), ((int)(((byte)(243))))); this._btnLeft.ButtonFont = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold); this._btnLeft.ButtonText = "<"; this._btnLeft.FocusColor = System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(144)))), ((int)(((byte)(254))))); this._btnLeft.HighlightBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(198)))), ((int)(((byte)(198))))); this._btnLeft.HighlightButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(246)))), ((int)(((byte)(246))))); this._btnLeft.Location = new System.Drawing.Point(98, 20); this._btnLeft.Margin = new Padding(6, 6, 6, 6); this._btnLeft.Name = "_btnLeft"; this._btnLeft.Size = new System.Drawing.Size(42, 29); this._btnLeft.TabIndex = 1; this._btnLeft.TextColor = System.Drawing.Color.Black; this._btnLeft.ButtonClicked += new CoolButton.ButtonClickedArgs(this.BtnLeftButtonClicked); this._btnLeft.Load += new System.EventHandler(this._btnLeft_Load); // // _btnRight // this._btnRight.AutoSize = true; this._btnRight.BackColor = System.Drawing.Color.Transparent; this._btnRight.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); this._btnRight.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(243)))), ((int)(((byte)(243))))); this._btnRight.ButtonFont = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold); this._btnRight.ButtonText = ">"; this._btnRight.FocusColor = System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(144)))), ((int)(((byte)(254))))); this._btnRight.HighlightBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(198)))), ((int)(((byte)(198))))); this._btnRight.HighlightButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(246)))), ((int)(((byte)(246))))); this._btnRight.Location = new System.Drawing.Point(138, 20); this._btnRight.Margin = new Padding(6,6,6,6); this._btnRight.Name = "_btnRight"; this._btnRight.Size = new System.Drawing.Size(42, 29); this._btnRight.TabIndex = 2; this._btnRight.TextColor = System.Drawing.Color.Black; this._btnRight.ButtonClicked += new CoolButton.ButtonClickedArgs(this.BtnRightButtonClicked); // // _contextMenuStrip1 // this._contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(32, 32); this._contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this._miProperties}); this._contextMenuStrip1.Name = "_contextMenuStrip1"; this._contextMenuStrip1.Size = new System.Drawing.Size(238, 42); // // _miProperties // this._miProperties.Name = "_miProperties"; this._miProperties.Size = new System.Drawing.Size(237, 38); this._miProperties.Text = "Properties..."; this._miProperties.Click += new System.EventHandler(this.MenuItemPropertiesClick); // // Calendar // this.Controls.Add(this._btnRight); this.Controls.Add(this._btnLeft); this.Controls.Add(this._btnToday); this.DoubleBuffered = true; this.Name = "Calendar"; this.Size = new System.Drawing.Size(512, 440); this.Load += new System.EventHandler(this.CalendarLoad); this.Paint += new System.Windows.Forms.PaintEventHandler(this.CalendarPaint); this.MouseClick += new System.Windows.Forms.MouseEventHandler(this.CalendarMouseClick); this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.CalendarMouseMove); this.Resize += new System.EventHandler(this.CalendarResize); this._contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }