Пример #1
0
        private void button1Click(object sender, EventArgs e)
        {
            this.restoreTime = dateTimePicker1.Value.Date + dateTimePicker2.Value.TimeOfDay;
            BackupSystem backupSystem = new BackupSystem(this.tracking, this.backup, ".txt", false);

            backupSystem.RestoreTo(this.restoreTime);
        }
Пример #2
0
        private void radioButton1CheckedChanged(object sender, EventArgs e)
        {
            button1.Visible = false;
            RadioButton radioButton = (RadioButton)sender;

            if (radioButton.Checked)
            {
                MessageBox.Show("The tracking was started");
            }

            BackupSystem backupSystem = new BackupSystem(this.tracking, this.backup, ".txt", true);
        }