143 lines
5.7 KiB
C#
143 lines
5.7 KiB
C#
|
namespace OppgaveEn
|
|||
|
{
|
|||
|
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.lblR1 = new System.Windows.Forms.Label();
|
|||
|
this.textBoxR1 = new System.Windows.Forms.TextBox();
|
|||
|
this.buttonSirkel = new System.Windows.Forms.Button();
|
|||
|
this.lblR2 = new System.Windows.Forms.Label();
|
|||
|
this.textBoxR2 = new System.Windows.Forms.TextBox();
|
|||
|
this.buttonEllipse = new System.Windows.Forms.Button();
|
|||
|
this.labelAreal = new System.Windows.Forms.Label();
|
|||
|
this.textBoxAreal = new System.Windows.Forms.TextBox();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// lblR1
|
|||
|
//
|
|||
|
this.lblR1.AutoSize = true;
|
|||
|
this.lblR1.Location = new System.Drawing.Point(12, 16);
|
|||
|
this.lblR1.Name = "lblR1";
|
|||
|
this.lblR1.Size = new System.Drawing.Size(24, 13);
|
|||
|
this.lblR1.TabIndex = 0;
|
|||
|
this.lblR1.Text = "R1:";
|
|||
|
//
|
|||
|
// textBoxR1
|
|||
|
//
|
|||
|
this.textBoxR1.Location = new System.Drawing.Point(42, 12);
|
|||
|
this.textBoxR1.Name = "textBoxR1";
|
|||
|
this.textBoxR1.Size = new System.Drawing.Size(100, 20);
|
|||
|
this.textBoxR1.TabIndex = 1;
|
|||
|
//
|
|||
|
// buttonSirkel
|
|||
|
//
|
|||
|
this.buttonSirkel.Location = new System.Drawing.Point(366, 6);
|
|||
|
this.buttonSirkel.Name = "buttonSirkel";
|
|||
|
this.buttonSirkel.Size = new System.Drawing.Size(133, 23);
|
|||
|
this.buttonSirkel.TabIndex = 2;
|
|||
|
this.buttonSirkel.Text = "Beregn Sirkel-areal";
|
|||
|
this.buttonSirkel.UseVisualStyleBackColor = true;
|
|||
|
this.buttonSirkel.Click += new System.EventHandler(this.ButtonSirkel_Click);
|
|||
|
//
|
|||
|
// lblR2
|
|||
|
//
|
|||
|
this.lblR2.AutoSize = true;
|
|||
|
this.lblR2.Location = new System.Drawing.Point(12, 41);
|
|||
|
this.lblR2.Name = "lblR2";
|
|||
|
this.lblR2.Size = new System.Drawing.Size(24, 13);
|
|||
|
this.lblR2.TabIndex = 3;
|
|||
|
this.lblR2.Text = "R2:";
|
|||
|
//
|
|||
|
// textBoxR2
|
|||
|
//
|
|||
|
this.textBoxR2.Location = new System.Drawing.Point(42, 38);
|
|||
|
this.textBoxR2.Name = "textBoxR2";
|
|||
|
this.textBoxR2.Size = new System.Drawing.Size(100, 20);
|
|||
|
this.textBoxR2.TabIndex = 4;
|
|||
|
//
|
|||
|
// buttonEllipse
|
|||
|
//
|
|||
|
this.buttonEllipse.Location = new System.Drawing.Point(366, 36);
|
|||
|
this.buttonEllipse.Name = "buttonEllipse";
|
|||
|
this.buttonEllipse.Size = new System.Drawing.Size(133, 23);
|
|||
|
this.buttonEllipse.TabIndex = 5;
|
|||
|
this.buttonEllipse.Text = "Beregn Ellipse-areal";
|
|||
|
this.buttonEllipse.UseVisualStyleBackColor = true;
|
|||
|
this.buttonEllipse.Click += new System.EventHandler(this.ButtonEllipse_Click);
|
|||
|
//
|
|||
|
// labelAreal
|
|||
|
//
|
|||
|
this.labelAreal.AutoSize = true;
|
|||
|
this.labelAreal.Location = new System.Drawing.Point(330, 87);
|
|||
|
this.labelAreal.Name = "labelAreal";
|
|||
|
this.labelAreal.Size = new System.Drawing.Size(63, 13);
|
|||
|
this.labelAreal.TabIndex = 6;
|
|||
|
this.labelAreal.Text = "Ellipseareal:";
|
|||
|
//
|
|||
|
// textBoxAreal
|
|||
|
//
|
|||
|
this.textBoxAreal.Location = new System.Drawing.Point(399, 84);
|
|||
|
this.textBoxAreal.Name = "textBoxAreal";
|
|||
|
this.textBoxAreal.ReadOnly = true;
|
|||
|
this.textBoxAreal.Size = new System.Drawing.Size(100, 20);
|
|||
|
this.textBoxAreal.TabIndex = 7;
|
|||
|
//
|
|||
|
// MainForm
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.ClientSize = new System.Drawing.Size(511, 116);
|
|||
|
this.Controls.Add(this.textBoxAreal);
|
|||
|
this.Controls.Add(this.labelAreal);
|
|||
|
this.Controls.Add(this.buttonEllipse);
|
|||
|
this.Controls.Add(this.textBoxR2);
|
|||
|
this.Controls.Add(this.lblR2);
|
|||
|
this.Controls.Add(this.buttonSirkel);
|
|||
|
this.Controls.Add(this.textBoxR1);
|
|||
|
this.Controls.Add(this.lblR1);
|
|||
|
this.Name = "MainForm";
|
|||
|
this.Text = "Beregning av ellipse og sirkelareal - Oppgave 1 - Alex Thomassen";
|
|||
|
this.ResumeLayout(false);
|
|||
|
this.PerformLayout();
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private System.Windows.Forms.Label lblR1;
|
|||
|
private System.Windows.Forms.TextBox textBoxR1;
|
|||
|
private System.Windows.Forms.Button buttonSirkel;
|
|||
|
private System.Windows.Forms.Label lblR2;
|
|||
|
private System.Windows.Forms.TextBox textBoxR2;
|
|||
|
private System.Windows.Forms.Button buttonEllipse;
|
|||
|
private System.Windows.Forms.Label labelAreal;
|
|||
|
private System.Windows.Forms.TextBox textBoxAreal;
|
|||
|
}
|
|||
|
}
|
|||
|
|