Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace calculator
- {
- public partial class Form2 : Form
- {
- public Form2()
- {
- InitializeComponent();
- }
- string log;
- public void writeLog(string words)
- {
- log += words + "\r\n" ;
- textBox1.Text = log;
- }
- private void Form2_FormClosing(object sender, FormClosingEventArgs e)
- {
- e.Cancel = true;
- this.Hide();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement