Changeset 101


Ignore:
Timestamp:
02/27/08 08:39:05 (7 years ago)
Author:
lowjoel
Message:

Added the Base panel for UI screens and the Toolbar control

Location:
branches/eraser6/Eraser
Files:
5 added
4 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/Eraser/Eraser.csproj

    r94 r101  
    4444  </ItemGroup> 
    4545  <ItemGroup> 
     46    <Compile Include="BasePanel.cs"> 
     47      <SubType>UserControl</SubType> 
     48    </Compile> 
     49    <Compile Include="BasePanel.Designer.cs"> 
     50      <DependentUpon>BasePanel.cs</DependentUpon> 
     51    </Compile> 
    4652    <Compile Include="MainForm.cs"> 
    4753      <SubType>Form</SubType> 
     
    5864    <Compile Include="Program.cs" /> 
    5965    <Compile Include="Properties\AssemblyInfo.cs" /> 
     66    <EmbeddedResource Include="BasePanel.resx"> 
     67      <SubType>Designer</SubType> 
     68      <DependentUpon>BasePanel.cs</DependentUpon> 
     69    </EmbeddedResource> 
    6070    <EmbeddedResource Include="MainForm.resx"> 
    6171      <SubType>Designer</SubType> 
     
    8595      <DesignTimeSharedInput>True</DesignTimeSharedInput> 
    8696    </Compile> 
     97    <Compile Include="ToolBar.cs"> 
     98      <SubType>Component</SubType> 
     99    </Compile> 
     100    <Compile Include="ToolBar.Designer.cs"> 
     101      <DependentUpon>ToolBar.cs</DependentUpon> 
     102    </Compile> 
    87103  </ItemGroup> 
    88104  <ItemGroup> 
    89     <None Include="Resources\background_layered.bmp" /> 
     105    <Content Include="Resources\BackgroundGradient.bmp" /> 
     106    <None Include="Resources\ToolbarArrow.png" /> 
     107    <None Include="Resources\ToolbarHelp.png" /> 
     108    <None Include="Resources\BackgroundLogo.png" /> 
     109    <Content Include="Resources\ToolbarSchedule.png" /> 
     110    <Content Include="Resources\ToolbarSettings.png" /> 
    90111  </ItemGroup> 
    91112  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> 
  • branches/eraser6/Eraser/MainForm.Designer.cs

    r100 r101  
    2929        private void InitializeComponent() 
    3030        { 
    31             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); 
    3231            this.contentPanel = new System.Windows.Forms.Panel(); 
    3332            this.SuspendLayout(); 
     
    4746            // MainForm 
    4847            //  
    49             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 
    50             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 
     48            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); 
     49            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; 
    5150            this.BackColor = System.Drawing.SystemColors.Control; 
    5251            this.ClientSize = new System.Drawing.Size(766, 538); 
    5352            this.Controls.Add(this.contentPanel); 
     53            this.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 
    5454            this.MinimumSize = new System.Drawing.Size(760, 520); 
    5555            this.Name = "MainForm"; 
     
    6464 
    6565        private System.Windows.Forms.Panel contentPanel; 
     66 
    6667    } 
    6768} 
  • branches/eraser6/Eraser/MainForm.cs

    r100 r101  
    4141            help.Text = "Help"; 
    4242            toolBar.Items.Add(help); 
     43 
     44            (new BasePanel()).Parent = contentPanel; 
    4345        } 
    4446 
  • branches/eraser6/Eraser/Properties/Resources.resx

    r98 r101  
    122122    <value>..\Resources\BackgroundGradient.bmp;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> 
    123123  </data> 
     124  <data name="BackgroundLogo" type="System.Resources.ResXFileRef, System.Windows.Forms"> 
     125    <value>..\Resources\BackgroundLogo.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> 
     126  </data> 
    124127  <data name="ToolbarArrow" type="System.Resources.ResXFileRef, System.Windows.Forms"> 
    125128    <value>..\Resources\ToolbarArrow.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> 
     129  </data> 
     130  <data name="ToolbarHelp" type="System.Resources.ResXFileRef, System.Windows.Forms"> 
     131    <value>..\Resources\ToolbarHelp.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> 
    126132  </data> 
    127133  <data name="ToolbarSchedule" type="System.Resources.ResXFileRef, System.Windows.Forms"> 
Note: See TracChangeset for help on using the changeset viewer.