private void InitializeComponent() { _Button1 = new Button(); _Button1.Click += new EventHandler(Button1_Click); selectEmpoyeeListView = new ListView(); ColumnHeader1 = new ColumnHeader(); ColumnHeader2 = new ColumnHeader(); ColumnHeader3 = new ColumnHeader(); idColumnHeader = new ColumnHeader(); Label1 = new Label(); payMethodComboBox = new ComboBox(); Label2 = new Label(); GroupBox1 = new GroupBox(); _TouchButton3 = new YardTabletControls.TouchButton(); _TouchButton3.ButtonClick += new YardTabletControls.TouchButton.ButtonClickEventHandler(TouchButton3_Load); jobDescriptionComboBox = new ComboBox(); Label5 = new Label(); yardComboBox = new ComboBox(); Label4 = new Label(); typeComboBox = new ComboBox(); Label3 = new Label(); Label7 = new Label(); _selectAllCheckBox = new CheckBox(); _selectAllCheckBox.CheckedChanged += new EventHandler(CheckBox1_CheckedChanged); GroupBox2 = new GroupBox(); testLabel = new Label(); Label6 = new Label(); GroupBox3 = new GroupBox(); Label11 = new Label(); ComboBox1 = new ComboBox(); ComboBox6 = new ComboBox(); Label9 = new Label(); TabControl1 = new TabControl(); TabPage0 = new TabPage(); _scheduleEmployeesTouchButton = new YardTabletControls.TouchButton(); _scheduleEmployeesTouchButton.ButtonClick += new YardTabletControls.TouchButton.ButtonClickEventHandler(scheduleEmployeesTouchButton_Load); TabPage1 = new TabPage(); TouchButton2 = new YardTabletControls.TouchButton(); ListView2 = new ListView(); ColumnHeader5 = new ColumnHeader(); ColumnHeader6 = new ColumnHeader(); ColumnHeader8 = new ColumnHeader(); Label10 = new Label(); TouchButton1 = new YardTabletControls.TouchButton(); GroupBox1.SuspendLayout(); GroupBox2.SuspendLayout(); GroupBox3.SuspendLayout(); TabControl1.SuspendLayout(); TabPage0.SuspendLayout(); TabPage1.SuspendLayout(); SuspendLayout(); // // Button1 // _Button1.Anchor = AnchorStyles.Top | AnchorStyles.Right; _Button1.BackColor = Color.Firebrick; _Button1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _Button1.ForeColor = Color.White; _Button1.Location = new Point(1291, 14); _Button1.Name = "_Button1"; _Button1.Size = new Size(37, 37); _Button1.TabIndex = 1; _Button1.Text = "X"; _Button1.UseVisualStyleBackColor = false; // // selectEmpoyeeListView // selectEmpoyeeListView.BackColor = Color.WhiteSmoke; selectEmpoyeeListView.CheckBoxes = true; selectEmpoyeeListView.Columns.AddRange(new ColumnHeader[] { ColumnHeader1, ColumnHeader2, ColumnHeader3, idColumnHeader }); selectEmpoyeeListView.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); selectEmpoyeeListView.FullRowSelect = true; selectEmpoyeeListView.HideSelection = false; selectEmpoyeeListView.Location = new Point(13, 58); selectEmpoyeeListView.Name = "selectEmpoyeeListView"; selectEmpoyeeListView.Size = new Size(567, 347); selectEmpoyeeListView.TabIndex = 2; selectEmpoyeeListView.UseCompatibleStateImageBehavior = false; selectEmpoyeeListView.View = View.Details; // // ColumnHeader1 // ColumnHeader1.Text = " Alias"; ColumnHeader1.Width = 165; // // ColumnHeader2 // ColumnHeader2.Text = "First Name"; ColumnHeader2.Width = 182; // // ColumnHeader3 // ColumnHeader3.Text = "Last Name"; ColumnHeader3.Width = 184; // // idColumnHeader // idColumnHeader.Text = ""; idColumnHeader.Width = 7; // // Label1 // Label1.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label1.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label1.ForeColor = Color.White; Label1.Location = new Point(13, 29); Label1.Name = "Label1"; Label1.Size = new Size(567, 37); Label1.TabIndex = 3; Label1.Text = "Select Employees"; Label1.TextAlign = ContentAlignment.TopCenter; // // payMethodComboBox // payMethodComboBox.DropDownStyle = ComboBoxStyle.DropDownList; payMethodComboBox.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); payMethodComboBox.FormattingEnabled = true; payMethodComboBox.Items.AddRange(new object[] { "All", "Hourly", "Salary", "Piece Work/Hour" }); payMethodComboBox.Location = new Point(365, 27); payMethodComboBox.Name = "payMethodComboBox"; payMethodComboBox.Size = new Size(194, 32); payMethodComboBox.TabIndex = 4; // // Label2 // Label2.AutoSize = true; Label2.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.ForeColor = Color.Black; Label2.Location = new Point(262, 33); Label2.Name = "Label2"; Label2.Size = new Size(97, 20); Label2.TabIndex = 5; Label2.Text = "Pay Method:"; // // GroupBox1 // GroupBox1.Controls.Add(_TouchButton3); GroupBox1.Controls.Add(jobDescriptionComboBox); GroupBox1.Controls.Add(Label5); GroupBox1.Controls.Add(yardComboBox); GroupBox1.Controls.Add(Label4); GroupBox1.Controls.Add(typeComboBox); GroupBox1.Controls.Add(Label3); GroupBox1.Controls.Add(payMethodComboBox); GroupBox1.Controls.Add(Label2); GroupBox1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); GroupBox1.ForeColor = Color.Black; GroupBox1.Location = new Point(81, 97); GroupBox1.Name = "GroupBox1"; GroupBox1.Size = new Size(796, 108); GroupBox1.TabIndex = 6; GroupBox1.TabStop = false; GroupBox1.Text = "1 - Filter employees"; // // TouchButton3 // _TouchButton3.AutoSizeMode = AutoSizeMode.GrowAndShrink; _TouchButton3.BevelWidth = Conversions.ToShort(2); _TouchButton3.ButtonEnabled = true; _TouchButton3.ButtonFontSize = Conversions.ToShort(18); _TouchButton3.ButtonStyle = YardTabletControls.TouchButton.StyleOFButton.HorizantalStyle; _TouchButton3.Caption = "Update Search"; _TouchButton3.Font = new Font("Arial Black", 8.142858f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _TouchButton3.Location = new Point(645, 56); _TouchButton3.Margin = new Padding(4, 3, 4, 3); _TouchButton3.Name = "_TouchButton3"; _TouchButton3.Size = new Size(144, 43); _TouchButton3.StickyMode = YardTabletControls.TouchButton.ModeOfSticky.StickyOff; _TouchButton3.TabIndex = 14; _TouchButton3.TextColour = Color.White; _TouchButton3.TouchButtonColour = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); _TouchButton3.Value = false; // // jobDescriptionComboBox // jobDescriptionComboBox.Anchor = AnchorStyles.Left; jobDescriptionComboBox.AutoCompleteCustomSource.AddRange(new string[] { "Accounting Manager", "Bag/Bagger Labourer", "Bulk Labourer/Yard Hand ", "IT Junior", "IT Manager", "Logistics Coordinator", "Logistics Manager", "Machine Operator", "Mechanic", "Operations Manager", "Vice President", "Yard Manager" }); jobDescriptionComboBox.DropDownStyle = ComboBoxStyle.DropDownList; jobDescriptionComboBox.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); jobDescriptionComboBox.FormattingEnabled = true; jobDescriptionComboBox.ItemHeight = 24; jobDescriptionComboBox.Items.AddRange(new object[] { "Accounting Assistant", "Accounting Manager", "Bag Labourer", "Bag/Bagger Labourer", "Bagger Labourer", "Bagger Labourer/Yard Hand", "Bulk Labourer", "Bulk Labourer/Yard Hand", "Container Manager", "Forwarding Manager", "IT Junior", "IT Manager", "Logistics Coordinator", "Logistics Manager", "Machine Operator", "Mechanic", "President", "Safety and Risk Manager", "Vice President", "Yard Hand", "Warehouse Labourer", "All" }); jobDescriptionComboBox.Location = new Point(365, 67); jobDescriptionComboBox.Margin = new Padding(2); jobDescriptionComboBox.Name = "jobDescriptionComboBox"; jobDescriptionComboBox.Size = new Size(228, 32); jobDescriptionComboBox.TabIndex = 15; // // Label5 // Label5.AutoSize = true; Label5.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label5.ForeColor = Color.Black; Label5.Location = new Point(237, 74); Label5.Name = "Label5"; Label5.Size = new Size(123, 20); Label5.TabIndex = 11; Label5.Text = "Job Description:"; // // yardComboBox // yardComboBox.DropDownStyle = ComboBoxStyle.DropDownList; yardComboBox.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); yardComboBox.FormattingEnabled = true; yardComboBox.Items.AddRange(new object[] { "Both", "Ewen", "Lindsey", "All" }); yardComboBox.Location = new Point(92, 67); yardComboBox.Name = "yardComboBox"; yardComboBox.Size = new Size(121, 32); yardComboBox.TabIndex = 8; // // Label4 // Label4.AutoSize = true; Label4.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label4.ForeColor = Color.Black; Label4.Location = new Point(39, 73); Label4.Name = "Label4"; Label4.Size = new Size(47, 20); Label4.TabIndex = 9; Label4.Text = "Yard:"; // // typeComboBox // typeComboBox.DropDownStyle = ComboBoxStyle.DropDownList; typeComboBox.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); typeComboBox.FormattingEnabled = true; typeComboBox.Items.AddRange(new object[] { "All", "Crew", "Office" }); typeComboBox.Location = new Point(92, 27); typeComboBox.Name = "typeComboBox"; typeComboBox.Size = new Size(121, 32); typeComboBox.TabIndex = 6; // // Label3 // Label3.AutoSize = true; Label3.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label3.ForeColor = Color.Black; Label3.Location = new Point(39, 33); Label3.Name = "Label3"; Label3.Size = new Size(47, 20); Label3.TabIndex = 7; Label3.Text = "Type:"; // Label7 // Label7.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label7.Dock = DockStyle.Top; Label7.Font = new Font("Microsoft Sans Serif", 20.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label7.ForeColor = Color.White; Label7.Location = new Point(3, 3); Label7.Name = "Label7"; Label7.Size = new Size(1336, 74); Label7.TabIndex = 9; Label7.Text = "Shift Scheduling"; Label7.TextAlign = ContentAlignment.MiddleCenter; // // selectAllCheckBox // _selectAllCheckBox.AutoSize = true; _selectAllCheckBox.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _selectAllCheckBox.Location = new Point(18, 64); _selectAllCheckBox.Name = "_selectAllCheckBox"; _selectAllCheckBox.Size = new Size(15, 14); _selectAllCheckBox.TabIndex = 10; _selectAllCheckBox.UseVisualStyleBackColor = true; // // GroupBox2 // GroupBox2.Controls.Add(testLabel); GroupBox2.Controls.Add(_selectAllCheckBox); GroupBox2.Controls.Add(selectEmpoyeeListView); GroupBox2.Controls.Add(Label1); GroupBox2.Controls.Add(Label6); GroupBox2.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold); GroupBox2.ForeColor = Color.Black; GroupBox2.Location = new Point(81, 224); GroupBox2.Name = "GroupBox2"; GroupBox2.Size = new Size(1193, 419); GroupBox2.TabIndex = 11; GroupBox2.TabStop = false; GroupBox2.Text = "2 - Select employees and assign dates"; // // testLabel // testLabel.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); testLabel.Location = new Point(753, 312); testLabel.Name = "testLabel"; testLabel.Size = new Size(339, 93); testLabel.TabIndex = 12; // // Label6 // Label6.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label6.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label6.ForeColor = Color.White; Label6.Location = new Point(740, 29); Label6.Name = "Label6"; Label6.Size = new Size(359, 37); Label6.TabIndex = 11; Label6.Text = "Select Dates"; Label6.TextAlign = ContentAlignment.TopCenter; // // GroupBox3 // GroupBox3.Controls.Add(Label11); GroupBox3.Controls.Add(ComboBox1); GroupBox3.Controls.Add(ComboBox6); GroupBox3.Controls.Add(Label9); GroupBox3.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold); GroupBox3.ForeColor = Color.Black; GroupBox3.Location = new Point(81, 658); GroupBox3.Name = "GroupBox3"; GroupBox3.Size = new Size(497, 125); GroupBox3.TabIndex = 12; GroupBox3.TabStop = false; GroupBox3.Text = "3 - Select shift type and location"; // // Label11 // Label11.AutoSize = true; Label11.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label11.ForeColor = Color.Black; Label11.Location = new Point(48, 42); Label11.Name = "Label11"; Label11.Size = new Size(80, 20); Label11.TabIndex = 14; Label11.Text = "Shift type:"; // // ComboBox1 // ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList; ComboBox1.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); ComboBox1.FormattingEnabled = true; ComboBox1.Items.AddRange(new object[] { "Hourly", "Piece Work/Hour" }); ComboBox1.Location = new Point(134, 36); ComboBox1.Name = "ComboBox1"; ComboBox1.Size = new Size(194, 32); ComboBox1.TabIndex = 12; // // ComboBox6 // ComboBox6.DropDownStyle = ComboBoxStyle.DropDownList; ComboBox6.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); ComboBox6.FormattingEnabled = true; ComboBox6.Items.AddRange(new object[] { "Ewen", "Lindsey" }); ComboBox6.Location = new Point(134, 74); ComboBox6.Name = "ComboBox6"; ComboBox6.Size = new Size(121, 32); ComboBox6.TabIndex = 8; // // Label9 // Label9.AutoSize = true; Label9.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label9.ForeColor = Color.Black; Label9.Location = new Point(71, 80); Label9.Name = "Label9"; Label9.Size = new Size(57, 20); Label9.TabIndex = 9; Label9.Text = "* Yard:"; // // TabControl1 // TabControl1.Alignment = TabAlignment.Left; TabControl1.Controls.Add(TabPage0); TabControl1.Controls.Add(TabPage1); TabControl1.Dock = DockStyle.Fill; TabControl1.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); TabControl1.ItemSize = new Size(115, 35); TabControl1.Location = new Point(0, 0); TabControl1.Multiline = true; TabControl1.Name = "TabControl1"; TabControl1.Padding = new Point(15, 3); TabControl1.SelectedIndex = 0; TabControl1.Size = new Size(1385, 818); TabControl1.TabIndex = 14; // // TabPage0 // TabPage0.Controls.Add(_scheduleEmployeesTouchButton); TabPage0.Controls.Add(_Button1); TabPage0.Controls.Add(Label7); TabPage0.Controls.Add(GroupBox1); TabPage0.Controls.Add(GroupBox3); TabPage0.Controls.Add(GroupBox2); TabPage0.Location = new Point(39, 4); TabPage0.Name = "TabPage0"; TabPage0.Padding = new Padding(3); TabPage0.Size = new Size(1342, 810); TabPage0.TabIndex = 1; TabPage0.Text = "Add Shifts"; TabPage0.UseVisualStyleBackColor = true; // // scheduleEmployeesTouchButton // _scheduleEmployeesTouchButton.AutoSizeMode = AutoSizeMode.GrowAndShrink; _scheduleEmployeesTouchButton.BevelWidth = Conversions.ToShort(2); _scheduleEmployeesTouchButton.ButtonEnabled = true; _scheduleEmployeesTouchButton.ButtonFontSize = Conversions.ToShort(24); _scheduleEmployeesTouchButton.ButtonStyle = YardTabletControls.TouchButton.StyleOFButton.HorizantalStyle; _scheduleEmployeesTouchButton.Caption = "Schedule Employees"; _scheduleEmployeesTouchButton.Font = new Font("Arial Black", 8.142858f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _scheduleEmployeesTouchButton.Location = new Point(1008, 717); _scheduleEmployeesTouchButton.Margin = new Padding(4, 3, 4, 3); _scheduleEmployeesTouchButton.Name = "_scheduleEmployeesTouchButton"; _scheduleEmployeesTouchButton.Size = new Size(266, 56); _scheduleEmployeesTouchButton.StickyMode = YardTabletControls.TouchButton.ModeOfSticky.StickyOff; _scheduleEmployeesTouchButton.TabIndex = 16; _scheduleEmployeesTouchButton.TextColour = Color.White; _scheduleEmployeesTouchButton.TouchButtonColour = Color.Olive; _scheduleEmployeesTouchButton.Value = false; // // TabPage1 // TabPage1.Controls.Add(TouchButton2); TabPage1.Controls.Add(ListView2); TabPage1.Controls.Add(Label10); TabPage1.Controls.Add(TouchButton1); TabPage1.ForeColor = Color.Green; TabPage1.Location = new Point(39, 4); TabPage1.Name = "TabPage1"; TabPage1.Padding = new Padding(3); TabPage1.Size = new Size(1342, 810); TabPage1.TabIndex = 0; TabPage1.Text = "Schedule"; TabPage1.UseVisualStyleBackColor = true; // // TouchButton2 // TouchButton2.AutoSizeMode = AutoSizeMode.GrowAndShrink; TouchButton2.BevelWidth = Conversions.ToShort(2); TouchButton2.ButtonEnabled = true; TouchButton2.ButtonFontSize = Conversions.ToShort(28); TouchButton2.ButtonStyle = YardTabletControls.TouchButton.StyleOFButton.HorizantalStyle; TouchButton2.Caption = ">"; TouchButton2.Font = new Font("Arial Black", 8.142858f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); TouchButton2.Location = new Point(816, 154); TouchButton2.Margin = new Padding(4, 3, 4, 3); TouchButton2.Name = "TouchButton2"; TouchButton2.Size = new Size(39, 37); TouchButton2.StickyMode = YardTabletControls.TouchButton.ModeOfSticky.StickyOff; TouchButton2.TabIndex = 7; TouchButton2.TextColour = Color.White; TouchButton2.TouchButtonColour = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); TouchButton2.Value = false; // // ListView2 // ListView2.BackColor = Color.WhiteSmoke; ListView2.CheckBoxes = true; ListView2.Columns.AddRange(new ColumnHeader[] { ColumnHeader5, ColumnHeader6, ColumnHeader8 }); ListView2.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); ListView2.FullRowSelect = true; ListView2.HideSelection = false; ListView2.Location = new Point(70, 222); ListView2.Name = "ListView2"; ListView2.Size = new Size(785, 416); ListView2.TabIndex = 4; ListView2.UseCompatibleStateImageBehavior = false; ListView2.View = View.Details; // // ColumnHeader5 // ColumnHeader5.Text = ""; ColumnHeader5.TextAlign = HorizontalAlignment.Center; ColumnHeader5.Width = 25; // // ColumnHeader6 // ColumnHeader6.Text = "Alias"; ColumnHeader6.Width = 150; // // ColumnHeader8 // ColumnHeader8.Text = "Last Name"; ColumnHeader8.Width = 150; // // Label10 // Label10.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label10.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label10.ForeColor = Color.White; Label10.Location = new Point(70, 194); Label10.Name = "Label10"; Label10.Size = new Size(785, 56); Label10.TabIndex = 5; Label10.Text = "Schedule for Sep 15, 2019"; Label10.TextAlign = ContentAlignment.TopCenter; // // TouchButton1 // TouchButton1.AutoSizeMode = AutoSizeMode.GrowAndShrink; TouchButton1.BevelWidth = Conversions.ToShort(2); TouchButton1.ButtonEnabled = true; TouchButton1.ButtonFontSize = Conversions.ToShort(28); TouchButton1.ButtonStyle = YardTabletControls.TouchButton.StyleOFButton.HorizantalStyle; TouchButton1.Caption = "<"; TouchButton1.Font = new Font("Arial Black", 8.142858f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); TouchButton1.Location = new Point(769, 154); TouchButton1.Margin = new Padding(4, 3, 4, 3); TouchButton1.Name = "TouchButton1"; TouchButton1.Size = new Size(39, 37); TouchButton1.StickyMode = YardTabletControls.TouchButton.ModeOfSticky.StickyOff; TouchButton1.TabIndex = 6; TouchButton1.TextColour = Color.White; TouchButton1.TouchButtonColour = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); TouchButton1.Value = false; // // FrmShiftScheduling // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.Snow; ClientSize = new Size(1385, 818); ControlBox = false; Controls.Add(TabControl1); FormBorderStyle = FormBorderStyle.FixedSingle; Margin = new Padding(2); Name = "FrmShiftScheduling"; StartPosition = FormStartPosition.CenterScreen; GroupBox1.ResumeLayout(false); GroupBox1.PerformLayout(); GroupBox2.ResumeLayout(false); GroupBox2.PerformLayout(); GroupBox3.ResumeLayout(false); GroupBox3.PerformLayout(); TabControl1.ResumeLayout(false); TabPage0.ResumeLayout(false); TabPage1.ResumeLayout(false); Load += new EventHandler(FrmShiftScheduling_Load); ResumeLayout(false); }
private void InitializeComponent() { _Button1 = new Button(); _Button1.Click += new EventHandler(Button1_Click); Label1 = new Label(); Label2 = new Label(); Label3 = new Label(); TextBox1 = new TextBox(); DateTimePicker1 = new DateTimePicker(); _ListView1 = new ListView(); _ListView1.Click += new EventHandler(ListView1_SelectedIndexChanged); ColumnHeader1 = new ColumnHeader(); ColumnHeader2 = new ColumnHeader(); ColumnHeader3 = new ColumnHeader(); Label4 = new Label(); _saveTouchButton = new YardTabletControls.TouchButton(); _saveTouchButton.ButtonClick += new YardTabletControls.TouchButton.ButtonClickEventHandler(saveTouchButton_Load); _deleteTouchButton = new YardTabletControls.TouchButton(); _deleteTouchButton.ButtonClick += new YardTabletControls.TouchButton.ButtonClickEventHandler(deleteTouchButton_Load); Label5 = new Label(); TabControl1 = new TabControl(); tab1 = new TabPage(); _holidayYearComboBox = new ComboBox(); _holidayYearComboBox.SelectedIndexChanged += new EventHandler(holidayYearComboBox_SelectedIndexChanged); TabPage2 = new TabPage(); TableLayoutPanel2 = new TableLayoutPanel(); Label9 = new Label(); Label11 = new Label(); _yearComboBox = new ComboBox(); _yearComboBox.SelectedIndexChanged += new EventHandler(yearComboBox_SelectedIndexChanged); _showEmployeesComboBox = new ComboBox(); _showEmployeesComboBox.SelectedIndexChanged += new EventHandler(showEmployeesComboBox_SelectedIndexChanged); _CheckBox1 = new CheckBox(); _CheckBox1.CheckedChanged += new EventHandler(CheckBox1_CheckedChanged); datePickedLabel = new Label(); _Button2 = new Button(); _Button2.Click += new EventHandler(Button2_Click); Label7 = new Label(); _ComboBox1 = new ComboBox(); _ComboBox1.SelectedIndexChanged += new EventHandler(ComboBox1_SelectedIndexChanged); qualifiedEmployeesListView = new ListView(); ColumnHeader4 = new ColumnHeader(); ColumnHeader6 = new ColumnHeader(); ColumnHeader7 = new ColumnHeader(); ColumnHeader8 = new ColumnHeader(); ColumnHeader5 = new ColumnHeader(); Label6 = new Label(); TabControl1.SuspendLayout(); tab1.SuspendLayout(); TabPage2.SuspendLayout(); TableLayoutPanel2.SuspendLayout(); SuspendLayout(); // // Button1 // _Button1.Anchor = AnchorStyles.Top | AnchorStyles.Right; _Button1.BackColor = Color.Firebrick; _Button1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _Button1.ForeColor = Color.White; _Button1.Location = new Point(867, 3); _Button1.Name = "_Button1"; _Button1.Size = new Size(43, 43); _Button1.TabIndex = 2; _Button1.Text = "X"; _Button1.UseVisualStyleBackColor = false; // // Label1 // Label1.BackColor = Color.White; Label1.Dock = DockStyle.Top; Label1.Font = new Font("Segoe UI Semibold", 13.74545f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label1.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label1.Location = new Point(0, 0); Label1.Name = "Label1"; Label1.Padding = new Padding(15, 5, 5, 5); Label1.Size = new Size(914, 61); Label1.TabIndex = 3; Label1.Text = "Holidays"; Label1.TextAlign = ContentAlignment.BottomLeft; // // Label2 // Label2.AutoSize = true; Label2.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.Location = new Point(97, 104); Label2.Name = "Label2"; Label2.Size = new Size(70, 26); Label2.TabIndex = 4; Label2.Text = "Date: "; // // Label3 // Label3.AutoSize = true; Label3.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label3.Location = new Point(97, 192); Label3.Name = "Label3"; Label3.Size = new Size(152, 26); Label3.TabIndex = 5; Label3.Text = "Holiday name:"; // // TextBox1 // TextBox1.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); TextBox1.Location = new Point(101, 223); TextBox1.MaxLength = 30; TextBox1.Name = "TextBox1"; TextBox1.Size = new Size(303, 32); TextBox1.TabIndex = 6; // // DateTimePicker1 // DateTimePicker1.CustomFormat = "MMM dd, yyyy"; DateTimePicker1.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); DateTimePicker1.Format = DateTimePickerFormat.Custom; DateTimePicker1.Location = new Point(101, 135); DateTimePicker1.Name = "DateTimePicker1"; DateTimePicker1.Size = new Size(222, 32); DateTimePicker1.TabIndex = 7; // // ListView1 // _ListView1.BackColor = Color.WhiteSmoke; _ListView1.Columns.AddRange(new ColumnHeader[] { ColumnHeader1, ColumnHeader2, ColumnHeader3 }); _ListView1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _ListView1.FullRowSelect = true; _ListView1.HideSelection = false; _ListView1.Location = new Point(469, 131); _ListView1.MultiSelect = false; _ListView1.Name = "_ListView1"; _ListView1.Size = new Size(347, 228); _ListView1.TabIndex = 8; _ListView1.UseCompatibleStateImageBehavior = false; _ListView1.View = View.Details; // // ColumnHeader1 // ColumnHeader1.Text = "Holiday name"; ColumnHeader1.Width = 195; // // ColumnHeader2 // ColumnHeader2.Text = "Date"; ColumnHeader2.Width = 126; // // ColumnHeader3 // ColumnHeader3.Width = 0; // // Label4 // Label4.AutoSize = true; Label4.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label4.Location = new Point(465, 104); Label4.Name = "Label4"; Label4.Size = new Size(164, 26); Label4.TabIndex = 9; Label4.Text = "Saved Holidays"; // // saveTouchButton // _saveTouchButton.AutoSizeMode = AutoSizeMode.GrowAndShrink; _saveTouchButton.BevelWidth = Conversions.ToShort(2); _saveTouchButton.ButtonEnabled = true; _saveTouchButton.ButtonFontSize = Conversions.ToShort(22); _saveTouchButton.ButtonStyle = YardTabletControls.TouchButton.StyleOFButton.HorizantalStyle; _saveTouchButton.Caption = "Save"; _saveTouchButton.CaptionStyle = YardTabletControls.TouchButton.StyleOfCaption.FlatCaption; _saveTouchButton.Font = new Font("Arial Black", 8.142858f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _saveTouchButton.Location = new Point(174, 293); _saveTouchButton.Margin = new Padding(5, 3, 5, 3); _saveTouchButton.Name = "_saveTouchButton"; _saveTouchButton.Size = new Size(121, 47); _saveTouchButton.StickyMode = YardTabletControls.TouchButton.ModeOfSticky.StickyOff; _saveTouchButton.TabIndex = 10; _saveTouchButton.TextColour = Color.White; _saveTouchButton.TouchButtonColour = Color.Olive; _saveTouchButton.Value = false; // // deleteTouchButton // _deleteTouchButton.AutoSizeMode = AutoSizeMode.GrowAndShrink; _deleteTouchButton.BevelWidth = Conversions.ToShort(2); _deleteTouchButton.ButtonEnabled = true; _deleteTouchButton.ButtonFontSize = Conversions.ToShort(22); _deleteTouchButton.ButtonStyle = YardTabletControls.TouchButton.StyleOFButton.HorizantalStyle; _deleteTouchButton.Caption = "Delete"; _deleteTouchButton.CaptionStyle = YardTabletControls.TouchButton.StyleOfCaption.FlatCaption; _deleteTouchButton.Font = new Font("Arial Black", 8.142858f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _deleteTouchButton.Location = new Point(614, 371); _deleteTouchButton.Margin = new Padding(5, 3, 5, 3); _deleteTouchButton.Name = "_deleteTouchButton"; _deleteTouchButton.Size = new Size(121, 47); _deleteTouchButton.StickyMode = YardTabletControls.TouchButton.ModeOfSticky.StickyOff; _deleteTouchButton.TabIndex = 11; _deleteTouchButton.TextColour = Color.White; _deleteTouchButton.TouchButtonColour = Color.Firebrick; _deleteTouchButton.Value = false; _deleteTouchButton.Visible = false; // // Label5 // Label5.Font = new Font("Microsoft Sans Serif", 9.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label5.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0))); Label5.Location = new Point(129, 260); Label5.Name = "Label5"; Label5.Size = new Size(254, 20); Label5.TabIndex = 12; Label5.TextAlign = ContentAlignment.MiddleCenter; // // TabControl1 // TabControl1.Controls.Add(tab1); TabControl1.Controls.Add(TabPage2); TabControl1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); TabControl1.Location = new Point(0, 64); TabControl1.Name = "TabControl1"; TabControl1.SelectedIndex = 0; TabControl1.Size = new Size(914, 574); TabControl1.TabIndex = 13; // // tab1 // tab1.Controls.Add(_holidayYearComboBox); tab1.Controls.Add(Label2); tab1.Controls.Add(Label5); tab1.Controls.Add(Label3); tab1.Controls.Add(_deleteTouchButton); tab1.Controls.Add(TextBox1); tab1.Controls.Add(_saveTouchButton); tab1.Controls.Add(DateTimePicker1); tab1.Controls.Add(Label4); tab1.Controls.Add(_ListView1); tab1.Location = new Point(4, 31); tab1.Name = "tab1"; tab1.Padding = new Padding(3); tab1.Size = new Size(906, 539); tab1.TabIndex = 0; tab1.Text = "Add Holidays"; tab1.UseVisualStyleBackColor = true; // // holidayYearComboBox // _holidayYearComboBox.DropDownStyle = ComboBoxStyle.DropDownList; _holidayYearComboBox.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _holidayYearComboBox.FormattingEnabled = true; _holidayYearComboBox.Location = new Point(686, 56); _holidayYearComboBox.Name = "_holidayYearComboBox"; _holidayYearComboBox.Size = new Size(130, 34); _holidayYearComboBox.TabIndex = 13; // // TabPage2 // TabPage2.Controls.Add(TableLayoutPanel2); TabPage2.Controls.Add(_yearComboBox); TabPage2.Controls.Add(_showEmployeesComboBox); TabPage2.Controls.Add(_CheckBox1); TabPage2.Controls.Add(datePickedLabel); TabPage2.Controls.Add(_Button2); TabPage2.Controls.Add(Label7); TabPage2.Controls.Add(_ComboBox1); TabPage2.Controls.Add(qualifiedEmployeesListView); TabPage2.Controls.Add(Label6); TabPage2.Location = new Point(4, 31); TabPage2.Name = "TabPage2"; TabPage2.Padding = new Padding(3); TabPage2.Size = new Size(906, 539); TabPage2.TabIndex = 1; TabPage2.Text = "Update Holiday on Timesheets"; TabPage2.UseVisualStyleBackColor = true; // // TableLayoutPanel2 // TableLayoutPanel2.ColumnCount = 2; TableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 11.25f)); TableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 88.75f)); TableLayoutPanel2.Controls.Add(Label9, 1, 0); TableLayoutPanel2.Controls.Add(Label11, 0, 0); TableLayoutPanel2.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); TableLayoutPanel2.Location = new Point(602, 469); TableLayoutPanel2.Name = "TableLayoutPanel2"; TableLayoutPanel2.Padding = new Padding(5); TableLayoutPanel2.RowCount = 1; TableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 33.33333f)); TableLayoutPanel2.Size = new Size(279, 36); TableLayoutPanel2.TabIndex = 52; // // Label9 // Label9.AutoSize = true; Label9.Dock = DockStyle.Fill; Label9.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label9.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label9.Location = new Point(38, 5); Label9.Name = "Label9"; Label9.Size = new Size(233, 26); Label9.TabIndex = 54; Label9.Text = "Already received Holiday"; Label9.TextAlign = ContentAlignment.MiddleLeft; // // Label11 // Label11.BackColor = Color.Orange; Label11.Dock = DockStyle.Fill; Label11.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label11.Location = new Point(8, 8); Label11.Margin = new Padding(3); Label11.Name = "Label11"; Label11.Padding = new Padding(5); Label11.Size = new Size(24, 20); Label11.TabIndex = 52; // // yearComboBox // _yearComboBox.DropDownStyle = ComboBoxStyle.DropDownList; _yearComboBox.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _yearComboBox.FormattingEnabled = true; _yearComboBox.Location = new Point(728, 45); _yearComboBox.Name = "_yearComboBox"; _yearComboBox.Size = new Size(130, 34); _yearComboBox.TabIndex = 8; // // showEmployeesComboBox // _showEmployeesComboBox.DropDownStyle = ComboBoxStyle.DropDownList; _showEmployeesComboBox.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _showEmployeesComboBox.FormattingEnabled = true; _showEmployeesComboBox.Items.AddRange(new object[] { "Qualified Employees", "All Employees" }); _showEmployeesComboBox.Location = new Point(18, 10); _showEmployeesComboBox.Name = "_showEmployeesComboBox"; _showEmployeesComboBox.Size = new Size(212, 34); _showEmployeesComboBox.TabIndex = 7; // // CheckBox1 // _CheckBox1.AutoSize = true; _CheckBox1.Location = new Point(27, 84); _CheckBox1.Name = "_CheckBox1"; _CheckBox1.Size = new Size(15, 14); _CheckBox1.TabIndex = 6; _CheckBox1.UseVisualStyleBackColor = true; // // datePickedLabel // datePickedLabel.BackColor = Color.SeaShell; datePickedLabel.BorderStyle = BorderStyle.Fixed3D; datePickedLabel.Font = new Font("Microsoft Sans Serif", 15.75f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); datePickedLabel.Location = new Point(578, 198); datePickedLabel.Name = "datePickedLabel"; datePickedLabel.Size = new Size(249, 66); datePickedLabel.TabIndex = 5; datePickedLabel.Text = "No Holiday selected"; datePickedLabel.TextAlign = ContentAlignment.MiddleCenter; // // Button2 // _Button2.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); _Button2.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _Button2.ForeColor = Color.White; _Button2.Location = new Point(578, 313); _Button2.Name = "_Button2"; _Button2.Size = new Size(251, 71); _Button2.TabIndex = 4; _Button2.Text = "Assign Holiday to Employee's Time Sheet"; _Button2.UseVisualStyleBackColor = false; // // Label7 // Label7.AutoSize = true; Label7.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label7.Location = new Point(547, 100); Label7.Name = "Label7"; Label7.Size = new Size(208, 26); Label7.TabIndex = 3; Label7.Text = "Choose the Holiday:"; // // ComboBox1 // _ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList; _ComboBox1.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _ComboBox1.FormattingEnabled = true; _ComboBox1.Location = new Point(551, 127); _ComboBox1.Name = "_ComboBox1"; _ComboBox1.Size = new Size(307, 34); _ComboBox1.TabIndex = 2; // // qualifiedEmployeesListView // qualifiedEmployeesListView.BackColor = SystemColors.InactiveBorder; qualifiedEmployeesListView.CheckBoxes = true; qualifiedEmployeesListView.Columns.AddRange(new ColumnHeader[] { ColumnHeader4, ColumnHeader6, ColumnHeader7, ColumnHeader8, ColumnHeader5 }); qualifiedEmployeesListView.FullRowSelect = true; qualifiedEmployeesListView.HideSelection = false; qualifiedEmployeesListView.Location = new Point(18, 77); qualifiedEmployeesListView.Name = "qualifiedEmployeesListView"; qualifiedEmployeesListView.Size = new Size(440, 428); qualifiedEmployeesListView.TabIndex = 0; qualifiedEmployeesListView.UseCompatibleStateImageBehavior = false; qualifiedEmployeesListView.View = View.Details; // // ColumnHeader4 // ColumnHeader4.Text = " Alias"; ColumnHeader4.Width = 160; // // ColumnHeader6 // ColumnHeader6.Text = "Last Name"; ColumnHeader6.Width = 160; // // ColumnHeader7 // ColumnHeader7.Text = "Days worked "; ColumnHeader7.Width = 110; // // ColumnHeader8 // ColumnHeader8.Text = ""; ColumnHeader8.Width = 0; // // ColumnHeader5 // ColumnHeader5.Text = ""; ColumnHeader5.Width = 0; // // Label6 // Label6.BackColor = Color.DarkKhaki; Label6.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label6.Location = new Point(18, 45); Label6.Name = "Label6"; Label6.Padding = new Padding(0, 5, 0, 0); Label6.Size = new Size(440, 44); Label6.TabIndex = 1; Label6.Text = "Qualified employees to receive holiday pay"; Label6.TextAlign = ContentAlignment.TopCenter; // // FrmHolidays // AutoScaleDimensions = new SizeF(8.0f, 17.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(914, 638); ControlBox = false; Controls.Add(TabControl1); Controls.Add(_Button1); Controls.Add(Label1); Font = new Font("Microsoft Sans Serif", 9.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); FormBorderStyle = FormBorderStyle.FixedSingle; Name = "FrmHolidays"; StartPosition = FormStartPosition.CenterScreen; TabControl1.ResumeLayout(false); tab1.ResumeLayout(false); tab1.PerformLayout(); TabPage2.ResumeLayout(false); TabPage2.PerformLayout(); TableLayoutPanel2.ResumeLayout(false); TableLayoutPanel2.PerformLayout(); Load += new EventHandler(FrmHolidays_Load); ResumeLayout(false); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmRulesAndActions)); _rulesListView = new ListView(); _rulesListView.Click += new EventHandler(ListView1_SelectedIndexChanged); _rulesListView.SelectedIndexChanged += new EventHandler(rulesListView_SelectedIndexChanged); titleLabel = new Label(); _closeTouchButton = new YardTabletControls.TouchButton(); _closeTouchButton.ButtonClick += new YardTabletControls.TouchButton.ButtonClickEventHandler(TouchButton1_Load); _ruleAndActionTextBox = new TextBox(); _ruleAndActionTextBox.TextChanged += new EventHandler(ruleTextBox_TextChanged); ruleActionLabel = new Label(); subTitleLabel = new Label(); MenuStrip1 = new MenuStrip(); _CompanyToolStripMenuItem = new ToolStripMenuItem(); _CompanyToolStripMenuItem.Click += new EventHandler(CompanyToolStripMenuItem_Click); _EditToolStripMenuItem = new ToolStripMenuItem(); _EditToolStripMenuItem.Click += new EventHandler(EditToolStripMenuItem_Click); _DeleteToolStripMenuItem = new ToolStripMenuItem(); _DeleteToolStripMenuItem.Click += new EventHandler(DeleteToolStripMenuItem_Click); _createUpdateTouchButton = new YardTabletControls.TouchButton(); _createUpdateTouchButton.ButtonClick += new YardTabletControls.TouchButton.ButtonClickEventHandler(createUpdateTouchButton_Load); availableTitlePictureBox = new PictureBox(); MenuStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)availableTitlePictureBox).BeginInit(); SuspendLayout(); // // rulesListView // _rulesListView.Font = new Font("Microsoft Sans Serif", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _rulesListView.FullRowSelect = true; _rulesListView.GridLines = true; _rulesListView.HeaderStyle = ColumnHeaderStyle.None; _rulesListView.HideSelection = false; _rulesListView.Location = new Point(30, 163); _rulesListView.Name = "_rulesListView"; _rulesListView.Size = new Size(462, 311); _rulesListView.TabIndex = 0; _rulesListView.UseCompatibleStateImageBehavior = false; _rulesListView.View = View.Details; // // titleLabel // titleLabel.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); titleLabel.Dock = DockStyle.Top; titleLabel.Font = new Font("Segoe UI", 24.21818f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); titleLabel.ForeColor = Color.White; titleLabel.Location = new Point(0, 0); titleLabel.Name = "titleLabel"; titleLabel.Size = new Size(928, 67); titleLabel.TabIndex = 1; titleLabel.Text = "Manage Rules"; titleLabel.TextAlign = ContentAlignment.MiddleCenter; // // closeTouchButton // _closeTouchButton.AutoSizeMode = AutoSizeMode.GrowAndShrink; _closeTouchButton.BevelWidth = Conversions.ToShort(2); _closeTouchButton.ButtonEnabled = true; _closeTouchButton.ButtonFontSize = Conversions.ToShort(28); _closeTouchButton.ButtonStyle = YardTabletControls.TouchButton.StyleOFButton.HorizantalStyle; _closeTouchButton.Caption = "X"; _closeTouchButton.CaptionStyle = YardTabletControls.TouchButton.StyleOfCaption.FlatCaption; _closeTouchButton.Font = new Font("Arial Black", 8.142858f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _closeTouchButton.Location = new Point(862, 12); _closeTouchButton.Margin = new Padding(4, 3, 4, 3); _closeTouchButton.Name = "_closeTouchButton"; _closeTouchButton.Size = new Size(51, 47); _closeTouchButton.StickyMode = YardTabletControls.TouchButton.ModeOfSticky.StickyOff; _closeTouchButton.TabIndex = 3; _closeTouchButton.TextColour = Color.White; _closeTouchButton.TouchButtonColour = Color.Firebrick; _closeTouchButton.Value = false; // // ruleAndActionTextBox // _ruleAndActionTextBox.CharacterCasing = CharacterCasing.Upper; _ruleAndActionTextBox.Font = new Font("Microsoft Sans Serif", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _ruleAndActionTextBox.Location = new Point(536, 200); _ruleAndActionTextBox.MaxLength = 250; _ruleAndActionTextBox.Name = "_ruleAndActionTextBox"; _ruleAndActionTextBox.Size = new Size(322, 28); _ruleAndActionTextBox.TabIndex = 4; // // ruleActionLabel // ruleActionLabel.AutoSize = true; ruleActionLabel.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); ruleActionLabel.Location = new Point(531, 172); ruleActionLabel.Name = "ruleActionLabel"; ruleActionLabel.Size = new Size(108, 25); ruleActionLabel.TabIndex = 5; ruleActionLabel.Text = "Rule Name:"; // // subTitleLabel // subTitleLabel.AutoSize = true; subTitleLabel.Font = new Font("Segoe UI Semibold", 11.78182f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); subTitleLabel.Location = new Point(22, 81); subTitleLabel.Name = "subTitleLabel"; subTitleLabel.Size = new Size(470, 25); subTitleLabel.TabIndex = 6; subTitleLabel.Text = "Select existing rule to edit, delete or create a new one"; // // MenuStrip1 // MenuStrip1.BackColor = Color.Transparent; MenuStrip1.Dock = DockStyle.None; MenuStrip1.GripMargin = new Padding(2); MenuStrip1.GripStyle = ToolStripGripStyle.Visible; MenuStrip1.ImageScalingSize = new Size(18, 18); MenuStrip1.Items.AddRange(new ToolStripItem[] { _CompanyToolStripMenuItem, _EditToolStripMenuItem, _DeleteToolStripMenuItem }); MenuStrip1.Location = new Point(27, 122); MenuStrip1.Name = "MenuStrip1"; MenuStrip1.Padding = new Padding(2); MenuStrip1.Size = new Size(443, 38); MenuStrip1.TabIndex = 33; MenuStrip1.Text = "MenuStrip1"; // // CompanyToolStripMenuItem // _CompanyToolStripMenuItem.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _CompanyToolStripMenuItem.Image = (Image)resources.GetObject("CompanyToolStripMenuItem.Image"); _CompanyToolStripMenuItem.Name = "_CompanyToolStripMenuItem"; _CompanyToolStripMenuItem.Padding = new Padding(2, 2, 35, 2); _CompanyToolStripMenuItem.Size = new Size(115, 34); _CompanyToolStripMenuItem.Text = "New"; // // EditToolStripMenuItem // _EditToolStripMenuItem.Enabled = false; _EditToolStripMenuItem.Font = new Font("Microsoft Sans Serif", 14.25f); _EditToolStripMenuItem.Image = (Image)resources.GetObject("EditToolStripMenuItem.Image"); _EditToolStripMenuItem.Name = "_EditToolStripMenuItem"; _EditToolStripMenuItem.Padding = new Padding(2, 2, 70, 2); _EditToolStripMenuItem.Size = new Size(144, 34); _EditToolStripMenuItem.Text = "Edit"; // // DeleteToolStripMenuItem // _DeleteToolStripMenuItem.Enabled = false; _DeleteToolStripMenuItem.Font = new Font("Microsoft Sans Serif", 14.25f); _DeleteToolStripMenuItem.Image = (Image)resources.GetObject("DeleteToolStripMenuItem.Image"); _DeleteToolStripMenuItem.Name = "_DeleteToolStripMenuItem"; _DeleteToolStripMenuItem.Padding = new Padding(2, 2, 70, 2); _DeleteToolStripMenuItem.Size = new Size(169, 34); _DeleteToolStripMenuItem.Text = "Delete"; // // createUpdateTouchButton // _createUpdateTouchButton.AutoSizeMode = AutoSizeMode.GrowAndShrink; _createUpdateTouchButton.BevelWidth = Conversions.ToShort(2); _createUpdateTouchButton.ButtonEnabled = true; _createUpdateTouchButton.ButtonFontSize = Conversions.ToShort(22); _createUpdateTouchButton.ButtonStyle = YardTabletControls.TouchButton.StyleOFButton.HorizantalStyle; _createUpdateTouchButton.Caption = "Create Rule"; _createUpdateTouchButton.CaptionStyle = YardTabletControls.TouchButton.StyleOfCaption.FlatCaption; _createUpdateTouchButton.Font = new Font("Arial Black", 8.142858f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _createUpdateTouchButton.Location = new Point(631, 286); _createUpdateTouchButton.Margin = new Padding(4, 3, 4, 3); _createUpdateTouchButton.Name = "_createUpdateTouchButton"; _createUpdateTouchButton.Size = new Size(157, 47); _createUpdateTouchButton.StickyMode = YardTabletControls.TouchButton.ModeOfSticky.StickyOff; _createUpdateTouchButton.TabIndex = 34; _createUpdateTouchButton.TextColour = Color.White; _createUpdateTouchButton.TouchButtonColour = Color.Gray; _createUpdateTouchButton.Value = false; // // availableTitlePictureBox // availableTitlePictureBox.Location = new Point(863, 198); availableTitlePictureBox.Name = "availableTitlePictureBox"; availableTitlePictureBox.Size = new Size(32, 31); availableTitlePictureBox.SizeMode = PictureBoxSizeMode.Zoom; availableTitlePictureBox.TabIndex = 40; availableTitlePictureBox.TabStop = false; availableTitlePictureBox.Visible = false; // // FrmRulesAndActions // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(928, 519); ControlBox = false; Controls.Add(availableTitlePictureBox); Controls.Add(_createUpdateTouchButton); Controls.Add(MenuStrip1); Controls.Add(subTitleLabel); Controls.Add(ruleActionLabel); Controls.Add(_ruleAndActionTextBox); Controls.Add(_closeTouchButton); Controls.Add(titleLabel); Controls.Add(_rulesListView); FormBorderStyle = FormBorderStyle.FixedSingle; Name = "FrmRulesAndActions"; StartPosition = FormStartPosition.CenterScreen; MenuStrip1.ResumeLayout(false); MenuStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)availableTitlePictureBox).EndInit(); Load += new EventHandler(FrmPreScriptRules_Load); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { _TouchButton1 = new YardTabletControls.TouchButton(); _TouchButton1.ButtonClick += new YardTabletControls.TouchButton.ButtonClickEventHandler(TouchButton1_Load); _ListView1 = new ListView(); _ListView1.DoubleClick += new EventHandler(ListView1_SelectedIndexChanged); titleLabel = new Label(); notificationTypeLabel = new Label(); SuspendLayout(); // // TouchButton1 // _TouchButton1.AutoSizeMode = AutoSizeMode.GrowAndShrink; _TouchButton1.BevelWidth = Conversions.ToShort(2); _TouchButton1.ButtonEnabled = true; _TouchButton1.ButtonFontSize = Conversions.ToShort(22); _TouchButton1.ButtonStyle = YardTabletControls.TouchButton.StyleOFButton.HorizantalStyle; _TouchButton1.Caption = "X"; _TouchButton1.Font = new Font("Arial Black", 8.142858f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _TouchButton1.Location = new Point(805, 8); _TouchButton1.Margin = new Padding(4, 3, 4, 3); _TouchButton1.Name = "_TouchButton1"; _TouchButton1.Size = new Size(44, 39); _TouchButton1.StickyMode = YardTabletControls.TouchButton.ModeOfSticky.StickyOff; _TouchButton1.TabIndex = 0; _TouchButton1.TextColour = Color.White; _TouchButton1.TouchButtonColour = Color.Firebrick; _TouchButton1.Value = false; // // ListView1 // _ListView1.BackColor = Color.WhiteSmoke; _ListView1.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _ListView1.FullRowSelect = true; _ListView1.HideSelection = false; _ListView1.Location = new Point(82, 190); _ListView1.MultiSelect = false; _ListView1.Name = "_ListView1"; _ListView1.Size = new Size(688, 296); _ListView1.TabIndex = 1; _ListView1.UseCompatibleStateImageBehavior = false; _ListView1.View = View.Details; // // titleLabel // titleLabel.BackColor = Color.DarkSlateGray; titleLabel.Dock = DockStyle.Top; titleLabel.Font = new Font("Microsoft Sans Serif", 20.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); titleLabel.ForeColor = Color.White; titleLabel.Location = new Point(0, 0); titleLabel.Name = "titleLabel"; titleLabel.Size = new Size(860, 82); titleLabel.TabIndex = 2; titleLabel.Text = "Double click to see employee details"; titleLabel.TextAlign = ContentAlignment.MiddleCenter; // // notificationTypeLabel // notificationTypeLabel.BackColor = Color.Transparent; notificationTypeLabel.Font = new Font("Microsoft Sans Serif", 20.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); notificationTypeLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); notificationTypeLabel.Location = new Point(76, 131); notificationTypeLabel.Name = "notificationTypeLabel"; notificationTypeLabel.Size = new Size(658, 56); notificationTypeLabel.TabIndex = 3; notificationTypeLabel.Text = "Double click to see employee details"; notificationTypeLabel.TextAlign = ContentAlignment.MiddleLeft; // // FrmProbationPeriodReminders // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.Snow; ClientSize = new Size(860, 593); ControlBox = false; Controls.Add(notificationTypeLabel); Controls.Add(_TouchButton1); Controls.Add(titleLabel); Controls.Add(_ListView1); FormBorderStyle = FormBorderStyle.FixedSingle; Name = "FrmProbationPeriodReminders"; StartPosition = FormStartPosition.CenterScreen; Load += new EventHandler(FrmProbationPeriodReminders_Load); ResumeLayout(false); }
private void InitializeComponent() { _TouchButton1 = new YardTabletControls.TouchButton(); _TouchButton1.ButtonClick += new YardTabletControls.TouchButton.ButtonClickEventHandler(TouchButton1_Load); Label1 = new Label(); Label2 = new Label(); Label3 = new Label(); titleLabel = new Label(); byLabel = new Label(); actionTakenLabel = new Label(); dateLabel = new Label(); Label6 = new Label(); commentsRichTextBox = new RichTextBox(); _addCommentsButton = new Button(); _addCommentsButton.Click += new EventHandler(addCommentsButton_Click); SuspendLayout(); // // TouchButton1 // _TouchButton1.AutoSizeMode = AutoSizeMode.GrowAndShrink; _TouchButton1.BevelWidth = Conversions.ToShort(2); _TouchButton1.ButtonEnabled = true; _TouchButton1.ButtonFontSize = Conversions.ToShort(22); _TouchButton1.ButtonStyle = YardTabletControls.TouchButton.StyleOFButton.HorizantalStyle; _TouchButton1.Caption = "X"; _TouchButton1.CaptionStyle = YardTabletControls.TouchButton.StyleOfCaption.FlatCaption; _TouchButton1.Font = new Font("Arial Black", 8.142858f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _TouchButton1.Location = new Point(604, 12); _TouchButton1.Margin = new Padding(4, 3, 4, 3); _TouchButton1.Name = "_TouchButton1"; _TouchButton1.Size = new Size(50, 47); _TouchButton1.StickyMode = YardTabletControls.TouchButton.ModeOfSticky.StickyOff; _TouchButton1.TabIndex = 0; _TouchButton1.TextColour = Color.White; _TouchButton1.TouchButtonColour = Color.Firebrick; _TouchButton1.Value = false; // // Label1 // Label1.AutoSize = true; Label1.Font = new Font("Microsoft Sans Serif", 15.75f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label1.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label1.Location = new Point(19, 131); Label1.Name = "Label1"; Label1.Size = new Size(160, 29); Label1.TabIndex = 1; Label1.Text = "Action taken:"; // // Label2 // Label2.AutoSize = true; Label2.Font = new Font("Microsoft Sans Serif", 15.75f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label2.Location = new Point(124, 183); Label2.Name = "Label2"; Label2.Size = new Size(50, 29); Label2.TabIndex = 2; Label2.Text = "By:"; // // Label3 // Label3.AutoSize = true; Label3.Font = new Font("Microsoft Sans Serif", 15.75f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label3.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label3.Location = new Point(93, 301); Label3.Name = "Label3"; Label3.Size = new Size(86, 29); Label3.TabIndex = 3; Label3.Text = "Notes:"; // // titleLabel // titleLabel.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); titleLabel.Dock = DockStyle.Top; titleLabel.Font = new Font("Microsoft Sans Serif", 32.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); titleLabel.ForeColor = Color.White; titleLabel.Location = new Point(0, 0); titleLabel.Name = "titleLabel"; titleLabel.Size = new Size(677, 91); titleLabel.TabIndex = 5; titleLabel.Text = "Notification details"; titleLabel.TextAlign = ContentAlignment.MiddleCenter; // // byLabel // byLabel.BackColor = Color.SeaShell; byLabel.BorderStyle = BorderStyle.Fixed3D; byLabel.Font = new Font("Microsoft Sans Serif", 15.75f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); byLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); byLabel.Location = new Point(173, 177); byLabel.Name = "byLabel"; byLabel.Size = new Size(350, 31); byLabel.TabIndex = 7; byLabel.Text = "N/A"; // // actionTakenLabel // actionTakenLabel.BackColor = Color.SeaShell; actionTakenLabel.BorderStyle = BorderStyle.Fixed3D; actionTakenLabel.Font = new Font("Microsoft Sans Serif", 15.75f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); actionTakenLabel.ForeColor = Color.Green; actionTakenLabel.Location = new Point(173, 130); actionTakenLabel.Name = "actionTakenLabel"; actionTakenLabel.Size = new Size(350, 31); actionTakenLabel.TabIndex = 8; actionTakenLabel.Text = "N/A"; // // dateLabel // dateLabel.BackColor = Color.SeaShell; dateLabel.BorderStyle = BorderStyle.Fixed3D; dateLabel.Font = new Font("Microsoft Sans Serif", 15.75f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); dateLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); dateLabel.Location = new Point(173, 241); dateLabel.Name = "dateLabel"; dateLabel.Size = new Size(350, 31); dateLabel.TabIndex = 10; dateLabel.Text = "N/A"; // // Label6 // Label6.AutoSize = true; Label6.Font = new Font("Microsoft Sans Serif", 15.75f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label6.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label6.Location = new Point(16, 247); Label6.Name = "Label6"; Label6.Size = new Size(176, 29); Label6.TabIndex = 9; Label6.Text = "Date of action:"; // // commentsRichTextBox // commentsRichTextBox.BackColor = Color.SeaShell; commentsRichTextBox.Font = new Font("Microsoft Sans Serif", 14.25f); commentsRichTextBox.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); commentsRichTextBox.Location = new Point(129, 329); commentsRichTextBox.Name = "commentsRichTextBox"; commentsRichTextBox.ReadOnly = true; commentsRichTextBox.Size = new Size(464, 115); commentsRichTextBox.TabIndex = 11; commentsRichTextBox.Text = "N/A"; // // addCommentsButton // _addCommentsButton.Font = new Font("Microsoft Sans Serif", 14.25f); _addCommentsButton.Location = new Point(254, 465); _addCommentsButton.Name = "_addCommentsButton"; _addCommentsButton.Size = new Size(172, 37); _addCommentsButton.TabIndex = 12; _addCommentsButton.Text = "Add notes"; _addCommentsButton.UseVisualStyleBackColor = true; // // FrmActionDetails // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.Snow; ClientSize = new Size(677, 529); ControlBox = false; Controls.Add(_addCommentsButton); Controls.Add(commentsRichTextBox); Controls.Add(dateLabel); Controls.Add(Label6); Controls.Add(actionTakenLabel); Controls.Add(byLabel); Controls.Add(_TouchButton1); Controls.Add(titleLabel); Controls.Add(Label3); Controls.Add(Label2); Controls.Add(Label1); FormBorderStyle = FormBorderStyle.FixedSingle; Name = "FrmActionDetails"; StartPosition = FormStartPosition.CenterScreen; Load += new EventHandler(FrmActionDetails_Load); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { messageEmailRichTextBox = new RichTextBox(); Label1 = new Label(); Label2 = new Label(); subjectEmailTextBox = new TextBox(); _sendEmailTouchButton = new YardTabletControls.TouchButton(); _sendEmailTouchButton.ButtonClick += new YardTabletControls.TouchButton.ButtonClickEventHandler(sendEmailTouchButton_Load); _canceEmaillTouchButton = new YardTabletControls.TouchButton(); _canceEmaillTouchButton.ButtonClick += new YardTabletControls.TouchButton.ButtonClickEventHandler(canceEmaillTouchButton_Load); Label3 = new Label(); fromEmailTextBox = new TextBox(); TabControl1 = new TabControl(); TabPage1 = new TabPage(); ToEmailComboBox = new ComboBox(); Label4 = new Label(); TabPage2 = new TabPage(); Label6 = new Label(); Label7 = new Label(); employeesListView = new ListView(); ColumnHeader1 = new ColumnHeader(); ColumnHeader4 = new ColumnHeader(); titleemployeeLabel = new Label(); messageEmployeeRichTextBox = new RichTextBox(); _cancelMessageTouchButton = new YardTabletControls.TouchButton(); _cancelMessageTouchButton.ButtonClick += new YardTabletControls.TouchButton.ButtonClickEventHandler(cancelMessageTouchButton_Load); _sendMessageTouchButton = new YardTabletControls.TouchButton(); _sendMessageTouchButton.ButtonClick += new YardTabletControls.TouchButton.ButtonClickEventHandler(sendMessageTouchButton_Load); subjectTextBox = new TextBox(); Label8 = new Label(); Label9 = new Label(); TabControl1.SuspendLayout(); TabPage1.SuspendLayout(); TabPage2.SuspendLayout(); SuspendLayout(); // // messageEmailRichTextBox // messageEmailRichTextBox.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); messageEmailRichTextBox.Location = new Point(97, 348); messageEmailRichTextBox.Name = "messageEmailRichTextBox"; messageEmailRichTextBox.Size = new Size(555, 162); messageEmailRichTextBox.TabIndex = 4; messageEmailRichTextBox.Text = ""; // // Label1 // Label1.AutoSize = true; Label1.Font = new Font("Microsoft Sans Serif", 15.75f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label1.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label1.Location = new Point(89, 204); Label1.Name = "Label1"; Label1.Size = new Size(43, 25); Label1.TabIndex = 2; Label1.Text = "To:"; // // Label2 // Label2.AutoSize = true; Label2.Font = new Font("Microsoft Sans Serif", 15.75f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label2.Location = new Point(45, 257); Label2.Name = "Label2"; Label2.Size = new Size(90, 25); Label2.TabIndex = 4; Label2.Text = "Subject:"; // // subjectEmailTextBox // subjectEmailTextBox.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); subjectEmailTextBox.Location = new Point(141, 253); subjectEmailTextBox.Name = "subjectEmailTextBox"; subjectEmailTextBox.Size = new Size(514, 29); subjectEmailTextBox.TabIndex = 3; // // sendEmailTouchButton // _sendEmailTouchButton.AutoSizeMode = AutoSizeMode.GrowAndShrink; _sendEmailTouchButton.BevelWidth = Conversions.ToShort(2); _sendEmailTouchButton.ButtonEnabled = true; _sendEmailTouchButton.ButtonFontSize = Conversions.ToShort(22); _sendEmailTouchButton.ButtonStyle = YardTabletControls.TouchButton.StyleOFButton.HorizantalStyle; _sendEmailTouchButton.Caption = "Send"; _sendEmailTouchButton.Font = new Font("Arial Black", 8.142858f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _sendEmailTouchButton.Location = new Point(207, 533); _sendEmailTouchButton.Margin = new Padding(4, 3, 4, 3); _sendEmailTouchButton.Name = "_sendEmailTouchButton"; _sendEmailTouchButton.Size = new Size(146, 42); _sendEmailTouchButton.StickyMode = YardTabletControls.TouchButton.ModeOfSticky.StickyOff; _sendEmailTouchButton.TabIndex = 5; _sendEmailTouchButton.TextColour = Color.White; _sendEmailTouchButton.TouchButtonColour = Color.Teal; _sendEmailTouchButton.Value = false; // // canceEmaillTouchButton // _canceEmaillTouchButton.AutoSizeMode = AutoSizeMode.GrowAndShrink; _canceEmaillTouchButton.BevelWidth = Conversions.ToShort(2); _canceEmaillTouchButton.ButtonEnabled = true; _canceEmaillTouchButton.ButtonFontSize = Conversions.ToShort(22); _canceEmaillTouchButton.ButtonStyle = YardTabletControls.TouchButton.StyleOFButton.HorizantalStyle; _canceEmaillTouchButton.Caption = "Cancel"; _canceEmaillTouchButton.Font = new Font("Arial Black", 8.142858f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _canceEmaillTouchButton.Location = new Point(407, 533); _canceEmaillTouchButton.Margin = new Padding(4, 3, 4, 3); _canceEmaillTouchButton.Name = "_canceEmaillTouchButton"; _canceEmaillTouchButton.Size = new Size(146, 42); _canceEmaillTouchButton.StickyMode = YardTabletControls.TouchButton.ModeOfSticky.StickyOff; _canceEmaillTouchButton.TabIndex = 6; _canceEmaillTouchButton.TextColour = Color.White; _canceEmaillTouchButton.TouchButtonColour = Color.Gray; _canceEmaillTouchButton.Value = false; // // Label3 // Label3.AutoSize = true; Label3.Font = new Font("Microsoft Sans Serif", 15.75f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label3.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label3.Location = new Point(68, 152); Label3.Name = "Label3"; Label3.Size = new Size(67, 25); Label3.TabIndex = 8; Label3.Text = "From:"; // // fromEmailTextBox // fromEmailTextBox.BorderStyle = BorderStyle.FixedSingle; fromEmailTextBox.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); fromEmailTextBox.Location = new Point(141, 151); fromEmailTextBox.Name = "fromEmailTextBox"; fromEmailTextBox.ReadOnly = true; fromEmailTextBox.Size = new Size(390, 29); fromEmailTextBox.TabIndex = 1; // // TabControl1 // TabControl1.Controls.Add(TabPage1); TabControl1.Controls.Add(TabPage2); TabControl1.Dock = DockStyle.Fill; TabControl1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); TabControl1.ItemSize = new Size(70, 30); TabControl1.Location = new Point(0, 0); TabControl1.Name = "TabControl1"; TabControl1.SelectedIndex = 0; TabControl1.Size = new Size(780, 664); TabControl1.TabIndex = 9; // // TabPage1 // TabPage1.Controls.Add(Label9); TabPage1.Controls.Add(ToEmailComboBox); TabPage1.Controls.Add(Label4); TabPage1.Controls.Add(fromEmailTextBox); TabPage1.Controls.Add(Label3); TabPage1.Controls.Add(messageEmailRichTextBox); TabPage1.Controls.Add(_canceEmaillTouchButton); TabPage1.Controls.Add(Label1); TabPage1.Controls.Add(_sendEmailTouchButton); TabPage1.Controls.Add(subjectEmailTextBox); TabPage1.Controls.Add(Label2); TabPage1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); TabPage1.Location = new Point(4, 34); TabPage1.Name = "TabPage1"; TabPage1.Padding = new Padding(3); TabPage1.Size = new Size(772, 626); TabPage1.TabIndex = 0; TabPage1.Text = "Email"; TabPage1.UseVisualStyleBackColor = true; // // ToEmailComboBox // ToEmailComboBox.AutoCompleteMode = AutoCompleteMode.SuggestAppend; ToEmailComboBox.AutoCompleteSource = AutoCompleteSource.ListItems; ToEmailComboBox.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); ToEmailComboBox.FormattingEnabled = true; ToEmailComboBox.Location = new Point(138, 197); ToEmailComboBox.Name = "ToEmailComboBox"; ToEmailComboBox.Size = new Size(514, 32); ToEmailComboBox.TabIndex = 10; // // Label4 // Label4.BackColor = Color.DarkSlateGray; Label4.Dock = DockStyle.Top; Label4.Font = new Font("Microsoft Sans Serif", 21.75f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label4.ForeColor = Color.White; Label4.Location = new Point(3, 3); Label4.Name = "Label4"; Label4.Size = new Size(766, 90); Label4.TabIndex = 9; Label4.Text = "Send Email"; Label4.TextAlign = ContentAlignment.MiddleCenter; // // TabPage2 // TabPage2.Controls.Add(Label8); TabPage2.Controls.Add(subjectTextBox); TabPage2.Controls.Add(Label6); TabPage2.Controls.Add(Label7); TabPage2.Controls.Add(employeesListView); TabPage2.Controls.Add(titleemployeeLabel); TabPage2.Controls.Add(messageEmployeeRichTextBox); TabPage2.Controls.Add(_cancelMessageTouchButton); TabPage2.Controls.Add(_sendMessageTouchButton); TabPage2.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); TabPage2.Location = new Point(4, 34); TabPage2.Name = "TabPage2"; TabPage2.Padding = new Padding(3); TabPage2.Size = new Size(772, 626); TabPage2.TabIndex = 1; TabPage2.Text = "Message Employee"; TabPage2.UseVisualStyleBackColor = true; // // Label6 // Label6.AutoSize = true; Label6.Font = new Font("Microsoft Sans Serif", 15.75f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label6.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label6.Location = new Point(73, 345); Label6.Name = "Label6"; Label6.Size = new Size(106, 25); Label6.TabIndex = 43; Label6.Text = "Message:"; // // Label7 // Label7.AutoSize = true; Label7.Font = new Font("Microsoft Sans Serif", 15.75f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label7.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label7.Location = new Point(71, 106); Label7.Name = "Label7"; Label7.Size = new Size(213, 25); Label7.TabIndex = 42; Label7.Text = "Select the employee:"; // // employeesListView // employeesListView.BackColor = Color.White; employeesListView.Columns.AddRange(new ColumnHeader[] { ColumnHeader1, ColumnHeader4 }); employeesListView.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); employeesListView.FullRowSelect = true; employeesListView.HeaderStyle = ColumnHeaderStyle.None; employeesListView.HideSelection = false; employeesListView.Location = new Point(76, 134); employeesListView.MultiSelect = false; employeesListView.Name = "employeesListView"; employeesListView.Size = new Size(483, 138); employeesListView.TabIndex = 41; employeesListView.UseCompatibleStateImageBehavior = false; employeesListView.View = View.Details; // // ColumnHeader1 // ColumnHeader1.Text = "Name"; ColumnHeader1.Width = 320; // // ColumnHeader4 // ColumnHeader4.Text = ""; ColumnHeader4.Width = 0; // // titleemployeeLabel // titleemployeeLabel.BackColor = Color.DarkSlateGray; titleemployeeLabel.Dock = DockStyle.Top; titleemployeeLabel.Font = new Font("Microsoft Sans Serif", 21.75f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); titleemployeeLabel.ForeColor = Color.White; titleemployeeLabel.Location = new Point(3, 3); titleemployeeLabel.Name = "titleemployeeLabel"; titleemployeeLabel.Size = new Size(766, 85); titleemployeeLabel.TabIndex = 11; titleemployeeLabel.Text = "Send message to employee's clock in screen"; titleemployeeLabel.TextAlign = ContentAlignment.MiddleCenter; // // messageEmployeeRichTextBox // messageEmployeeRichTextBox.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); messageEmployeeRichTextBox.Location = new Point(78, 373); messageEmployeeRichTextBox.Name = "messageEmployeeRichTextBox"; messageEmployeeRichTextBox.Size = new Size(618, 135); messageEmployeeRichTextBox.TabIndex = 10; messageEmployeeRichTextBox.Text = ""; // // cancelMessageTouchButton // _cancelMessageTouchButton.AutoSizeMode = AutoSizeMode.GrowAndShrink; _cancelMessageTouchButton.BevelWidth = Conversions.ToShort(2); _cancelMessageTouchButton.ButtonEnabled = true; _cancelMessageTouchButton.ButtonFontSize = Conversions.ToShort(22); _cancelMessageTouchButton.ButtonStyle = YardTabletControls.TouchButton.StyleOFButton.HorizantalStyle; _cancelMessageTouchButton.Caption = "Cancel"; _cancelMessageTouchButton.Font = new Font("Arial Black", 8.142858f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _cancelMessageTouchButton.Location = new Point(427, 541); _cancelMessageTouchButton.Margin = new Padding(4, 3, 4, 3); _cancelMessageTouchButton.Name = "_cancelMessageTouchButton"; _cancelMessageTouchButton.Size = new Size(146, 42); _cancelMessageTouchButton.StickyMode = YardTabletControls.TouchButton.ModeOfSticky.StickyOff; _cancelMessageTouchButton.TabIndex = 8; _cancelMessageTouchButton.TextColour = Color.White; _cancelMessageTouchButton.TouchButtonColour = Color.Gray; _cancelMessageTouchButton.Value = false; // // sendMessageTouchButton // _sendMessageTouchButton.AutoSizeMode = AutoSizeMode.GrowAndShrink; _sendMessageTouchButton.BevelWidth = Conversions.ToShort(2); _sendMessageTouchButton.ButtonEnabled = true; _sendMessageTouchButton.ButtonFontSize = Conversions.ToShort(22); _sendMessageTouchButton.ButtonStyle = YardTabletControls.TouchButton.StyleOFButton.HorizantalStyle; _sendMessageTouchButton.Caption = "Send"; _sendMessageTouchButton.Font = new Font("Arial Black", 8.142858f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _sendMessageTouchButton.Location = new Point(241, 541); _sendMessageTouchButton.Margin = new Padding(4, 3, 4, 3); _sendMessageTouchButton.Name = "_sendMessageTouchButton"; _sendMessageTouchButton.Size = new Size(146, 42); _sendMessageTouchButton.StickyMode = YardTabletControls.TouchButton.ModeOfSticky.StickyOff; _sendMessageTouchButton.TabIndex = 7; _sendMessageTouchButton.TextColour = Color.White; _sendMessageTouchButton.TouchButtonColour = Color.Teal; _sendMessageTouchButton.Value = false; // // subjectTextBox // subjectTextBox.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); subjectTextBox.Location = new Point(169, 301); subjectTextBox.Name = "subjectTextBox"; subjectTextBox.Size = new Size(340, 29); subjectTextBox.TabIndex = 44; // // Label8 // Label8.AutoSize = true; Label8.Font = new Font("Microsoft Sans Serif", 15.75f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label8.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label8.Location = new Point(73, 301); Label8.Name = "Label8"; Label8.Size = new Size(90, 25); Label8.TabIndex = 45; Label8.Text = "Subject:"; // // Label9 // Label9.AutoSize = true; Label9.Font = new Font("Microsoft Sans Serif", 15.75f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label9.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label9.Location = new Point(29, 320); Label9.Name = "Label9"; Label9.Size = new Size(106, 25); Label9.TabIndex = 11; Label9.Text = "Message:"; // // FrmMessage // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(780, 664); ControlBox = false; Controls.Add(TabControl1); FormBorderStyle = FormBorderStyle.FixedSingle; Name = "FrmMessage"; StartPosition = FormStartPosition.CenterScreen; TabControl1.ResumeLayout(false); TabPage1.ResumeLayout(false); TabPage1.PerformLayout(); TabPage2.ResumeLayout(false); TabPage2.PerformLayout(); Load += new EventHandler(FrmMessage_Load); ResumeLayout(false); }