Permalink
Browse files

Fixed a bug where "checked=false" was not getting written back to the…

… applist

Fixed horrendous tab order on the add application dialog
  • Loading branch information...
1 parent 1e6fc4b commit 3c67ae3399d315f499ea7cfb16a1a578cf3c6b25 @philc committed Oct 24, 2006
Showing with 28 additions and 26 deletions.
  1. +4 −2 InstallPad.csproj
  2. +21 −21 src/ApplicationDialog.Designer.cs
  3. +1 −1 src/ApplicationItem.cs
  4. +2 −2 src/ControlList.cs
View
@@ -9,8 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>InstallPad</RootNamespace>
<AssemblyName>InstallPad</AssemblyName>
- <ApplicationIcon>
- </ApplicationIcon>
+ <ApplicationIcon>icon.ico</ApplicationIcon>
<TargetZone>LocalIntranet</TargetZone>
<GenerateManifests>false</GenerateManifests>
</PropertyGroup>
@@ -205,6 +204,9 @@
<ItemGroup>
<None Include="data\images\about-logo.png" />
</ItemGroup>
+ <ItemGroup>
+ <Content Include="icon.ico" />
+ </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Oops, something went wrong.
@@ -428,7 +428,7 @@ public void WriteXml(XmlWriter writer)
// Only write if there is an option set. This could be more elegant.
if ((InstallerArguments != null && InstallerArguments.Length > 0) ||
(PostInstallScript != null && PostInstallScript.Length > 0) ||
- this.SilentInstall || this.DownloadLatestVersion)
+ this.SilentInstall || this.DownloadLatestVersion || !this.Checked)
{
writer.WriteStartElement("Options");
View
@@ -328,9 +328,9 @@ protected void AlternateColorsOfEntries()
Color targetColor;
// Rows that are divisble by two are colored
if (this.tableLayout.GetRow(control) % 2 == 0)
- targetColor = alternatingColor;
+ targetColor = Color.Transparent;
else
- targetColor=Color.Transparent;
+ targetColor=alternatingColor;
if (control.BackColor != targetColor)
control.BackColor = targetColor;

0 comments on commit 3c67ae3

Please sign in to comment.