From 1ef4964589e409da57703fe68a202993b60315ac Mon Sep 17 00:00:00 2001 From: sr55 Date: Thu, 4 Oct 2007 22:33:58 +0000 Subject: WinGui: -Code to expire development builds -New show/hide options for the new preset system. -Few bug fixes. -Updated Installer git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1000 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/frmOptions.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'win/C#/frmOptions.cs') diff --git a/win/C#/frmOptions.cs b/win/C#/frmOptions.cs index cb5c73eb6..fe54d22a5 100644 --- a/win/C#/frmOptions.cs +++ b/win/C#/frmOptions.cs @@ -43,6 +43,11 @@ namespace Handbrake { check_tooltip.CheckState = CheckState.Checked; } + + if (Properties.Settings.Default.showPresets == "Checked") + { + check_showPreset.CheckState = CheckState.Checked; + } } private void check_updateCheck_CheckedChanged(object sender, EventArgs e) @@ -89,6 +94,11 @@ namespace Handbrake private void drp_completeOption_SelectedIndexChanged(object sender, EventArgs e) { Properties.Settings.Default.CompletionOption = drp_completeOption.Text; + } + + private void check_showPreset_CheckedChanged(object sender, EventArgs e) + { + Properties.Settings.Default.showPresets = check_showPreset.CheckState.ToString(); } -- cgit v1.2.3