Beispiel #1
0
        private void buttonMenu_Click(object sender, EventArgs e)
        {
            ClassSaveHist hist = new ClassSaveHist();

            if (Res == 0 || Res == 2)
            {
                Hide();
                hist.ShowForm();
            }
            else
            {
                StreamWriter streamWriter = new StreamWriter("records.txt", true);
                streamWriter.WriteLine(ClassSaveHist.Name + ":" + m + " мин " + s + " сек " + ":" + HCRes + ";");
                streamWriter.Close();
                FormRecords form = new FormRecords();
                form.Show();
                Hide();
            }
        }
Beispiel #2
0
        private void buttonRecords_Click(object sender, EventArgs e)
        {
            FormRecords frm5 = new FormRecords();

            frm5.Show();
        }