141 lines
5.9 KiB
C#
141 lines
5.9 KiB
C#
namespace networkPaint
|
|
{
|
|
partial class MainForm
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <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.paintArea = new System.Windows.Forms.PictureBox();
|
|
this.timer = new System.Windows.Forms.Timer(this.components);
|
|
this.colorDialog = new System.Windows.Forms.ColorDialog();
|
|
this.brushSizeNumericUpDown = new System.Windows.Forms.NumericUpDown();
|
|
this.changeColorButton = new System.Windows.Forms.Button();
|
|
this.urlTextBox = new System.Windows.Forms.TextBox();
|
|
this.setUrlButton = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.paintArea)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.brushSizeNumericUpDown)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// paintArea
|
|
//
|
|
this.paintArea.BackColor = System.Drawing.Color.White;
|
|
this.paintArea.Location = new System.Drawing.Point(12, 38);
|
|
this.paintArea.Name = "paintArea";
|
|
this.paintArea.Size = new System.Drawing.Size(640, 480);
|
|
this.paintArea.TabIndex = 0;
|
|
this.paintArea.TabStop = false;
|
|
this.paintArea.Click += new System.EventHandler(this.paintArea_Click);
|
|
//
|
|
// timer
|
|
//
|
|
this.timer.Tick += new System.EventHandler(this.timer_Tick);
|
|
//
|
|
// brushSizeNumericUpDown
|
|
//
|
|
this.brushSizeNumericUpDown.Location = new System.Drawing.Point(118, 12);
|
|
this.brushSizeNumericUpDown.Maximum = new decimal(new int[] {
|
|
50,
|
|
0,
|
|
0,
|
|
0});
|
|
this.brushSizeNumericUpDown.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.brushSizeNumericUpDown.Name = "brushSizeNumericUpDown";
|
|
this.brushSizeNumericUpDown.Size = new System.Drawing.Size(50, 20);
|
|
this.brushSizeNumericUpDown.TabIndex = 2;
|
|
this.brushSizeNumericUpDown.Value = new decimal(new int[] {
|
|
5,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// changeColorButton
|
|
//
|
|
this.changeColorButton.Location = new System.Drawing.Point(12, 12);
|
|
this.changeColorButton.Name = "changeColorButton";
|
|
this.changeColorButton.Size = new System.Drawing.Size(100, 20);
|
|
this.changeColorButton.TabIndex = 3;
|
|
this.changeColorButton.Text = "Change Color";
|
|
this.changeColorButton.UseVisualStyleBackColor = true;
|
|
this.changeColorButton.Click += new System.EventHandler(this.changeColorButton_Click);
|
|
//
|
|
// urlTextBox
|
|
//
|
|
this.urlTextBox.Location = new System.Drawing.Point(174, 12);
|
|
this.urlTextBox.Name = "urlTextBox";
|
|
this.urlTextBox.Size = new System.Drawing.Size(372, 20);
|
|
this.urlTextBox.TabIndex = 4;
|
|
this.urlTextBox.Text = "http://kawaiizenbo.me/toys/networkpaint/";
|
|
//
|
|
// setUrlButton
|
|
//
|
|
this.setUrlButton.Location = new System.Drawing.Point(552, 12);
|
|
this.setUrlButton.Name = "setUrlButton";
|
|
this.setUrlButton.Size = new System.Drawing.Size(100, 20);
|
|
this.setUrlButton.TabIndex = 5;
|
|
this.setUrlButton.Text = "Set Endpoint";
|
|
this.setUrlButton.UseVisualStyleBackColor = true;
|
|
this.setUrlButton.Click += new System.EventHandler(this.setUrlButton_Click);
|
|
//
|
|
// MainForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(664, 530);
|
|
this.Controls.Add(this.setUrlButton);
|
|
this.Controls.Add(this.urlTextBox);
|
|
this.Controls.Add(this.changeColorButton);
|
|
this.Controls.Add(this.brushSizeNumericUpDown);
|
|
this.Controls.Add(this.paintArea);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.MaximizeBox = false;
|
|
this.Name = "MainForm";
|
|
this.ShowIcon = false;
|
|
this.Text = "Network Paint";
|
|
this.Load += new System.EventHandler(this.MainForm_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.paintArea)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.brushSizeNumericUpDown)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.PictureBox paintArea;
|
|
private System.Windows.Forms.Timer timer;
|
|
private System.Windows.Forms.ColorDialog colorDialog;
|
|
private System.Windows.Forms.NumericUpDown brushSizeNumericUpDown;
|
|
private System.Windows.Forms.Button changeColorButton;
|
|
private System.Windows.Forms.TextBox urlTextBox;
|
|
private System.Windows.Forms.Button setUrlButton;
|
|
}
|
|
}
|
|
|