using System.Drawing.Printing; using System.Windows.Forms; using static System.Net.Mime.MediaTypeNames; using System.Xml.Linq; namespace CruiserMech { partial class DrawingCanvas { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { pictureBox1 = new PictureBox(); CreateButton = new Button(); CreateButton2 = new Button(); buttonUp = new Button(); buttonLeft = new Button(); buttonDown = new Button(); buttonRight = new Button(); ButtonActivate = new Button(); comboBox = new ComboBox(); Activate = new Button(); ((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit(); SuspendLayout(); // // pictureBox1 // pictureBox1.Dock = DockStyle.Fill; pictureBox1.Location = new Point(0, 0); pictureBox1.Margin = new Padding(6); pictureBox1.Name = "pictureBox1"; pictureBox1.Size = new Size(1018, 604); pictureBox1.TabIndex = 0; pictureBox1.TabStop = false; // // CreateButton // CreateButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; CreateButton.Location = new Point(22, 465); CreateButton.Margin = new Padding(6); CreateButton.Name = "CreateButton"; CreateButton.Size = new Size(139, 113); CreateButton.TabIndex = 1; CreateButton.Text = "Create object"; CreateButton.UseVisualStyleBackColor = true; CreateButton.Click += buttonCr_Click; // // CreateButton2 // CreateButton2.Location = new Point(22, 26); CreateButton2.Margin = new Padding(6); CreateButton2.Name = "CreateButton2"; CreateButton2.Size = new Size(139, 113); CreateButton2.TabIndex = 2; CreateButton2.Text = "Cr Updated Object"; CreateButton2.UseVisualStyleBackColor = true; CreateButton2.Click += buttonCr2_Click; // // buttonUp // buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; buttonUp.BackgroundImage = Properties.Resources.up_arrow_res; buttonUp.BackgroundImageLayout = ImageLayout.Stretch; buttonUp.Location = new Point(817, 371); buttonUp.Margin = new Padding(6); buttonUp.Name = "buttonUp"; buttonUp.Size = new Size(84, 96); buttonUp.TabIndex = 3; buttonUp.UseVisualStyleBackColor = true; buttonUp.Click += ButtonMove_Click; // // buttonLeft // buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; buttonLeft.BackgroundImage = Properties.Resources.left_arrow_res; buttonLeft.BackgroundImageLayout = ImageLayout.Stretch; buttonLeft.Location = new Point(722, 480); buttonLeft.Margin = new Padding(6); buttonLeft.Name = "buttonLeft"; buttonLeft.Size = new Size(84, 96); buttonLeft.TabIndex = 4; buttonLeft.UseVisualStyleBackColor = true; buttonLeft.Click += ButtonMove_Click; // // buttonDown // buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; buttonDown.BackgroundImage = Properties.Resources.down_arrow_res; buttonDown.BackgroundImageLayout = ImageLayout.Stretch; buttonDown.Location = new Point(817, 480); buttonDown.Margin = new Padding(6); buttonDown.Name = "buttonDown"; buttonDown.Size = new Size(84, 96); buttonDown.TabIndex = 5; buttonDown.UseVisualStyleBackColor = true; buttonDown.Click += ButtonMove_Click; // // buttonRight // buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; buttonRight.BackgroundImage = Properties.Resources.right_arrow_res; buttonRight.BackgroundImageLayout = ImageLayout.Stretch; buttonRight.Location = new Point(912, 480); buttonRight.Margin = new Padding(6); buttonRight.Name = "buttonRight"; buttonRight.Size = new Size(84, 96); buttonRight.TabIndex = 6; buttonRight.UseVisualStyleBackColor = true; buttonRight.Click += ButtonMove_Click; // // ListComboBox // // // ButtonActivate // ButtonActivate.Anchor = AnchorStyles.Right; ButtonActivate.Location = new Point(22, 149); ButtonActivate.Margin = new Padding(6); ButtonActivate.Name = "ButtonActivate"; ButtonActivate.Size = new Size(84, 96); ButtonActivate.TabIndex = 8; ButtonActivate.UseVisualStyleBackColor = true; ButtonActivate.Click += comboBox_Activate; // // comboBox1 // comboBox.FormattingEnabled = true; comboBox.Items.AddRange(new object[] { "Center", "Boarder" }); comboBox.Location = new Point(188, 26); comboBox.Name = "Directions"; comboBox.Size = new Size(203, 40); comboBox.TabIndex = 9; // // Activate // Activate.Location = new Point(188, 93); Activate.Name = "Activate"; Activate.Size = new Size(203, 46); Activate.TabIndex = 10; Activate.Text = "ActivateStep"; Activate.UseVisualStyleBackColor = true; Activate.Click += comboBox_Activate; // // DrawingCanvas // AutoScaleDimensions = new SizeF(13F, 32F); AutoScaleMode = AutoScaleMode.Font; AutoValidate = AutoValidate.EnableAllowFocusChange; BackColor = Color.CornflowerBlue; ClientSize = new Size(1018, 604); Controls.Add(Activate); Controls.Add(comboBox); Controls.Add(buttonRight); Controls.Add(buttonDown); Controls.Add(buttonLeft); Controls.Add(buttonUp); Controls.Add(CreateButton); Controls.Add(CreateButton2); Controls.Add(pictureBox1); Controls.Add(ButtonActivate); Margin = new Padding(4, 2, 4, 2); Name = "DrawingCanvas"; StartPosition = FormStartPosition.Manual; Text = "DrawingCanvas"; ((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit(); ResumeLayout(false); } #endregion private PictureBox pictureBox1; private Button CreateButton; private Button CreateButton2; private Button buttonUp; private Button buttonLeft; private Button buttonDown; private Button buttonRight; private Button ButtonActivate; private ComboBox comboBox; private Button Activate; } }