Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch 3 #6

Open
wants to merge 37 commits into
base: patch-3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
ee27f23
Create FrmScan.cs ver 1.1
elramos Oct 17, 2013
ce0036c
Delete FrmScan.cs ver 1.1
elramos Oct 17, 2013
919c803
Create FrmMain.cs
elramos Oct 17, 2013
f838fa7
Create FrmAbout.cs
elramos Oct 17, 2013
7681bd3
Create FrmScan.cs
elramos Oct 17, 2013
1d6ab4b
Create FrmScheduler.cs
elramos Oct 17, 2013
5277783
Create FrmMain.Designer.cs
elramos Oct 18, 2013
2040db8
Create FrmMain.resx
elramos Oct 18, 2013
7f2ec4b
Create FrmScan.Designer.cs
elramos Oct 18, 2013
c35fd24
Create FrmScan.resx
elramos Oct 18, 2013
0e26a45
Create AdvancedDiskCleaner.csproj
elramos Oct 18, 2013
22e47a9
Create FrmAbout.Designer.cs
elramos Oct 18, 2013
fe3f085
Create FrmAbout.resx
elramos Oct 18, 2013
65e88bf
Create FrmScheduler.Designer.cs
elramos Oct 18, 2013
a96c0b4
Create FrmScheduler.resx
elramos Oct 18, 2013
bfff95d
Create Program.cs
elramos Oct 18, 2013
3f7e2b8
Create Analyze.resx
elramos Oct 18, 2013
7c130d3
Create Update.txt
elramos Oct 18, 2013
98f3e3e
Create FrmMain.cs
elramos Oct 18, 2013
d492cd0
Create FrmMain.Designer.cs
elramos Oct 18, 2013
2ec9795
Create FrmMain.resx
elramos Oct 18, 2013
c55c70c
Create FrmScheduler.cs
elramos Oct 18, 2013
724fe40
Create FrmScheduler.Designer.cs
elramos Oct 18, 2013
5ae9faa
Create FrmScheduler.resx
elramos Oct 18, 2013
68fffcf
Create FrmScan.cs
elramos Oct 18, 2013
2675078
Create FrmScan.Designer.cs
elramos Oct 18, 2013
5842165
Create FrmScan.resx
elramos Oct 18, 2013
59aa63b
Create FrmAbout.cs
elramos Oct 18, 2013
bdc513b
Create FrmAbout.Designer.cs
elramos Oct 18, 2013
ed609a2
Create FrmAbout.resx
elramos Oct 18, 2013
6968b3f
Create Program.cs
elramos Oct 18, 2013
0a23b51
Create Analyze.resx
elramos Oct 18, 2013
9d655f8
Create Update.txt
elramos Oct 18, 2013
d4daa0b
Create test
elramos Oct 18, 2013
32a6bd0
Create test
elramos Oct 18, 2013
d122f51
Create test
elramos Oct 18, 2013
7af2af8
test
n0-c4ch3 Oct 18, 2013
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
103 changes: 103 additions & 0 deletions CleanerLite_ver1.1/AdvancedDiskCleaner.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace AutomatedDiskCleaner
{
public partial class FrmScheduler : Form
{
public FrmScheduler()
{
InitializeComponent();
}

private void FrmScheduler_Load(object sender, EventArgs e)
{
ResetControl();
}

private void ResetControl()
{
// Reset controls
this.labelDay.Visible = false;
this.labelDate.Visible = false;
this.labelTime.Visible = false;
this.dateTimePickerSched.Visible = false;
this.comboBoxDate.Visible = false;
this.comboBoxDay.Visible = false;
}

private void radioButtonNever_CheckedChanged(object sender, EventArgs e)
{
ResetControl();
if (this.radioButtonNever.Checked)
{
this.groupBoxSchedule.Visible = false;
this.groupBoxDesc.Visible = false;
this.labelDescription.Text = "";
}
}

private void radioButtonDaily_CheckedChanged(object sender, EventArgs e)
{
ResetControl();
if (this.radioButtonDaily.Checked)
{
this.groupBoxSchedule.Visible = true;
this.groupBoxDesc.Visible = true;
this.labelTime.Visible = true;
this.dateTimePickerSched.Visible = true;
this.labelDescription.Text = string.Format("A disk scan will be run every day at {0}", this.dateTimePickerSched.Value.ToShortTimeString());
}
}

private void radioButtonWeekly_CheckedChanged(object sender, EventArgs e)
{
ResetControl();
if (this.radioButtonWeekly.Checked)
{
this.groupBoxSchedule.Visible = true;
this.labelTime.Visible = true;
this.dateTimePickerSched.Visible = true;
this.labelDay.Visible = true;
this.comboBoxDay.Visible = true;
this.groupBoxDesc.Visible = true;

this.labelDescription.Text = string.Format("A disk scan will be run every week on {0} at {1}", this.comboBoxDay.SelectedItem, this.dateTimePickerSched.Value.ToShortTimeString());
}
}

private void radioButtonMonthly_CheckedChanged(object sender, EventArgs e)
{
ResetControl();
if (this.radioButtonMonthly.Checked)
{
this.groupBoxSchedule.Visible = true;
this.labelTime.Visible = true;
this.dateTimePickerSched.Visible = true;
this.labelDate.Visible = true;
this.comboBoxDate.Visible = true;
this.groupBoxDesc.Visible = true;
this.labelDescription.Text = string.Format("A disk scan will be run every month on the {0} day at {1}", this.comboBoxDate.SelectedItem, this.dateTimePickerSched.Value.ToShortTimeString());
}
}

private void buttonOk_Click(object sender, EventArgs e)
{
this.Close();
}

private void buttonCancel_Click(object sender, EventArgs e)
{
this.Close();
}


}
}
290 changes: 290 additions & 0 deletions CleanerLite_ver1.1/Analyze.resx

Large diffs are not rendered by default.

187 changes: 187 additions & 0 deletions CleanerLite_ver1.1/FrmAbout.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading