/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.Timer1 = new System.Windows.Forms.Timer(this.components); this.cmdClose = new System.Windows.Forms.Button(); this.lblDescription = new System.Windows.Forms.Label(); this.schedule1 = new Gravitybox.Controls.Schedule(); this.SuspendLayout(); // // Timer1 // this.Timer1.Interval = 2000; // // cmdClose // this.cmdClose.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.cmdClose.Location = new System.Drawing.Point(544, 416); this.cmdClose.Name = "cmdClose"; this.cmdClose.Size = new System.Drawing.Size(80, 24); this.cmdClose.TabIndex = 5; this.cmdClose.Text = "&Close"; // // lblDescription // this.lblDescription.Anchor = ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.lblDescription.Location = new System.Drawing.Point(0, 408); this.lblDescription.Name = "lblDescription"; this.lblDescription.Size = new System.Drawing.Size(536, 40); this.lblDescription.TabIndex = 4; this.lblDescription.Text = "[XXX]"; // // schedule1 // this.schedule1.AllowDrop = true; this.schedule1.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.schedule1.MaxDate = new System.DateTime(2004, 1, 10, 0, 0, 0, 0); this.schedule1.MinDate = new System.DateTime(2004, 1, 1, 0, 0, 0, 0); this.schedule1.Name = "schedule1"; this.schedule1.SelectedItem = null; this.schedule1.Size = new System.Drawing.Size(632, 400); this.schedule1.StartTime = new System.DateTime(1, 1, 1, 8, 0, 0, 0); this.schedule1.TabIndex = 3; // // NextSlotForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(632, 445); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.lblDescription, this.schedule1, this.cmdClose }); this.Name = "NextSlotForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "NextSlotForm"; this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.cmdPreview = new System.Windows.Forms.Button(); this.cmdPrint = new System.Windows.Forms.Button(); this.schedule1 = new Gravitybox.Controls.Schedule(); this.SuspendLayout(); // // cmdPreview // this.cmdPreview.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmdPreview.Location = new System.Drawing.Point(416, 386); this.cmdPreview.Name = "cmdPreview"; this.cmdPreview.Size = new System.Drawing.Size(80, 24); this.cmdPreview.TabIndex = 5; this.cmdPreview.Text = "Preview"; // // cmdPrint // this.cmdPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmdPrint.Location = new System.Drawing.Point(504, 386); this.cmdPrint.Name = "cmdPrint"; this.cmdPrint.Size = new System.Drawing.Size(80, 24); this.cmdPrint.TabIndex = 4; this.cmdPrint.Text = "Print"; // // schedule1 // this.schedule1.AllowDrop = true; this.schedule1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.schedule1.Appearance.FontSize = 10F; this.schedule1.Appearance.ForeColor = System.Drawing.Color.DarkGray; this.schedule1.ColumnHeader.AllowResize = false; this.schedule1.ColumnHeader.Appearance.Alignment = System.Drawing.StringAlignment.Center; this.schedule1.ColumnHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.ColumnHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.ColumnHeader.Appearance.FontSize = 10F; this.schedule1.ColumnHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.Cursor = System.Windows.Forms.Cursors.Default; this.schedule1.DataSource = null; this.schedule1.DayLength = 16; this.schedule1.DefaultAppointmentAppearance.FontSize = 10F; this.schedule1.DefaultAppointmentHeaderAppearance.FontSize = 10F; this.schedule1.EventHeader.AllowExpand = false; this.schedule1.EventHeader.Appearance.BackColor = System.Drawing.SystemColors.AppWorkspace; this.schedule1.EventHeader.Appearance.FontSize = 10F; this.schedule1.EventHeader.ExpandAppearance.BackColor = System.Drawing.Color.LightYellow; this.schedule1.EventHeader.ExpandAppearance.FontSize = 10F; this.schedule1.Location = new System.Drawing.Point(0, 0); this.schedule1.MaxDate = new System.DateTime(2004, 1, 10, 0, 0, 0, 0); this.schedule1.MinDate = new System.DateTime(2004, 1, 1, 0, 0, 0, 0); this.schedule1.Name = "schedule1"; this.schedule1.RowHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.RowHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.RowHeader.Appearance.FontSize = 10F; this.schedule1.RowHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.RowHeader.Size = 30; this.schedule1.SelectedAppointmentAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentAppearance.FontSize = 10F; this.schedule1.SelectedAppointmentHeaderAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentHeaderAppearance.FontSize = 10F; this.schedule1.Selector.Appearance.BackColor = System.Drawing.SystemColors.Highlight; this.schedule1.Selector.Appearance.FontSize = 10F; this.schedule1.Size = new System.Drawing.Size(584, 376); this.schedule1.StartTime = new System.DateTime(1, 1, 1, 8, 0, 0, 0); this.schedule1.TabIndex = 6; // // PrintForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(584, 413); this.Controls.Add(this.schedule1); this.Controls.Add(this.cmdPrint); this.Controls.Add(this.cmdPreview); this.Name = "PrintForm"; this.Text = "PrintForm"; this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.Schedule1 = new Gravitybox.Controls.Schedule(); this.Button3 = new System.Windows.Forms.Button(); this.Button2 = new System.Windows.Forms.Button(); this.Button1 = new System.Windows.Forms.Button(); this.lblHeader = new System.Windows.Forms.Label(); this.SuspendLayout(); // // Schedule1 // this.Schedule1.AllowDrop = true; this.Schedule1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.Schedule1.Appearance.FontSize = 10F; this.Schedule1.Appearance.ForeColor = System.Drawing.Color.DarkGray; this.Schedule1.ColumnHeader.Appearance.Alignment = System.Drawing.StringAlignment.Center; this.Schedule1.ColumnHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.Schedule1.ColumnHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.Schedule1.ColumnHeader.Appearance.FontSize = 10F; this.Schedule1.ColumnHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Schedule1.ColumnHeader.Size = 100; this.Schedule1.Cursor = System.Windows.Forms.Cursors.Default; this.Schedule1.DataSource = null; this.Schedule1.DefaultAppointmentAppearance.FontSize = 10F; this.Schedule1.DefaultAppointmentHeaderAppearance.FontSize = 10F; this.Schedule1.EventHeader.AllowExpand = false; this.Schedule1.EventHeader.Appearance.BackColor = System.Drawing.SystemColors.AppWorkspace; this.Schedule1.EventHeader.Appearance.FontSize = 10F; this.Schedule1.EventHeader.ExpandAppearance.BackColor = System.Drawing.Color.LightYellow; this.Schedule1.EventHeader.ExpandAppearance.FontSize = 10F; this.Schedule1.Location = new System.Drawing.Point(0, 64); this.Schedule1.MaxDate = new System.DateTime(2004, 1, 10, 0, 0, 0, 0); this.Schedule1.MinDate = new System.DateTime(2004, 1, 1, 0, 0, 0, 0); this.Schedule1.Name = "Schedule1"; this.Schedule1.RowHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.Schedule1.RowHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.Schedule1.RowHeader.Appearance.FontSize = 10F; this.Schedule1.RowHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Schedule1.RowHeader.Size = 30; this.Schedule1.SelectedAppointmentAppearance.BorderWidth = 3; this.Schedule1.SelectedAppointmentAppearance.FontSize = 10F; this.Schedule1.SelectedAppointmentHeaderAppearance.BorderWidth = 3; this.Schedule1.SelectedAppointmentHeaderAppearance.FontSize = 10F; this.Schedule1.Selector.Appearance.BackColor = System.Drawing.SystemColors.Highlight; this.Schedule1.Selector.Appearance.FontSize = 10F; this.Schedule1.Size = new System.Drawing.Size(600, 296); this.Schedule1.StartTime = new System.DateTime(((long)(0))); this.Schedule1.TabIndex = 4; this.Schedule1.DataSourceUpdated += new Gravitybox.Objects.RefreshDelegate(this.Schedule1_DataSourceUpdated); this.Schedule1.AfterAppointmentAdd += new Gravitybox.Controls.Schedule.AfterAppointmentEventDelegate(this.Schedule1_AfterAppointmentAdd); // // Button3 // this.Button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.Button3.Enabled = false; this.Button3.Location = new System.Drawing.Point(328, 370); this.Button3.Name = "Button3"; this.Button3.Size = new System.Drawing.Size(152, 24); this.Button3.TabIndex = 7; this.Button3.Text = "Remove Appointment"; this.Button3.Click += new System.EventHandler(this.Button3_Click); // // Button2 // this.Button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.Button2.Enabled = false; this.Button2.Location = new System.Drawing.Point(168, 370); this.Button2.Name = "Button2"; this.Button2.Size = new System.Drawing.Size(152, 24); this.Button2.TabIndex = 6; this.Button2.Text = "Add Appointments"; this.Button2.Click += new System.EventHandler(this.Button2_Click); // // Button1 // this.Button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.Button1.Location = new System.Drawing.Point(8, 370); this.Button1.Name = "Button1"; this.Button1.Size = new System.Drawing.Size(152, 24); this.Button1.TabIndex = 5; this.Button1.Text = "Create Dataset"; this.Button1.Click += new System.EventHandler(this.Button1_Click); // // lblHeader // this.lblHeader.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblHeader.Location = new System.Drawing.Point(0, 0); this.lblHeader.Name = "lblHeader"; this.lblHeader.Size = new System.Drawing.Size(600, 56); this.lblHeader.TabIndex = 8; this.lblHeader.Text = "label1"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(600, 397); this.Controls.Add(this.lblHeader); this.Controls.Add(this.Schedule1); this.Controls.Add(this.Button3); this.Controls.Add(this.Button2); this.Controls.Add(this.Button1); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Gravitybox Schedule.NET"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.Label1 = new System.Windows.Forms.Label(); this.OleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand(); this.OleDbConnection1 = new System.Data.OleDb.OleDbConnection(); this.OleDbInsertCommand1 = new System.Data.OleDb.OleDbCommand(); this.OleDbDeleteCommand1 = new System.Data.OleDb.OleDbCommand(); this.OleDbDataAdapter1 = new System.Data.OleDb.OleDbDataAdapter(); this.OleDbUpdateCommand1 = new System.Data.OleDb.OleDbCommand(); this.panel1 = new System.Windows.Forms.Panel(); this.Schedule1 = new Gravitybox.Controls.Schedule(); this.button1 = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // Label1 // this.Label1.Dock = System.Windows.Forms.DockStyle.Top; this.Label1.Location = new System.Drawing.Point(0, 0); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(600, 40); this.Label1.TabIndex = 3; this.Label1.Text = "This form interfaces with an MS-Access database and saves appointments. It only p" + "ersists the appointment\'s key, start date, start time, length, and subject."; // // OleDbSelectCommand1 // this.OleDbSelectCommand1.CommandText = "SELECT appointment_guid, length, start_date, start_time, subject, recurrence_guid" + " FROM Appointment"; this.OleDbSelectCommand1.Connection = this.OleDbConnection1; // // OleDbConnection1 // this.OleDbConnection1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=schedule.mdb"; // // OleDbInsertCommand1 // this.OleDbInsertCommand1.CommandText = "INSERT INTO Appointment(appointment_guid, length, start_date, start_time, subject" + ", recurrence_guid) VALUES (?, ?, ?, ?, ?, ?)"; this.OleDbInsertCommand1.Connection = this.OleDbConnection1; this.OleDbInsertCommand1.Parameters.AddRange(new System.Data.OleDb.OleDbParameter[] { new System.Data.OleDb.OleDbParameter("appointment_guid", System.Data.OleDb.OleDbType.VarWChar, 36, "appointment_guid"), new System.Data.OleDb.OleDbParameter("length", System.Data.OleDb.OleDbType.Integer, 0, "length"), new System.Data.OleDb.OleDbParameter("start_date", System.Data.OleDb.OleDbType.DBDate, 0, "start_date"), new System.Data.OleDb.OleDbParameter("start_time", System.Data.OleDb.OleDbType.Date, 0, "start_time"), new System.Data.OleDb.OleDbParameter("subject", System.Data.OleDb.OleDbType.VarWChar, 100, "subject"), new System.Data.OleDb.OleDbParameter("recurrence_guid", System.Data.OleDb.OleDbType.VarWChar, 50, "recurrence_guid") }); // // OleDbDeleteCommand1 // this.OleDbDeleteCommand1.CommandText = "DELETE FROM Appointment WHERE (appointment_guid = ?)"; this.OleDbDeleteCommand1.Connection = this.OleDbConnection1; this.OleDbDeleteCommand1.Parameters.AddRange(new System.Data.OleDb.OleDbParameter[] { new System.Data.OleDb.OleDbParameter("Original_appointment_guid", System.Data.OleDb.OleDbType.VarWChar, 36, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "appointment_guid", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_length", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "length", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_length1", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "length", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_start_date", System.Data.OleDb.OleDbType.DBDate, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "start_date", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_start_date1", System.Data.OleDb.OleDbType.DBDate, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "start_date", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_start_time", System.Data.OleDb.OleDbType.Date, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "start_time", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_start_time1", System.Data.OleDb.OleDbType.DBDate, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "start_time", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_subject", System.Data.OleDb.OleDbType.VarWChar, 100, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "subject", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_subject1", System.Data.OleDb.OleDbType.VarWChar, 100, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "subject", System.Data.DataRowVersion.Original, null) }); // // OleDbDataAdapter1 // this.OleDbDataAdapter1.DeleteCommand = this.OleDbDeleteCommand1; this.OleDbDataAdapter1.InsertCommand = this.OleDbInsertCommand1; this.OleDbDataAdapter1.SelectCommand = this.OleDbSelectCommand1; this.OleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Appointment", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("appointment_guid", "appointment_guid"), new System.Data.Common.DataColumnMapping("length", "length"), new System.Data.Common.DataColumnMapping("start_date", "start_date"), new System.Data.Common.DataColumnMapping("start_time", "start_time"), new System.Data.Common.DataColumnMapping("subject", "subject") }) }); this.OleDbDataAdapter1.UpdateCommand = this.OleDbUpdateCommand1; // // OleDbUpdateCommand1 // this.OleDbUpdateCommand1.CommandText = "UPDATE Appointment SET appointment_guid = ?, length = ?, start_date = ?, start_ti" + "me = ?, subject = ? WHERE (appointment_guid = ?)"; this.OleDbUpdateCommand1.Connection = this.OleDbConnection1; this.OleDbUpdateCommand1.Parameters.AddRange(new System.Data.OleDb.OleDbParameter[] { new System.Data.OleDb.OleDbParameter("appointment_guid", System.Data.OleDb.OleDbType.VarWChar, 36, "appointment_guid"), new System.Data.OleDb.OleDbParameter("length", System.Data.OleDb.OleDbType.Integer, 0, "length"), new System.Data.OleDb.OleDbParameter("start_date", System.Data.OleDb.OleDbType.DBDate, 0, "start_date"), new System.Data.OleDb.OleDbParameter("start_time", System.Data.OleDb.OleDbType.Date, 0, "start_time"), new System.Data.OleDb.OleDbParameter("subject", System.Data.OleDb.OleDbType.VarWChar, 100, "subject"), new System.Data.OleDb.OleDbParameter("Original_appointment_guid", System.Data.OleDb.OleDbType.VarWChar, 36, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "appointment_guid", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_length", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "length", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_length1", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "length", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_start_date", System.Data.OleDb.OleDbType.DBDate, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "start_date", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_start_date1", System.Data.OleDb.OleDbType.DBDate, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "start_date", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_start_time", System.Data.OleDb.OleDbType.Date, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "start_time", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_start_time1", System.Data.OleDb.OleDbType.Date, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "start_time", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_subject", System.Data.OleDb.OleDbType.VarWChar, 100, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "subject", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_subject1", System.Data.OleDb.OleDbType.VarWChar, 100, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "subject", System.Data.DataRowVersion.Original, null) }); // // panel1 // this.panel1.Controls.Add(this.button1); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 338); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(600, 37); this.panel1.TabIndex = 4; // // Schedule1 // this.Schedule1.AllowDrop = true; this.Schedule1.Appearance.FontSize = 10F; this.Schedule1.Appearance.ForeColor = System.Drawing.Color.DarkGray; this.Schedule1.Appearance.NoFill = false; this.Schedule1.ColumnHeader.Appearance.Alignment = System.Drawing.StringAlignment.Center; this.Schedule1.ColumnHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.Schedule1.ColumnHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.Schedule1.ColumnHeader.Appearance.FontSize = 10F; this.Schedule1.ColumnHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Schedule1.ColumnHeader.Appearance.NoFill = false; this.Schedule1.ColumnHeader.Size = 100; this.Schedule1.DefaultAppointmentAppearance.FontSize = 10F; this.Schedule1.DefaultAppointmentAppearance.NoFill = false; this.Schedule1.DefaultAppointmentHeaderAppearance.FontSize = 10F; this.Schedule1.DefaultAppointmentHeaderAppearance.NoFill = false; this.Schedule1.Dock = System.Windows.Forms.DockStyle.Fill; this.Schedule1.EndTime = new System.DateTime(1, 1, 2, 0, 0, 0, 0); this.Schedule1.ErrorHanding = Gravitybox.Controls.Schedule.ErrorHandlingConstants.Advanced; this.Schedule1.EventHeader.Appearance.BackColor = System.Drawing.SystemColors.AppWorkspace; this.Schedule1.EventHeader.Appearance.FontSize = 10F; this.Schedule1.EventHeader.Appearance.NoFill = false; this.Schedule1.EventHeader.ExpandAppearance.BackColor = System.Drawing.Color.LightYellow; this.Schedule1.EventHeader.ExpandAppearance.FontSize = 10F; this.Schedule1.EventHeader.ExpandAppearance.NoFill = false; this.Schedule1.Location = new System.Drawing.Point(0, 40); this.Schedule1.MaxDate = new System.DateTime(2004, 1, 10, 0, 0, 0, 0); this.Schedule1.MinDate = new System.DateTime(2004, 1, 1, 0, 0, 0, 0); this.Schedule1.Name = "Schedule1"; this.Schedule1.RowHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.Schedule1.RowHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.Schedule1.RowHeader.Appearance.FontSize = 10F; this.Schedule1.RowHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Schedule1.RowHeader.Appearance.NoFill = false; this.Schedule1.RowHeader.Size = 30; this.Schedule1.SelectedAppointmentAppearance.BorderWidth = 3; this.Schedule1.SelectedAppointmentAppearance.FontSize = 10F; this.Schedule1.SelectedAppointmentAppearance.NoFill = false; this.Schedule1.SelectedAppointmentHeaderAppearance.BorderWidth = 3; this.Schedule1.SelectedAppointmentHeaderAppearance.FontSize = 10F; this.Schedule1.SelectedAppointmentHeaderAppearance.NoFill = false; this.Schedule1.Selector.Appearance.BackColor = System.Drawing.SystemColors.Highlight; this.Schedule1.Selector.Appearance.FontSize = 10F; this.Schedule1.Selector.Appearance.NoFill = false; this.Schedule1.Size = new System.Drawing.Size(600, 298); this.Schedule1.StartTime = new System.DateTime(((long)(0))); this.Schedule1.TabIndex = 5; this.Schedule1.TimeMarker.Appearance.FontSize = 10F; this.Schedule1.TimeMarker.Appearance.NoFill = false; this.Schedule1.DataSourceUpdated += new Gravitybox.Objects.RefreshDelegate(this.Schedule1_DataSourceUpdated); this.Schedule1.AfterAppointmentAdd += new Gravitybox.Controls.Schedule.AfterAppointmentEventDelegate(this.Schedule1_AfterAppointmentAdd); // // button1 // this.button1.Location = new System.Drawing.Point(16, 8); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 0; this.button1.Text = "button1"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(600, 375); this.Controls.Add(this.Schedule1); this.Controls.Add(this.panel1); this.Controls.Add(this.Label1); this.MinimumSize = new System.Drawing.Size(472, 288); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Gravitybox Schedule.NET"; this.Load += new System.EventHandler(this.Form1_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
internal AppointmentExt(Gravitybox.Controls.Schedule mainObject) : base(mainObject) { }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.schedule1 = new Gravitybox.Controls.Schedule(); this.SuspendLayout(); // // schedule1 // this.schedule1.AllowDrop = true; this.schedule1.Appearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.Appearance.ForeColor = System.Drawing.Color.DarkGray; this.schedule1.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.ColumnHeader.Appearance.Alignment = System.Drawing.StringAlignment.Center; this.schedule1.ColumnHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.ColumnHeader.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.ColumnHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.ColumnHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.ColumnHeader.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.ColumnHeader.FrameIncrement = 0; this.schedule1.ColumnHeader.Size = 100; this.schedule1.DayLength = 16; this.schedule1.DefaultAppointmentAppearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.DefaultAppointmentAppearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.DefaultAppointmentAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.DefaultAppointmentHeaderAppearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.DefaultAppointmentHeaderAppearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.DefaultAppointmentHeaderAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.Dock = System.Windows.Forms.DockStyle.Fill; this.schedule1.Location = new System.Drawing.Point(0, 0); this.schedule1.MaxDate = new System.DateTime(2004, 1, 10, 0, 0, 0, 0); this.schedule1.MinDate = new System.DateTime(2004, 1, 1, 0, 0, 0, 0); this.schedule1.Name = "schedule1"; this.schedule1.RowHeader.Appearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.RowHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.RowHeader.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.RowHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.RowHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.RowHeader.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.RowHeader.FrameIncrement = 0; this.schedule1.RowHeader.Size = 30; this.schedule1.SelectedAppointmentAppearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.SelectedAppointmentAppearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.SelectedAppointmentAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.SelectedAppointmentHeaderAppearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.SelectedAppointmentHeaderAppearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.SelectedAppointmentHeaderAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentHeaderAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.Selector.Appearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.Selector.Appearance.BackColor = System.Drawing.SystemColors.Highlight; this.schedule1.Selector.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.Selector.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.Selector.Column = 0; this.schedule1.Selector.Length = 1; this.schedule1.Selector.Row = 0; this.schedule1.Size = new System.Drawing.Size(624, 445); this.schedule1.StartTime = new System.DateTime(1, 1, 1, 8, 0, 0, 0); this.schedule1.TabIndex = 4; // // ColorForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(624, 445); this.Controls.Add(this.schedule1); this.Name = "ColorForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "ColorForm"; this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.mnuFileFlip = new System.Windows.Forms.MenuItem(); this.MenuItem3 = new System.Windows.Forms.MenuItem(); this.mnuFile = new System.Windows.Forms.MenuItem(); this.mnuFileExit = new System.Windows.Forms.MenuItem(); this.MainMenu1 = new System.Windows.Forms.MainMenu(); this.Schedule1 = new Gravitybox.Controls.Schedule(); this.SuspendLayout(); // // mnuFileFlip // this.mnuFileFlip.Index = 0; this.mnuFileFlip.RadioCheck = true; this.mnuFileFlip.Text = "&Flip Mode"; // // MenuItem3 // this.MenuItem3.Index = 1; this.MenuItem3.Text = "-"; // // mnuFile // this.mnuFile.Index = 0; this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuFileFlip, this.MenuItem3, this.mnuFileExit }); this.mnuFile.Text = "&File"; // // mnuFileExit // this.mnuFileExit.Index = 2; this.mnuFileExit.Text = "E&xit"; // // MainMenu1 // this.MainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuFile }); // // Schedule1 // this.Schedule1.AllowDrop = true; this.Schedule1.Appearance.Alignment = System.Drawing.StringAlignment.Near; this.Schedule1.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.Schedule1.Appearance.ForeColor = System.Drawing.Color.DarkGray; this.Schedule1.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.Schedule1.ColumnHeader.Appearance.Alignment = System.Drawing.StringAlignment.Center; this.Schedule1.ColumnHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.Schedule1.ColumnHeader.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.Schedule1.ColumnHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.Schedule1.ColumnHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Schedule1.ColumnHeader.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.Schedule1.ColumnHeader.FrameIncrement = 0; this.Schedule1.ColumnHeader.Size = 100; this.Schedule1.DayLength = 16; this.Schedule1.DefaultAppointmentAppearance.Alignment = System.Drawing.StringAlignment.Near; this.Schedule1.DefaultAppointmentAppearance.BackColor2 = System.Drawing.Color.Wheat; this.Schedule1.DefaultAppointmentAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.Schedule1.DefaultAppointmentHeaderAppearance.Alignment = System.Drawing.StringAlignment.Near; this.Schedule1.DefaultAppointmentHeaderAppearance.BackColor2 = System.Drawing.Color.Wheat; this.Schedule1.DefaultAppointmentHeaderAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.Schedule1.Dock = System.Windows.Forms.DockStyle.Fill; this.Schedule1.Location = new System.Drawing.Point(0, 0); this.Schedule1.MaxDate = new System.DateTime(2004, 1, 10, 0, 0, 0, 0); this.Schedule1.MinDate = new System.DateTime(2004, 1, 1, 0, 0, 0, 0); this.Schedule1.Name = "Schedule1"; this.Schedule1.RowHeader.Appearance.Alignment = System.Drawing.StringAlignment.Near; this.Schedule1.RowHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.Schedule1.RowHeader.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.Schedule1.RowHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.Schedule1.RowHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Schedule1.RowHeader.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.Schedule1.RowHeader.FrameIncrement = 0; this.Schedule1.RowHeader.Size = 30; this.Schedule1.SelectedAppointmentAppearance.Alignment = System.Drawing.StringAlignment.Near; this.Schedule1.SelectedAppointmentAppearance.BackColor2 = System.Drawing.Color.Wheat; this.Schedule1.SelectedAppointmentAppearance.BorderWidth = 3; this.Schedule1.SelectedAppointmentAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.Schedule1.SelectedAppointmentHeaderAppearance.Alignment = System.Drawing.StringAlignment.Near; this.Schedule1.SelectedAppointmentHeaderAppearance.BackColor2 = System.Drawing.Color.Wheat; this.Schedule1.SelectedAppointmentHeaderAppearance.BorderWidth = 3; this.Schedule1.SelectedAppointmentHeaderAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.Schedule1.Selector.Appearance.Alignment = System.Drawing.StringAlignment.Near; this.Schedule1.Selector.Appearance.BackColor = System.Drawing.SystemColors.Highlight; this.Schedule1.Selector.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.Schedule1.Selector.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.Schedule1.Selector.Column = 0; this.Schedule1.Selector.Length = 1; this.Schedule1.Selector.Row = 0; this.Schedule1.Size = new System.Drawing.Size(504, 349); this.Schedule1.StartTime = new System.DateTime(1, 1, 1, 8, 0, 0, 0); this.Schedule1.TabIndex = 3; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(504, 349); this.Controls.Add(this.Schedule1); this.Menu = this.MainMenu1; this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Gravitybox Schedule.NET Blockout Example"; this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.mnuApptCategory = new System.Windows.Forms.MenuItem(); this.MonthCalendar1 = new System.Windows.Forms.MonthCalendar(); this.mnuApptDelete = new System.Windows.Forms.MenuItem(); this.mnuViewDay = new System.Windows.Forms.MenuItem(); this.mnuApptProvider = new System.Windows.Forms.MenuItem(); this.mnuExit = new System.Windows.Forms.MenuItem(); this.MainMenu1 = new System.Windows.Forms.MainMenu(); this.mnuFile = new System.Windows.Forms.MenuItem(); this.mnuNewAppointment = new System.Windows.Forms.MenuItem(); this.MenuItem5 = new System.Windows.Forms.MenuItem(); this.mnuSetup = new System.Windows.Forms.MenuItem(); this.mnuSetupProvider = new System.Windows.Forms.MenuItem(); this.mnuSetupCategory = new System.Windows.Forms.MenuItem(); this.mnuSetupRoom = new System.Windows.Forms.MenuItem(); this.mnuView = new System.Windows.Forms.MenuItem(); this.mnuViewWorkWeek = new System.Windows.Forms.MenuItem(); this.mnuViewWeek = new System.Windows.Forms.MenuItem(); this.mnuViewMonth = new System.Windows.Forms.MenuItem(); this.mnuHelp = new System.Windows.Forms.MenuItem(); this.MenuItem1 = new System.Windows.Forms.MenuItem(); this.MenuItem2 = new System.Windows.Forms.MenuItem(); this.MenuItem3 = new System.Windows.Forms.MenuItem(); this.mnuHelpAbout = new System.Windows.Forms.MenuItem(); this.mnuApptOpen = new System.Windows.Forms.MenuItem(); this.AppointmentMenu = new System.Windows.Forms.ContextMenu(); this.MenuItem9 = new System.Windows.Forms.MenuItem(); this.Header1 = new Gravitybox.Controls.Header(); this.schedule1 = new Gravitybox.Controls.Schedule(); this.SuspendLayout(); // // mnuApptCategory // this.mnuApptCategory.Index = 1; this.mnuApptCategory.Text = "&Categories"; // // MonthCalendar1 // this.MonthCalendar1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.MonthCalendar1.CalendarDimensions = new System.Drawing.Size(1, 2); this.MonthCalendar1.FirstDayOfWeek = System.Windows.Forms.Day.Sunday; this.MonthCalendar1.Location = new System.Drawing.Point(536, 40); this.MonthCalendar1.Name = "MonthCalendar1"; this.MonthCalendar1.ShowToday = false; this.MonthCalendar1.ShowTodayCircle = false; this.MonthCalendar1.TabIndex = 3; // // mnuApptDelete // this.mnuApptDelete.Index = 4; this.mnuApptDelete.Text = "&Delete"; // // mnuViewDay // this.mnuViewDay.Index = 0; this.mnuViewDay.Text = "&Day"; // // mnuApptProvider // this.mnuApptProvider.Index = 2; this.mnuApptProvider.Text = "&Providers"; // // mnuExit // this.mnuExit.Index = 2; this.mnuExit.Text = "E&xit"; // // MainMenu1 // this.MainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuFile, this.mnuSetup, this.mnuView, this.mnuHelp }); // // mnuFile // this.mnuFile.Index = 0; this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuNewAppointment, this.MenuItem5, this.mnuExit }); this.mnuFile.Text = "&File"; // // mnuNewAppointment // this.mnuNewAppointment.Index = 0; this.mnuNewAppointment.Text = "&New Appointment"; // // MenuItem5 // this.MenuItem5.Index = 1; this.MenuItem5.Text = "-"; // // mnuSetup // this.mnuSetup.Index = 1; this.mnuSetup.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuSetupProvider, this.mnuSetupCategory, this.mnuSetupRoom }); this.mnuSetup.Text = "&Setup"; // // mnuSetupProvider // this.mnuSetupProvider.Index = 0; this.mnuSetupProvider.Text = "&Providers"; // // mnuSetupCategory // this.mnuSetupCategory.Index = 1; this.mnuSetupCategory.Text = "&Categories"; // // mnuSetupRoom // this.mnuSetupRoom.Index = 2; this.mnuSetupRoom.Text = "&Rooms"; // // mnuView // this.mnuView.Index = 2; this.mnuView.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuViewDay, this.mnuViewWorkWeek, this.mnuViewWeek, this.mnuViewMonth }); this.mnuView.Text = "&View"; // // mnuViewWorkWeek // this.mnuViewWorkWeek.Index = 1; this.mnuViewWorkWeek.Text = "Wo&rk Week"; // // mnuViewWeek // this.mnuViewWeek.Index = 2; this.mnuViewWeek.Text = "&Week"; // // mnuViewMonth // this.mnuViewMonth.Index = 3; this.mnuViewMonth.Text = "&Month"; // // mnuHelp // this.mnuHelp.Index = 3; this.mnuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.MenuItem1, this.MenuItem2, this.MenuItem3, this.mnuHelpAbout }); this.mnuHelp.Text = "&Help"; // // MenuItem1 // this.MenuItem1.Index = 0; this.MenuItem1.Text = "&Contents"; // // MenuItem2 // this.MenuItem2.Index = 1; this.MenuItem2.Text = "&Search"; // // MenuItem3 // this.MenuItem3.Index = 2; this.MenuItem3.Text = "-"; // // mnuHelpAbout // this.mnuHelpAbout.Index = 3; this.mnuHelpAbout.Text = "&About"; // // mnuApptOpen // this.mnuApptOpen.Index = 0; this.mnuApptOpen.Text = "&Open"; // // AppointmentMenu // this.AppointmentMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuApptOpen, this.mnuApptCategory, this.mnuApptProvider, this.MenuItem9, this.mnuApptDelete }); // // MenuItem9 // this.MenuItem9.Index = 3; this.MenuItem9.Text = "-"; // // Header1 // this.Header1.Dock = System.Windows.Forms.DockStyle.Top; this.Header1.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold); this.Header1.Location = new System.Drawing.Point(0, 0); this.Header1.Name = "Header1"; this.Header1.Size = new System.Drawing.Size(728, 40); this.Header1.TabIndex = 4; // // schedule1 // this.schedule1.AllowDrop = true; this.schedule1.Appearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.Appearance.ForeColor = System.Drawing.Color.DarkGray; this.schedule1.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.ColumnHeader.Appearance.Alignment = System.Drawing.StringAlignment.Center; this.schedule1.ColumnHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.ColumnHeader.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.ColumnHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.ColumnHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.ColumnHeader.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.ColumnHeader.FrameIncrement = 0; this.schedule1.ColumnHeader.Size = 100; this.schedule1.Cursor = System.Windows.Forms.Cursors.Default; this.schedule1.DayLength = 16; this.schedule1.DefaultAppointmentAppearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.DefaultAppointmentAppearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.DefaultAppointmentAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.DefaultAppointmentHeaderAppearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.DefaultAppointmentHeaderAppearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.DefaultAppointmentHeaderAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.Location = new System.Drawing.Point(256, 120); this.schedule1.MaxDate = new System.DateTime(2004, 1, 10, 0, 0, 0, 0); this.schedule1.MinDate = new System.DateTime(2004, 1, 1, 0, 0, 0, 0); this.schedule1.Name = "schedule1"; this.schedule1.RowHeader.Appearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.RowHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.RowHeader.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.RowHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.RowHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.RowHeader.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.RowHeader.FrameIncrement = 0; this.schedule1.RowHeader.Size = 30; this.schedule1.SelectedAppointmentAppearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.SelectedAppointmentAppearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.SelectedAppointmentAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.SelectedAppointmentHeaderAppearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.SelectedAppointmentHeaderAppearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.SelectedAppointmentHeaderAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentHeaderAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.Selector.Appearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.Selector.Appearance.BackColor = System.Drawing.SystemColors.Highlight; this.schedule1.Selector.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.Selector.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.Selector.Column = 0; this.schedule1.Selector.Length = 1; this.schedule1.Selector.Row = 0; this.schedule1.Size = new System.Drawing.Size(136, 120); this.schedule1.StartTime = new System.DateTime(1, 1, 1, 8, 0, 0, 0); this.schedule1.TabIndex = 6; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(728, 465); this.Controls.Add(this.schedule1); this.Controls.Add(this.Header1); this.Controls.Add(this.MonthCalendar1); this.Menu = this.MainMenu1; this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Gravitybox Schedule.NET Outlook Example"; this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.lblHeader = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.schedule1 = new Gravitybox.Controls.Schedule(); this.button1 = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // lblHeader // this.lblHeader.Dock = System.Windows.Forms.DockStyle.Top; this.lblHeader.Location = new System.Drawing.Point(0, 0); this.lblHeader.Name = "lblHeader"; this.lblHeader.Size = new System.Drawing.Size(615, 40); this.lblHeader.TabIndex = 1; this.lblHeader.Text = "[LABEL]"; // // panel1 // this.panel1.Controls.Add(this.button1); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 312); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(615, 37); this.panel1.TabIndex = 2; // // schedule1 // this.schedule1.AllowDrop = true; this.schedule1.Appearance.FontSize = 10F; this.schedule1.Appearance.ForeColor = System.Drawing.Color.DarkGray; this.schedule1.Appearance.NoFill = false; this.schedule1.ColumnHeader.Appearance.Alignment = System.Drawing.StringAlignment.Center; this.schedule1.ColumnHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.ColumnHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.ColumnHeader.Appearance.FontSize = 10F; this.schedule1.ColumnHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.ColumnHeader.Appearance.NoFill = false; this.schedule1.ColumnHeader.Size = 100; this.schedule1.DefaultAppointmentAppearance.FontSize = 10F; this.schedule1.DefaultAppointmentAppearance.NoFill = false; this.schedule1.DefaultAppointmentHeaderAppearance.FontSize = 10F; this.schedule1.DefaultAppointmentHeaderAppearance.NoFill = false; this.schedule1.Dock = System.Windows.Forms.DockStyle.Fill; this.schedule1.EndTime = new System.DateTime(1, 1, 2, 0, 0, 0, 0); this.schedule1.ErrorHanding = Gravitybox.Controls.Schedule.ErrorHandlingConstants.Advanced; this.schedule1.EventHeader.Appearance.BackColor = System.Drawing.SystemColors.AppWorkspace; this.schedule1.EventHeader.Appearance.FontSize = 10F; this.schedule1.EventHeader.Appearance.NoFill = false; this.schedule1.EventHeader.ExpandAppearance.BackColor = System.Drawing.Color.LightYellow; this.schedule1.EventHeader.ExpandAppearance.FontSize = 10F; this.schedule1.EventHeader.ExpandAppearance.NoFill = false; this.schedule1.Location = new System.Drawing.Point(0, 40); this.schedule1.MaxDate = new System.DateTime(2004, 1, 10, 0, 0, 0, 0); this.schedule1.MinDate = new System.DateTime(2004, 1, 1, 0, 0, 0, 0); this.schedule1.Name = "schedule1"; this.schedule1.RowHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.RowHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.RowHeader.Appearance.FontSize = 10F; this.schedule1.RowHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.RowHeader.Appearance.NoFill = false; this.schedule1.RowHeader.Size = 30; this.schedule1.SelectedAppointmentAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentAppearance.FontSize = 10F; this.schedule1.SelectedAppointmentAppearance.NoFill = false; this.schedule1.SelectedAppointmentHeaderAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentHeaderAppearance.FontSize = 10F; this.schedule1.SelectedAppointmentHeaderAppearance.NoFill = false; this.schedule1.Selector.Appearance.BackColor = System.Drawing.SystemColors.Highlight; this.schedule1.Selector.Appearance.FontSize = 10F; this.schedule1.Selector.Appearance.NoFill = false; this.schedule1.Size = new System.Drawing.Size(615, 272); this.schedule1.StartTime = new System.DateTime(((long)(0))); this.schedule1.TabIndex = 3; this.schedule1.TimeMarker.Appearance.FontSize = 10F; this.schedule1.TimeMarker.Appearance.NoFill = false; // // button1 // this.button1.Location = new System.Drawing.Point(8, 8); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 0; this.button1.Text = "button1"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(615, 349); this.Controls.Add(this.schedule1); this.Controls.Add(this.panel1); this.Controls.Add(this.lblHeader); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Gravitybox Schedule"; this.Load += new System.EventHandler(this.Form1_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.schedule1 = new Gravitybox.Controls.Schedule(); this.listBox1 = new System.Windows.Forms.ListBox(); this.SuspendLayout(); // // schedule1 // this.schedule1.AllowDrop = true; this.schedule1.Appearance.FontSize = 10F; this.schedule1.Appearance.ForeColor = System.Drawing.Color.DarkGray; this.schedule1.ColumnHeader.Appearance.Alignment = System.Drawing.StringAlignment.Center; this.schedule1.ColumnHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.ColumnHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.ColumnHeader.Appearance.FontSize = 10F; this.schedule1.ColumnHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.ColumnHeader.Size = 100; this.schedule1.DefaultAppointmentAppearance.FontSize = 10F; this.schedule1.DefaultAppointmentAppearance.ShadowSize = 0; this.schedule1.DefaultAppointmentHeaderAppearance.FontSize = 10F; this.schedule1.EndTime = new System.DateTime(1, 1, 2, 0, 0, 0, 0); this.schedule1.EventHeader.AllowExpand = false; this.schedule1.EventHeader.Appearance.BackColor = System.Drawing.SystemColors.AppWorkspace; this.schedule1.EventHeader.Appearance.FontSize = 10F; this.schedule1.EventHeader.ExpandAppearance.BackColor = System.Drawing.Color.LightYellow; this.schedule1.EventHeader.ExpandAppearance.FontSize = 10F; this.schedule1.Location = new System.Drawing.Point(144, 0); this.schedule1.MaxDate = new System.DateTime(2004, 1, 10, 0, 0, 0, 0); this.schedule1.MinDate = new System.DateTime(2004, 1, 1, 0, 0, 0, 0); this.schedule1.Name = "schedule1"; this.schedule1.RowHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.RowHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.RowHeader.Appearance.FontSize = 10F; this.schedule1.RowHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.RowHeader.Size = 30; this.schedule1.SelectedAppointmentAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentAppearance.FontSize = 10F; this.schedule1.SelectedAppointmentAppearance.ShadowSize = 0; this.schedule1.SelectedAppointmentHeaderAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentHeaderAppearance.FontSize = 10F; this.schedule1.Selector.Appearance.BackColor = System.Drawing.SystemColors.Highlight; this.schedule1.Selector.Appearance.FontSize = 10F; this.schedule1.Size = new System.Drawing.Size(272, 160); this.schedule1.StartTime = new System.DateTime(((long)(0))); this.schedule1.TabIndex = 0; // // listBox1 // this.listBox1.Location = new System.Drawing.Point(0, 0); this.listBox1.Name = "listBox1"; this.listBox1.Size = new System.Drawing.Size(144, 160); this.listBox1.TabIndex = 1; this.listBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.listBox1_MouseDown); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(424, 165); this.Controls.Add(this.listBox1); this.Controls.Add(this.schedule1); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1)); this.lblHeader = new System.Windows.Forms.Label(); this.schedule1 = new Gravitybox.Controls.Schedule(); this.SuspendLayout(); // // lblHeader // this.lblHeader.Dock = System.Windows.Forms.DockStyle.Top; this.lblHeader.Location = new System.Drawing.Point(0, 0); this.lblHeader.Name = "lblHeader"; this.lblHeader.Size = new System.Drawing.Size(472, 40); this.lblHeader.TabIndex = 1; this.lblHeader.Text = "[LABEL]"; // // schedule1 // this.schedule1.AllowDrop = true; this.schedule1.Appearance.FontSize = 10F; this.schedule1.Appearance.ForeColor = System.Drawing.Color.DarkGray; this.schedule1.ColumnHeader.Appearance.Alignment = System.Drawing.StringAlignment.Center; this.schedule1.ColumnHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.ColumnHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.ColumnHeader.Appearance.FontSize = 10F; this.schedule1.ColumnHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.ColumnHeader.Size = 100; this.schedule1.DefaultAppointmentAppearance.FontSize = 10F; this.schedule1.DefaultAppointmentAppearance.ShadowSize = 0; this.schedule1.DefaultAppointmentHeaderAppearance.FontSize = 10F; this.schedule1.Dock = System.Windows.Forms.DockStyle.Fill; this.schedule1.EndTime = new System.DateTime(1, 1, 2, 0, 0, 0, 0); this.schedule1.ErrorHanding = Gravitybox.Controls.Schedule.ErrorHandlingConstants.Advanced; this.schedule1.EventHeader.AllowExpand = false; this.schedule1.EventHeader.Appearance.BackColor = System.Drawing.SystemColors.AppWorkspace; this.schedule1.EventHeader.Appearance.FontSize = 10F; this.schedule1.EventHeader.ExpandAppearance.BackColor = System.Drawing.Color.LightYellow; this.schedule1.EventHeader.ExpandAppearance.FontSize = 10F; this.schedule1.Location = new System.Drawing.Point(0, 40); this.schedule1.MaxDate = new System.DateTime(2004, 1, 10, 0, 0, 0, 0); this.schedule1.MinDate = new System.DateTime(2004, 1, 1, 0, 0, 0, 0); this.schedule1.Name = "schedule1"; this.schedule1.RowHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.RowHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.RowHeader.Appearance.FontSize = 10F; this.schedule1.RowHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.RowHeader.Size = 30; this.schedule1.SelectedAppointmentAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentAppearance.FontSize = 10F; this.schedule1.SelectedAppointmentAppearance.ShadowSize = 0; this.schedule1.SelectedAppointmentHeaderAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentHeaderAppearance.FontSize = 10F; this.schedule1.Selector.Appearance.BackColor = System.Drawing.SystemColors.Highlight; this.schedule1.Selector.Appearance.FontSize = 10F; this.schedule1.Size = new System.Drawing.Size(472, 205); this.schedule1.StartTime = new System.DateTime(((long)(0))); this.schedule1.TabIndex = 2; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(472, 245); this.Controls.Add(this.schedule1); this.Controls.Add(this.lblHeader); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Gravitybox Schedule"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1)); this.menuEditCopy = new System.Windows.Forms.MenuItem(); this.menuEditCut = new System.Windows.Forms.MenuItem(); this.menuEditPaste = new System.Windows.Forms.MenuItem(); this.Label1 = new System.Windows.Forms.Label(); this.menuFileExit = new System.Windows.Forms.MenuItem(); this.menuEdit = new System.Windows.Forms.MenuItem(); this.Schedule1 = new Gravitybox.Controls.Schedule(); this.menuHelpAbout = new System.Windows.Forms.MenuItem(); this.menuHelp = new System.Windows.Forms.MenuItem(); this.MainMenu1 = new System.Windows.Forms.MainMenu(); this.menuFile = new System.Windows.Forms.MenuItem(); this.SuspendLayout(); // // menuEditCopy // this.menuEditCopy.Index = 1; this.menuEditCopy.Shortcut = System.Windows.Forms.Shortcut.CtrlC; this.menuEditCopy.Text = "&Copy"; this.menuEditCopy.Click += new System.EventHandler(this.menuEditCopy_Click); // // menuEditCut // this.menuEditCut.Index = 0; this.menuEditCut.Shortcut = System.Windows.Forms.Shortcut.CtrlX; this.menuEditCut.Text = "Cu&t"; this.menuEditCut.Click += new System.EventHandler(this.menuEditCut_Click); // // menuEditPaste // this.menuEditPaste.Index = 2; this.menuEditPaste.Shortcut = System.Windows.Forms.Shortcut.CtrlV; this.menuEditPaste.Text = "&Paste"; this.menuEditPaste.Click += new System.EventHandler(this.menuEditPaste_Click); // // Label1 // this.Label1.Dock = System.Windows.Forms.DockStyle.Top; this.Label1.Location = new System.Drawing.Point(0, 0); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(688, 56); this.Label1.TabIndex = 2; // // menuFileExit // this.menuFileExit.Index = 0; this.menuFileExit.Text = "E&xit"; this.menuFileExit.Click += new System.EventHandler(this.menuFileExit_Click); // // menuEdit // this.menuEdit.Index = 1; this.menuEdit.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuEditCut, this.menuEditCopy, this.menuEditPaste }); this.menuEdit.Text = "&Edit"; this.menuEdit.Popup += new System.EventHandler(this.menuEdit_Popup); // // Schedule1 // this.Schedule1.AllowDrop = true; this.Schedule1.Appearance.FontSize = 10F; this.Schedule1.Appearance.ForeColor = System.Drawing.Color.DarkGray; this.Schedule1.ColumnHeader.Appearance.Alignment = System.Drawing.StringAlignment.Center; this.Schedule1.ColumnHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.Schedule1.ColumnHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.Schedule1.ColumnHeader.Appearance.FontSize = 10F; this.Schedule1.ColumnHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Schedule1.ColumnHeader.Size = 100; this.Schedule1.DefaultAppointmentAppearance.FontSize = 10F; this.Schedule1.DefaultAppointmentAppearance.ShadowSize = 0; this.Schedule1.DefaultAppointmentHeaderAppearance.FontSize = 10F; this.Schedule1.Dock = System.Windows.Forms.DockStyle.Fill; this.Schedule1.EndTime = new System.DateTime(1, 1, 2, 0, 0, 0, 0); this.Schedule1.ErrorHanding = Gravitybox.Controls.Schedule.ErrorHandlingConstants.Advanced; this.Schedule1.EventHeader.AllowExpand = false; this.Schedule1.EventHeader.Appearance.BackColor = System.Drawing.SystemColors.AppWorkspace; this.Schedule1.EventHeader.Appearance.FontSize = 10F; this.Schedule1.EventHeader.ExpandAppearance.BackColor = System.Drawing.Color.LightYellow; this.Schedule1.EventHeader.ExpandAppearance.FontSize = 10F; this.Schedule1.Location = new System.Drawing.Point(0, 56); this.Schedule1.MaxDate = new System.DateTime(2004, 1, 10, 0, 0, 0, 0); this.Schedule1.MinDate = new System.DateTime(2004, 1, 1, 0, 0, 0, 0); this.Schedule1.Name = "Schedule1"; this.Schedule1.RowHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.Schedule1.RowHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.Schedule1.RowHeader.Appearance.FontSize = 10F; this.Schedule1.RowHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Schedule1.RowHeader.Size = 30; this.Schedule1.SelectedAppointmentAppearance.BorderWidth = 3; this.Schedule1.SelectedAppointmentAppearance.FontSize = 10F; this.Schedule1.SelectedAppointmentAppearance.ShadowSize = 0; this.Schedule1.SelectedAppointmentHeaderAppearance.BorderWidth = 3; this.Schedule1.SelectedAppointmentHeaderAppearance.FontSize = 10F; this.Schedule1.Selector.Appearance.BackColor = System.Drawing.SystemColors.Highlight; this.Schedule1.Selector.Appearance.FontSize = 10F; this.Schedule1.Size = new System.Drawing.Size(688, 341); this.Schedule1.StartTime = new System.DateTime(((long)(0))); this.Schedule1.TabIndex = 3; this.Schedule1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.Schedule1_KeyPress); // // menuHelpAbout // this.menuHelpAbout.Index = 0; this.menuHelpAbout.Text = "&About"; this.menuHelpAbout.Click += new System.EventHandler(this.menuHelpAbout_Click); // // menuHelp // this.menuHelp.Index = 2; this.menuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuHelpAbout }); this.menuHelp.Text = "&Help"; // // MainMenu1 // this.MainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFile, this.menuEdit, this.menuHelp }); // // menuFile // this.menuFile.Index = 0; this.menuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFileExit }); this.menuFile.Text = "&File"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(688, 397); this.Controls.Add(this.Schedule1); this.Controls.Add(this.Label1); this.Menu = this.MainMenu1; this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Gravitybox Schedule.NET"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.Label1 = new System.Windows.Forms.Label(); this.cmdSelectedAppointment = new System.Windows.Forms.Button(); this.cmdArea = new System.Windows.Forms.Button(); this.ToolTip1 = new System.Windows.Forms.ToolTip(this.components); this.cmdSelector = new System.Windows.Forms.Button(); this.cmdAppointment = new System.Windows.Forms.Button(); this.cmdSchedule = new System.Windows.Forms.Button(); this.cmdRowHeader = new System.Windows.Forms.Button(); this.cmdColumnHeader = new System.Windows.Forms.Button(); this.Schedule1 = new Gravitybox.Controls.Schedule(); this.SuspendLayout(); // // Label1 // this.Label1.Location = new System.Drawing.Point(7, 385); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(376, 16); this.Label1.TabIndex = 17; this.Label1.Text = "Press each button to apply a custom appearance to each object."; // // cmdSelectedAppointment // this.cmdSelectedAppointment.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.cmdSelectedAppointment.Location = new System.Drawing.Point(343, 409); this.cmdSelectedAppointment.Name = "cmdSelectedAppointment"; this.cmdSelectedAppointment.Size = new System.Drawing.Size(104, 24); this.cmdSelectedAppointment.TabIndex = 16; this.cmdSelectedAppointment.Text = "Selected"; this.ToolTip1.SetToolTip(this.cmdSelectedAppointment, "Create a custom appearance for selected appointments. Click on appointments to hi" + "ghlight them."); // // cmdArea // this.cmdArea.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.cmdArea.Location = new System.Drawing.Point(231, 443); this.cmdArea.Name = "cmdArea"; this.cmdArea.Size = new System.Drawing.Size(104, 24); this.cmdArea.TabIndex = 15; this.cmdArea.Text = "Area"; this.ToolTip1.SetToolTip(this.cmdArea, "Create a highlighted area on the schedule with a custom appearance."); // // cmdSelector // this.cmdSelector.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.cmdSelector.Location = new System.Drawing.Point(231, 409); this.cmdSelector.Name = "cmdSelector"; this.cmdSelector.Size = new System.Drawing.Size(104, 24); this.cmdSelector.TabIndex = 14; this.cmdSelector.Text = "Selector"; this.ToolTip1.SetToolTip(this.cmdSelector, "Apply a colorful look to the area selector. Click the mouse on the schedule to mo" + "ve the selector."); // // cmdAppointment // this.cmdAppointment.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.cmdAppointment.Location = new System.Drawing.Point(119, 441); this.cmdAppointment.Name = "cmdAppointment"; this.cmdAppointment.Size = new System.Drawing.Size(104, 24); this.cmdAppointment.TabIndex = 13; this.cmdAppointment.Text = "Appointment"; this.ToolTip1.SetToolTip(this.cmdAppointment, "Apply a custom look to all appointments."); // // cmdSchedule // this.cmdSchedule.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.cmdSchedule.Location = new System.Drawing.Point(119, 409); this.cmdSchedule.Name = "cmdSchedule"; this.cmdSchedule.Size = new System.Drawing.Size(104, 24); this.cmdSchedule.TabIndex = 12; this.cmdSchedule.Text = "Schedule"; this.ToolTip1.SetToolTip(this.cmdSchedule, "Apply a gradient look to the schedule background."); // // cmdRowHeader // this.cmdRowHeader.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.cmdRowHeader.Location = new System.Drawing.Point(7, 441); this.cmdRowHeader.Name = "cmdRowHeader"; this.cmdRowHeader.Size = new System.Drawing.Size(104, 24); this.cmdRowHeader.TabIndex = 11; this.cmdRowHeader.Text = "Row Header"; this.ToolTip1.SetToolTip(this.cmdRowHeader, "Apply a gradient look to the row header."); // // cmdColumnHeader // this.cmdColumnHeader.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.cmdColumnHeader.Location = new System.Drawing.Point(7, 409); this.cmdColumnHeader.Name = "cmdColumnHeader"; this.cmdColumnHeader.Size = new System.Drawing.Size(104, 24); this.cmdColumnHeader.TabIndex = 10; this.cmdColumnHeader.Text = "Column Header"; this.ToolTip1.SetToolTip(this.cmdColumnHeader, "Apply a gradient look to the column header."); // // Schedule1 // this.Schedule1.AllowDrop = true; this.Schedule1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.Schedule1.Appearance.FontSize = 10F; this.Schedule1.Appearance.ForeColor = System.Drawing.Color.DarkGray; this.Schedule1.ColumnHeader.Appearance.Alignment = System.Drawing.StringAlignment.Center; this.Schedule1.ColumnHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.Schedule1.ColumnHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.Schedule1.ColumnHeader.Appearance.FontSize = 10F; this.Schedule1.ColumnHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Schedule1.ColumnHeader.Size = 100; this.Schedule1.Cursor = System.Windows.Forms.Cursors.Default; this.Schedule1.DefaultAppointmentAppearance.FontSize = 10F; this.Schedule1.DefaultAppointmentHeaderAppearance.FontSize = 10F; this.Schedule1.EventHeader.AllowExpand = false; this.Schedule1.EventHeader.Appearance.FontSize = 10F; this.Schedule1.EventHeader.ExpandAppearance.FontSize = 10F; this.Schedule1.Location = new System.Drawing.Point(-1, 1); this.Schedule1.MaxDate = new System.DateTime(2004, 1, 10, 0, 0, 0, 0); this.Schedule1.MinDate = new System.DateTime(2004, 1, 1, 0, 0, 0, 0); this.Schedule1.Name = "Schedule1"; this.Schedule1.RowHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.Schedule1.RowHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.Schedule1.RowHeader.Appearance.FontSize = 10F; this.Schedule1.RowHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Schedule1.RowHeader.Size = 30; this.Schedule1.SelectedAppointmentAppearance.BorderWidth = 3; this.Schedule1.SelectedAppointmentAppearance.FontSize = 10F; this.Schedule1.SelectedAppointmentHeaderAppearance.BorderWidth = 3; this.Schedule1.SelectedAppointmentHeaderAppearance.FontSize = 10F; this.Schedule1.Selector.Appearance.BackColor = System.Drawing.SystemColors.Highlight; this.Schedule1.Selector.Appearance.FontSize = 10F; this.Schedule1.Size = new System.Drawing.Size(778, 376); this.Schedule1.StartTime = new System.DateTime(((long)(0))); this.Schedule1.TabIndex = 9; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(776, 469); this.Controls.Add(this.cmdSelectedAppointment); this.Controls.Add(this.cmdArea); this.Controls.Add(this.cmdSelector); this.Controls.Add(this.cmdAppointment); this.Controls.Add(this.cmdSchedule); this.Controls.Add(this.cmdRowHeader); this.Controls.Add(this.cmdColumnHeader); this.Controls.Add(this.Schedule1); this.Controls.Add(this.Label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Gravitybox Schedule.NET"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(RecurrenceForm)); this.cmdAdd = new System.Windows.Forms.Button(); this.lblDescription = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.schedule1 = new Gravitybox.Controls.Schedule(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // cmdAdd // this.cmdAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmdAdd.Location = new System.Drawing.Point(504, 8); this.cmdAdd.Name = "cmdAdd"; this.cmdAdd.Size = new System.Drawing.Size(128, 24); this.cmdAdd.TabIndex = 7; this.cmdAdd.Text = "Add Recurrence"; this.cmdAdd.Click += new System.EventHandler(this.cmdAdd_Click); // // lblDescription // this.lblDescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblDescription.Location = new System.Drawing.Point(0, 8); this.lblDescription.Name = "lblDescription"; this.lblDescription.Size = new System.Drawing.Size(488, 24); this.lblDescription.TabIndex = 8; // // panel1 // this.panel1.Controls.Add(this.lblDescription); this.panel1.Controls.Add(this.cmdAdd); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 317); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(640, 40); this.panel1.TabIndex = 10; // // schedule1 // this.schedule1.AllowDrop = true; this.schedule1.Appearance.FontSize = 10F; this.schedule1.Appearance.ForeColor = System.Drawing.Color.DarkGray; this.schedule1.Appearance.NoFill = false; this.schedule1.ColumnHeader.Appearance.Alignment = System.Drawing.StringAlignment.Center; this.schedule1.ColumnHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.ColumnHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.ColumnHeader.Appearance.FontSize = 10F; this.schedule1.ColumnHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.ColumnHeader.Appearance.NoFill = false; this.schedule1.ColumnHeader.Size = 100; this.schedule1.Cursor = System.Windows.Forms.Cursors.Default; this.schedule1.DefaultAppointmentAppearance.FontSize = 10F; this.schedule1.DefaultAppointmentAppearance.NoFill = false; this.schedule1.DefaultAppointmentHeaderAppearance.FontSize = 10F; this.schedule1.DefaultAppointmentHeaderAppearance.NoFill = false; this.schedule1.Dock = System.Windows.Forms.DockStyle.Fill; this.schedule1.EndTime = new System.DateTime(1, 1, 2, 0, 0, 0, 0); this.schedule1.ErrorHanding = Gravitybox.Controls.Schedule.ErrorHandlingConstants.Advanced; this.schedule1.EventHeader.Appearance.BackColor = System.Drawing.SystemColors.AppWorkspace; this.schedule1.EventHeader.Appearance.FontSize = 10F; this.schedule1.EventHeader.Appearance.NoFill = false; this.schedule1.EventHeader.ExpandAppearance.BackColor = System.Drawing.Color.LightYellow; this.schedule1.EventHeader.ExpandAppearance.FontSize = 10F; this.schedule1.EventHeader.ExpandAppearance.NoFill = false; this.schedule1.Location = new System.Drawing.Point(0, 0); this.schedule1.MaxDate = new System.DateTime(2004, 1, 10, 0, 0, 0, 0); this.schedule1.MinDate = new System.DateTime(2004, 1, 1, 0, 0, 0, 0); this.schedule1.Name = "schedule1"; this.schedule1.RowHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.RowHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.RowHeader.Appearance.FontSize = 10F; this.schedule1.RowHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.RowHeader.Appearance.NoFill = false; this.schedule1.RowHeader.Size = 30; this.schedule1.SelectedAppointmentAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentAppearance.FontSize = 10F; this.schedule1.SelectedAppointmentAppearance.NoFill = false; this.schedule1.SelectedAppointmentHeaderAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentHeaderAppearance.FontSize = 10F; this.schedule1.SelectedAppointmentHeaderAppearance.NoFill = false; this.schedule1.Selector.Appearance.BackColor = System.Drawing.SystemColors.Highlight; this.schedule1.Selector.Appearance.FontSize = 10F; this.schedule1.Selector.Appearance.NoFill = false; this.schedule1.Size = new System.Drawing.Size(640, 317); this.schedule1.StartTime = new System.DateTime(((long)(0))); this.schedule1.TabIndex = 0; // // RecurrenceForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(640, 357); this.Controls.Add(this.schedule1); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(472, 272); this.Name = "RecurrenceForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Recurrence"; this.Load += new System.EventHandler(this.RecurrenceForm_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(IconForm)); this.lblDescription = new System.Windows.Forms.Label(); this.cmdAdd = new System.Windows.Forms.Button(); this.ImageList1 = new System.Windows.Forms.ImageList(this.components); this.schedule1 = new Gravitybox.Controls.Schedule(); this.SuspendLayout(); // // lblDescription // this.lblDescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblDescription.Location = new System.Drawing.Point(8, 386); this.lblDescription.Name = "lblDescription"; this.lblDescription.Size = new System.Drawing.Size(440, 24); this.lblDescription.TabIndex = 5; // // cmdAdd // this.cmdAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmdAdd.Location = new System.Drawing.Point(456, 386); this.cmdAdd.Name = "cmdAdd"; this.cmdAdd.Size = new System.Drawing.Size(128, 24); this.cmdAdd.TabIndex = 4; this.cmdAdd.Text = "Add Appointment"; // // ImageList1 // this.ImageList1.ImageSize = new System.Drawing.Size(16, 16); this.ImageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageList1.ImageStream"))); this.ImageList1.TransparentColor = System.Drawing.Color.Transparent; // // schedule1 // this.schedule1.AllowDrop = true; this.schedule1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.schedule1.Appearance.FontSize = 10F; this.schedule1.Appearance.ForeColor = System.Drawing.Color.DarkGray; this.schedule1.ColumnHeader.Appearance.Alignment = System.Drawing.StringAlignment.Center; this.schedule1.ColumnHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.ColumnHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.ColumnHeader.Appearance.FontSize = 10F; this.schedule1.ColumnHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.ColumnHeader.Size = 100; this.schedule1.Cursor = System.Windows.Forms.Cursors.Default; this.schedule1.DataSource = null; this.schedule1.DayLength = 16; this.schedule1.DefaultAppointmentAppearance.FontSize = 10F; this.schedule1.DefaultAppointmentHeaderAppearance.FontSize = 10F; this.schedule1.EventHeader.AllowExpand = false; this.schedule1.EventHeader.Appearance.BackColor = System.Drawing.SystemColors.AppWorkspace; this.schedule1.EventHeader.Appearance.FontSize = 10F; this.schedule1.EventHeader.ExpandAppearance.BackColor = System.Drawing.Color.LightYellow; this.schedule1.EventHeader.ExpandAppearance.FontSize = 10F; this.schedule1.Location = new System.Drawing.Point(0, 0); this.schedule1.MaxDate = new System.DateTime(2004, 1, 10, 0, 0, 0, 0); this.schedule1.MinDate = new System.DateTime(2004, 1, 1, 0, 0, 0, 0); this.schedule1.Name = "schedule1"; this.schedule1.RowHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.RowHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.RowHeader.Appearance.FontSize = 10F; this.schedule1.RowHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.RowHeader.Size = 30; this.schedule1.SelectedAppointmentAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentAppearance.FontSize = 10F; this.schedule1.SelectedAppointmentHeaderAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentHeaderAppearance.FontSize = 10F; this.schedule1.Selector.Appearance.BackColor = System.Drawing.SystemColors.Highlight; this.schedule1.Selector.Appearance.FontSize = 10F; this.schedule1.Size = new System.Drawing.Size(584, 376); this.schedule1.StartTime = new System.DateTime(1, 1, 1, 8, 0, 0, 0); this.schedule1.TabIndex = 6; // // IconForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(584, 413); this.Controls.Add(this.schedule1); this.Controls.Add(this.cmdAdd); this.Controls.Add(this.lblDescription); this.Name = "IconForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "IconForm"; this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.lblDescription = new System.Windows.Forms.Label(); this.cmdSetSelector = new System.Windows.Forms.Button(); this.cmdAllowSelector = new System.Windows.Forms.Button(); this.schedule1 = new Gravitybox.Controls.Schedule(); this.SuspendLayout(); // // lblDescription // this.lblDescription.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.lblDescription.Location = new System.Drawing.Point(4, 426); this.lblDescription.Name = "lblDescription"; this.lblDescription.Size = new System.Drawing.Size(384, 24); this.lblDescription.TabIndex = 8; // // cmdSetSelector // this.cmdSetSelector.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmdSetSelector.Location = new System.Drawing.Point(500, 426); this.cmdSetSelector.Name = "cmdSetSelector"; this.cmdSetSelector.Size = new System.Drawing.Size(96, 24); this.cmdSetSelector.TabIndex = 7; this.cmdSetSelector.Text = "Set Selector"; // // cmdAllowSelector // this.cmdAllowSelector.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmdAllowSelector.Location = new System.Drawing.Point(396, 426); this.cmdAllowSelector.Name = "cmdAllowSelector"; this.cmdAllowSelector.Size = new System.Drawing.Size(96, 24); this.cmdAllowSelector.TabIndex = 6; this.cmdAllowSelector.Text = "Allow Selector"; // // schedule1 // this.schedule1.AllowDrop = true; this.schedule1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.schedule1.Appearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.Appearance.ForeColor = System.Drawing.Color.DarkGray; this.schedule1.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.ColumnHeader.Appearance.Alignment = System.Drawing.StringAlignment.Center; this.schedule1.ColumnHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.ColumnHeader.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.ColumnHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.ColumnHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.ColumnHeader.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.ColumnHeader.FrameIncrement = 0; this.schedule1.ColumnHeader.Size = 100; this.schedule1.DayLength = 16; this.schedule1.DefaultAppointmentAppearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.DefaultAppointmentAppearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.DefaultAppointmentAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.DefaultAppointmentHeaderAppearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.DefaultAppointmentHeaderAppearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.DefaultAppointmentHeaderAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.Location = new System.Drawing.Point(4, 0); this.schedule1.MaxDate = new System.DateTime(2004, 1, 10, 0, 0, 0, 0); this.schedule1.MinDate = new System.DateTime(2004, 1, 1, 0, 0, 0, 0); this.schedule1.Name = "schedule1"; this.schedule1.RowHeader.Appearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.RowHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.RowHeader.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.RowHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.RowHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.RowHeader.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.RowHeader.FrameIncrement = 0; this.schedule1.RowHeader.Size = 30; this.schedule1.SelectedAppointmentAppearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.SelectedAppointmentAppearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.SelectedAppointmentAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.SelectedAppointmentHeaderAppearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.SelectedAppointmentHeaderAppearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.SelectedAppointmentHeaderAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentHeaderAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.Selector.Appearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.Selector.Appearance.BackColor = System.Drawing.SystemColors.Highlight; this.schedule1.Selector.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.Selector.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.Selector.Column = 0; this.schedule1.Selector.Length = 1; this.schedule1.Selector.Row = 0; this.schedule1.Size = new System.Drawing.Size(592, 416); this.schedule1.StartTime = new System.DateTime(1, 1, 1, 8, 0, 0, 0); this.schedule1.TabIndex = 9; // // SelectorForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(600, 453); this.Controls.Add(this.schedule1); this.Controls.Add(this.lblDescription); this.Controls.Add(this.cmdSetSelector); this.Controls.Add(this.cmdAllowSelector); this.Name = "SelectorForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "SelectorForm"; this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainForm)); this.cmdFile = new System.Windows.Forms.Button(); this.ImageList1 = new System.Windows.Forms.ImageList(this.components); this.cmdConflictDisplay = new System.Windows.Forms.Button(); this.cmdRed = new System.Windows.Forms.Button(); this.cmdGreen = new System.Windows.Forms.Button(); this.cmdBlue = new System.Windows.Forms.Button(); this.cmdConflicts = new System.Windows.Forms.Button(); this.cmdAllowHeaders = new System.Windows.Forms.Button(); this.Label1 = new System.Windows.Forms.Label(); this.TrackBar1 = new System.Windows.Forms.TrackBar(); this.cmdRound = new System.Windows.Forms.Button(); this.schedule1 = new Gravitybox.Controls.Schedule(); ((System.ComponentModel.ISupportInitialize)(this.TrackBar1)).BeginInit(); this.SuspendLayout(); // // cmdFile // this.cmdFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmdFile.Location = new System.Drawing.Point(552, 392); this.cmdFile.Name = "cmdFile"; this.cmdFile.Size = new System.Drawing.Size(96, 24); this.cmdFile.TabIndex = 18; this.cmdFile.Text = "File"; // // ImageList1 // this.ImageList1.ImageSize = new System.Drawing.Size(16, 16); this.ImageList1.TransparentColor = System.Drawing.Color.Transparent; // // cmdConflictDisplay // this.cmdConflictDisplay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmdConflictDisplay.Location = new System.Drawing.Point(344, 392); this.cmdConflictDisplay.Name = "cmdConflictDisplay"; this.cmdConflictDisplay.Size = new System.Drawing.Size(96, 24); this.cmdConflictDisplay.TabIndex = 14; this.cmdConflictDisplay.Text = "Conflict Display"; // // cmdRed // this.cmdRed.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmdRed.Location = new System.Drawing.Point(448, 360); this.cmdRed.Name = "cmdRed"; this.cmdRed.Size = new System.Drawing.Size(96, 24); this.cmdRed.TabIndex = 15; this.cmdRed.Text = "Red"; // // cmdGreen // this.cmdGreen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmdGreen.Location = new System.Drawing.Point(448, 392); this.cmdGreen.Name = "cmdGreen"; this.cmdGreen.Size = new System.Drawing.Size(96, 24); this.cmdGreen.TabIndex = 16; this.cmdGreen.Text = "Green"; // // cmdBlue // this.cmdBlue.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmdBlue.Location = new System.Drawing.Point(552, 360); this.cmdBlue.Name = "cmdBlue"; this.cmdBlue.Size = new System.Drawing.Size(96, 24); this.cmdBlue.TabIndex = 17; this.cmdBlue.Text = "Blue"; // // cmdConflicts // this.cmdConflicts.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmdConflicts.Location = new System.Drawing.Point(344, 360); this.cmdConflicts.Name = "cmdConflicts"; this.cmdConflicts.Size = new System.Drawing.Size(96, 24); this.cmdConflicts.TabIndex = 12; this.cmdConflicts.Text = "Conflicts"; // // cmdAllowHeaders // this.cmdAllowHeaders.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmdAllowHeaders.Location = new System.Drawing.Point(240, 360); this.cmdAllowHeaders.Name = "cmdAllowHeaders"; this.cmdAllowHeaders.Size = new System.Drawing.Size(96, 24); this.cmdAllowHeaders.TabIndex = 10; this.cmdAllowHeaders.Text = "Allow Headers"; // // Label1 // this.Label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.Label1.Location = new System.Drawing.Point(16, 368); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(208, 16); this.Label1.TabIndex = 13; this.Label1.Text = "Transparency"; this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // TrackBar1 // this.TrackBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.TrackBar1.LargeChange = 20; this.TrackBar1.Location = new System.Drawing.Point(8, 384); this.TrackBar1.Maximum = 100; this.TrackBar1.Name = "TrackBar1"; this.TrackBar1.Size = new System.Drawing.Size(224, 42); this.TrackBar1.SmallChange = 5; this.TrackBar1.TabIndex = 19; this.TrackBar1.TickFrequency = 5; this.TrackBar1.TickStyle = System.Windows.Forms.TickStyle.TopLeft; // // cmdRound // this.cmdRound.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmdRound.Location = new System.Drawing.Point(240, 392); this.cmdRound.Name = "cmdRound"; this.cmdRound.Size = new System.Drawing.Size(96, 24); this.cmdRound.TabIndex = 11; this.cmdRound.Text = "Round"; // // schedule1 // this.schedule1.AllowDrop = true; this.schedule1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.schedule1.Appearance.FontSize = 10F; this.schedule1.Appearance.ForeColor = System.Drawing.Color.DarkGray; this.schedule1.Appearance.NoFill = false; this.schedule1.ColumnHeader.Appearance.Alignment = System.Drawing.StringAlignment.Center; this.schedule1.ColumnHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.ColumnHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.ColumnHeader.Appearance.FontSize = 10F; this.schedule1.ColumnHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.ColumnHeader.Appearance.NoFill = false; this.schedule1.ColumnHeader.Size = 100; this.schedule1.Cursor = System.Windows.Forms.Cursors.Default; this.schedule1.DayLength = 16; this.schedule1.DefaultAppointmentAppearance.FontSize = 10F; this.schedule1.DefaultAppointmentAppearance.NoFill = false; this.schedule1.DefaultAppointmentHeaderAppearance.FontSize = 10F; this.schedule1.DefaultAppointmentHeaderAppearance.NoFill = false; this.schedule1.EndTime = new System.DateTime(1, 1, 2, 0, 0, 0, 0); this.schedule1.ErrorHanding = Gravitybox.Controls.Schedule.ErrorHandlingConstants.Advanced; this.schedule1.EventHeader.Appearance.BackColor = System.Drawing.SystemColors.AppWorkspace; this.schedule1.EventHeader.Appearance.FontSize = 10F; this.schedule1.EventHeader.Appearance.NoFill = false; this.schedule1.EventHeader.ExpandAppearance.BackColor = System.Drawing.Color.LightYellow; this.schedule1.EventHeader.ExpandAppearance.FontSize = 10F; this.schedule1.EventHeader.ExpandAppearance.NoFill = false; this.schedule1.Location = new System.Drawing.Point(0, 0); this.schedule1.MaxDate = new System.DateTime(2004, 1, 10, 0, 0, 0, 0); this.schedule1.MinDate = new System.DateTime(2004, 1, 1, 0, 0, 0, 0); this.schedule1.Name = "schedule1"; this.schedule1.RowHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.RowHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.RowHeader.Appearance.FontSize = 10F; this.schedule1.RowHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.RowHeader.Appearance.NoFill = false; this.schedule1.RowHeader.Size = 30; this.schedule1.SelectedAppointmentAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentAppearance.FontSize = 10F; this.schedule1.SelectedAppointmentAppearance.NoFill = false; this.schedule1.SelectedAppointmentHeaderAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentHeaderAppearance.FontSize = 10F; this.schedule1.SelectedAppointmentHeaderAppearance.NoFill = false; this.schedule1.Selector.Appearance.BackColor = System.Drawing.SystemColors.Highlight; this.schedule1.Selector.Appearance.FontSize = 10F; this.schedule1.Selector.Appearance.NoFill = false; this.schedule1.Size = new System.Drawing.Size(656, 352); this.schedule1.StartTime = new System.DateTime(1, 1, 1, 8, 0, 0, 0); this.schedule1.TabIndex = 20; this.schedule1.AppointmentHeaderInfoClick += new Gravitybox.Controls.Schedule.AppointmentMouseEventDelegate(this.schedule1_AppointmentHeaderInfoClick); // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(656, 429); this.Controls.Add(this.schedule1); this.Controls.Add(this.cmdConflictDisplay); this.Controls.Add(this.cmdRed); this.Controls.Add(this.cmdGreen); this.Controls.Add(this.cmdBlue); this.Controls.Add(this.cmdConflicts); this.Controls.Add(this.cmdAllowHeaders); this.Controls.Add(this.Label1); this.Controls.Add(this.TrackBar1); this.Controls.Add(this.cmdRound); this.Controls.Add(this.cmdFile); this.Name = "MainForm"; this.Text = "Gravitybox Schedule.NET Effects Example"; ((System.ComponentModel.ISupportInitialize)(this.TrackBar1)).EndInit(); this.ResumeLayout(false); }