<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://timeslaughingstocks.com/index.php?action=history&amp;feed=atom&amp;title=Onlc</id>
	<title>Onlc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://timeslaughingstocks.com/index.php?action=history&amp;feed=atom&amp;title=Onlc"/>
	<link rel="alternate" type="text/html" href="https://timeslaughingstocks.com/index.php?title=Onlc&amp;action=history"/>
	<updated>2026-11-08T14:35:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.4</generator>
	<entry>
		<id>https://timeslaughingstocks.com/index.php?title=Onlc&amp;diff=5972&amp;oldid=prev</id>
		<title>Paulreed: Created page with &quot;using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data;  namespace Chapter1 { 	/// &lt;summary&gt; ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://timeslaughingstocks.com/index.php?title=Onlc&amp;diff=5972&amp;oldid=prev"/>
		<updated>2013-01-02T21:01:51Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data;  namespace Chapter1 { 	/// &amp;lt;summary&amp;gt; ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;using System;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Collections;&lt;br /&gt;
using System.ComponentModel;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
using System.Data;&lt;br /&gt;
&lt;br /&gt;
namespace Chapter1&lt;br /&gt;
{&lt;br /&gt;
	/// &amp;lt;summary&amp;gt;&lt;br /&gt;
	/// Summary description for Form1.&lt;br /&gt;
	/// &amp;lt;/summary&amp;gt;&lt;br /&gt;
	public class Form1 : System.Windows.Forms.Form&lt;br /&gt;
	{&lt;br /&gt;
		private System.Windows.Forms.TextBox textBox1;&lt;br /&gt;
		private System.Windows.Forms.TextBox textBox2;&lt;br /&gt;
		private System.Windows.Forms.Label label1;&lt;br /&gt;
		private System.Windows.Forms.Button button1;&lt;br /&gt;
		private System.Windows.Forms.Button button2;&lt;br /&gt;
		private System.Windows.Forms.Button button3;&lt;br /&gt;
		private System.Windows.Forms.Button button4;&lt;br /&gt;
		/// &amp;lt;summary&amp;gt;&lt;br /&gt;
		/// Required designer variable.&lt;br /&gt;
		/// &amp;lt;/summary&amp;gt;&lt;br /&gt;
		private System.ComponentModel.Container components = null;&lt;br /&gt;
&lt;br /&gt;
		public Form1()&lt;br /&gt;
		{&lt;br /&gt;
			//&lt;br /&gt;
			// Required for Windows Form Designer support&lt;br /&gt;
			//&lt;br /&gt;
			InitializeComponent();&lt;br /&gt;
&lt;br /&gt;
			//&lt;br /&gt;
			// TODO: Add any constructor code after InitializeComponent call&lt;br /&gt;
			//&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		/// &amp;lt;summary&amp;gt;&lt;br /&gt;
		/// Clean up any resources being used.&lt;br /&gt;
		/// &amp;lt;/summary&amp;gt;&lt;br /&gt;
		protected override void Dispose( bool disposing )&lt;br /&gt;
		{&lt;br /&gt;
			if( disposing )&lt;br /&gt;
			{&lt;br /&gt;
				if (components != null) &lt;br /&gt;
				{&lt;br /&gt;
					components.Dispose();&lt;br /&gt;
				}&lt;br /&gt;
			}&lt;br /&gt;
			base.Dispose( disposing );&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		#region Windows Form Designer generated code&lt;br /&gt;
		/// &amp;lt;summary&amp;gt;&lt;br /&gt;
		/// Required method for Designer support - do not modify&lt;br /&gt;
		/// the contents of this method with the code editor.&lt;br /&gt;
		/// &amp;lt;/summary&amp;gt;&lt;br /&gt;
		private void InitializeComponent()&lt;br /&gt;
		{&lt;br /&gt;
			this.textBox1 = new System.Windows.Forms.TextBox();&lt;br /&gt;
			this.textBox2 = new System.Windows.Forms.TextBox();&lt;br /&gt;
			this.label1 = new System.Windows.Forms.Label();&lt;br /&gt;
			this.button1 = new System.Windows.Forms.Button();&lt;br /&gt;
			this.button2 = new System.Windows.Forms.Button();&lt;br /&gt;
			this.button3 = new System.Windows.Forms.Button();&lt;br /&gt;
			this.button4 = new System.Windows.Forms.Button();&lt;br /&gt;
			this.SuspendLayout();&lt;br /&gt;
			// &lt;br /&gt;
			// textBox1&lt;br /&gt;
			// &lt;br /&gt;
			this.textBox1.Location = new System.Drawing.Point(40, 24);&lt;br /&gt;
			this.textBox1.Name = &amp;quot;textBox1&amp;quot;;&lt;br /&gt;
			this.textBox1.TabIndex = 0;&lt;br /&gt;
			this.textBox1.Text = &amp;quot;&amp;quot;;&lt;br /&gt;
			// &lt;br /&gt;
			// textBox2&lt;br /&gt;
			// &lt;br /&gt;
			this.textBox2.Location = new System.Drawing.Point(40, 72);&lt;br /&gt;
			this.textBox2.Name = &amp;quot;textBox2&amp;quot;;&lt;br /&gt;
			this.textBox2.TabIndex = 1;&lt;br /&gt;
			this.textBox2.Text = &amp;quot;&amp;quot;;&lt;br /&gt;
			// &lt;br /&gt;
			// label1&lt;br /&gt;
			// &lt;br /&gt;
			this.label1.Font = new System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));&lt;br /&gt;
			this.label1.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;&lt;br /&gt;
			this.label1.Location = new System.Drawing.Point(40, 112);&lt;br /&gt;
			this.label1.Name = &amp;quot;label1&amp;quot;;&lt;br /&gt;
			this.label1.Size = new System.Drawing.Size(192, 23);&lt;br /&gt;
			this.label1.TabIndex = 2;&lt;br /&gt;
			this.label1.Text = &amp;quot;Answer will appear here&amp;quot;;&lt;br /&gt;
			this.label1.Click += new System.EventHandler(this.label1_Click);&lt;br /&gt;
			// &lt;br /&gt;
			// button1&lt;br /&gt;
			// &lt;br /&gt;
			this.button1.Font = new System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));&lt;br /&gt;
			this.button1.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;&lt;br /&gt;
			this.button1.Location = new System.Drawing.Point(40, 160);&lt;br /&gt;
			this.button1.Name = &amp;quot;button1&amp;quot;;&lt;br /&gt;
			this.button1.Size = new System.Drawing.Size(168, 23);&lt;br /&gt;
			this.button1.TabIndex = 3;&lt;br /&gt;
			this.button1.Text = &amp;quot;+&amp;quot;;&lt;br /&gt;
			this.button1.Click += new System.EventHandler(this.button1_Click);&lt;br /&gt;
			// &lt;br /&gt;
			// button2&lt;br /&gt;
			// &lt;br /&gt;
			this.button2.Font = new System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));&lt;br /&gt;
			this.button2.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;&lt;br /&gt;
			this.button2.Location = new System.Drawing.Point(240, 160);&lt;br /&gt;
			this.button2.Name = &amp;quot;button2&amp;quot;;&lt;br /&gt;
			this.button2.Size = new System.Drawing.Size(168, 23);&lt;br /&gt;
			this.button2.TabIndex = 4;&lt;br /&gt;
			this.button2.Text = &amp;quot;-&amp;quot;;&lt;br /&gt;
			this.button2.Click += new System.EventHandler(this.button2_Click);&lt;br /&gt;
			// &lt;br /&gt;
			// button3&lt;br /&gt;
			// &lt;br /&gt;
			this.button3.Font = new System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));&lt;br /&gt;
			this.button3.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;&lt;br /&gt;
			this.button3.Location = new System.Drawing.Point(240, 216);&lt;br /&gt;
			this.button3.Name = &amp;quot;button3&amp;quot;;&lt;br /&gt;
			this.button3.Size = new System.Drawing.Size(168, 23);&lt;br /&gt;
			this.button3.TabIndex = 5;&lt;br /&gt;
			this.button3.Text = &amp;quot;/&amp;quot;;&lt;br /&gt;
			this.button3.Click += new System.EventHandler(this.button3_Click);&lt;br /&gt;
			// &lt;br /&gt;
			// button4&lt;br /&gt;
			// &lt;br /&gt;
			this.button4.Font = new System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));&lt;br /&gt;
			this.button4.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;&lt;br /&gt;
			this.button4.Location = new System.Drawing.Point(40, 216);&lt;br /&gt;
			this.button4.Name = &amp;quot;button4&amp;quot;;&lt;br /&gt;
			this.button4.Size = new System.Drawing.Size(168, 23);&lt;br /&gt;
			this.button4.TabIndex = 6;&lt;br /&gt;
			this.button4.Text = &amp;quot;*&amp;quot;;&lt;br /&gt;
			this.button4.Click += new System.EventHandler(this.button4_Click);&lt;br /&gt;
			// &lt;br /&gt;
			// Form1&lt;br /&gt;
			// &lt;br /&gt;
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);&lt;br /&gt;
			this.BackColor = System.Drawing.SystemColors.Desktop;&lt;br /&gt;
			this.ClientSize = new System.Drawing.Size(568, 273);&lt;br /&gt;
			this.Controls.Add(this.button4);&lt;br /&gt;
			this.Controls.Add(this.button3);&lt;br /&gt;
			this.Controls.Add(this.button2);&lt;br /&gt;
			this.Controls.Add(this.button1);&lt;br /&gt;
			this.Controls.Add(this.label1);&lt;br /&gt;
			this.Controls.Add(this.textBox2);&lt;br /&gt;
			this.Controls.Add(this.textBox1);&lt;br /&gt;
			this.Name = &amp;quot;Form1&amp;quot;;&lt;br /&gt;
			this.Text = &amp;quot;Paul\&amp;#039;s Calculator&amp;quot;;&lt;br /&gt;
			this.ResumeLayout(false);&lt;br /&gt;
