示例#1
0
        private void button1_Click(object sender, EventArgs e)
        {
            this.restore_time = dateTimePicker1.Value.Date + dateTimePicker2.Value.TimeOfDay;
            BackUpSystem backUpSystem = new BackUpSystem(this.tracking, this.backup, ".txt", false);

            backUpSystem.RestoreTo(this.restore_time);
        }
示例#2
0
        private void radioButton1_CheckedChanged(object sender, EventArgs e)
        {
            button1.Visible = false;
            RadioButton radioButton = (RadioButton)sender;

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

            BackUpSystem backUpSystem = new BackUpSystem(this.tracking, this.backup, ".txt", true);
        }