2using System.Collections.Generic;
3using System.ComponentModel;
8using System.Threading.Tasks;
9using System.Windows.Forms;
13 public partial class Recorder : Form
15 public static string log;
18 log += s + Environment.NewLine;
24 InitializeComponent();
27 private void clearBut_Click(
object sender, EventArgs e)
33 private void delLineBut_Click(
object sender, EventArgs e)
35 string[] sts = textBox.Lines;
36 string[] st =
new string[sts.Length - 1];
37 for (
int i = 0; i < st.Length; i++)
44 private void Recorder_FormClosing(
object sender, FormClosingEventArgs e)
47 this.WindowState = FormWindowState.Minimized;
50 private void textBox_TextChanged(
object sender, EventArgs e)
56 private void topMostBox_CheckedChanged(
object sender, EventArgs e)
58 this.TopMost = topMostBox.Checked;
61 private void Recorder_Activated(
object sender, EventArgs e)
66 private void microRecBox_CheckedChanged(
object sender, EventArgs e)
static bool recordMicroscope
static void AddLine(string s)