&lt;br /&gt;
		}&lt;br /&gt;
		#endregion&lt;br /&gt;
&lt;br /&gt;
		/// &amp;lt;summary&amp;gt;&lt;br /&gt;
		/// The main entry point for the application.&lt;br /&gt;
		/// &amp;lt;/summary&amp;gt;&lt;br /&gt;
		[STAThread]&lt;br /&gt;
		static void Main() &lt;br /&gt;
		{&lt;br /&gt;
			Application.Run(new Form1());&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		private void button1_Click(object sender, System.EventArgs e)&lt;br /&gt;
		{&lt;br /&gt;
		//this code add two numbers&lt;br /&gt;
			int num1;//=Convert.ToInt16(textBox1.text);&lt;br /&gt;
			int num2;//=Convert.ToInt16(textBox2.text);&lt;br /&gt;
	num1=Convert.ToInt16(this.textBox1.Text);&lt;br /&gt;
num2=Convert.ToInt16(this.textBox2.Text);&lt;br /&gt;
			&lt;br /&gt;
			&lt;br /&gt;
			&lt;br /&gt;
			label1.Text=Convert.ToString(num1 + num2);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		private void button2_Click(object sender, System.EventArgs e)&lt;br /&gt;
		{&lt;br /&gt;
		&lt;br /&gt;
			//this code add two numbers&lt;br /&gt;
			int num1;//=Convert.ToInt16(textBox1.text);&lt;br /&gt;
			int num2;//=Convert.ToInt16(textBox2.text);&lt;br /&gt;
			num1=Convert.ToInt16(this.textBox1.Text);&lt;br /&gt;
			num2=Convert.ToInt16(this.textBox2.Text);&lt;br /&gt;
			&lt;br /&gt;
			&lt;br /&gt;
			&lt;br /&gt;
			label1.Text=Convert.ToString(num1 - num2);&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		private void button4_Click(object sender, System.EventArgs e)&lt;br /&gt;
		&lt;br /&gt;
		{&lt;br /&gt;
			//this code add two numbers&lt;br /&gt;
			int num1;//=Convert.ToInt16(textBox1.text);&lt;br /&gt;
			int num2;//=Convert.ToInt16(textBox2.text);&lt;br /&gt;
			num1=Convert.ToInt16(this.textBox1.Text);&lt;br /&gt;
			num2=Convert.ToInt16(this.textBox2.Text);&lt;br /&gt;
			&lt;br /&gt;
			&lt;br /&gt;
			&lt;br /&gt;
			label1.Text=Convert.ToString(num1 * num2);&lt;br /&gt;
		&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		private void button3_Click(object sender, System.EventArgs e)&lt;br /&gt;
		{&lt;br /&gt;
		&lt;br /&gt;
			//this code add two numbers&lt;br /&gt;
			int num1;//=Convert.ToInt16(textBox1.text);&lt;br /&gt;
			int num2;//=Convert.ToInt16(textBox2.text);&lt;br /&gt;
			num1=Convert.ToInt16(this.textBox1.Text);&lt;br /&gt;
			num2=Convert.ToInt16(this.textBox2.Text);&lt;br /&gt;
			&lt;br /&gt;
			&lt;br /&gt;
			&lt;br /&gt;
			label1.Text=Convert.ToString(num1 / num2);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		private void label1_Click(object sender, System.EventArgs e)&lt;br /&gt;
		{&lt;br /&gt;
		&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Paulreed</name></author>
	</entry>
</feed>