Commit 3b5cc133 authored by Alexander Dietsch's avatar Alexander Dietsch

Added source and Release Compiled version

parent e7cd88ba
This diff is collapsed.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
</configuration>
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace LWSimulatorGUI
{
public class DoubleBufferedListBox : ListBox
{
public DoubleBufferedListBox()
{
this.SetStyle(
ControlStyles.AllPaintingInWmPaint |
ControlStyles.OptimizedDoubleBuffer, true);
SetStyle(ControlStyles.ResizeRedraw, true);
this.DrawMode = DrawMode.OwnerDrawFixed;
this.DoubleBuffered = true;
}
/*
protected override void OnPaint(PaintEventArgs pe)
{
// we draw the progressbar normally with
// the flags sets to our settings
base.OnPaintBackground(pe);
base.OnPaint(pe);
}
*/
}
}
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{6E1F679B-61C2-438D-8FC7-3DA51A20F9CB}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>LWSimulatorGUI</RootNamespace>
<AssemblyName>LWSimulatorGUI</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>
</ApplicationIcon>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xaml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="UIAutomationProvider" />
<Reference Include="WindowsBase" />
<Reference Include="WindowsFormsIntegration" />
</ItemGroup>
<ItemGroup>
<Compile Include="DoubleBufferedListBox.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="LogWindow.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="LogWindow.Designer.cs">
<DependentUpon>LogWindow.cs</DependentUpon>
</Compile>
<Compile Include="MainGUI.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="MainGUI.Designer.cs">
<DependentUpon>MainGUI.cs</DependentUpon>
</Compile>
<Compile Include="Preferences.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Preferences.Designer.cs">
<DependentUpon>Preferences.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="SimpleGUISimulation.cs" />
<EmbeddedResource Include="LogWindow.resx">
<DependentUpon>LogWindow.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="MainGUI.resx">
<DependentUpon>MainGUI.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Preferences.resx">
<DependentUpon>Preferences.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<SubType>Designer</SubType>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.5.2">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.5.2 %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\..\..\Downloads\SharpDevelop_5.1.0.5134_RC_Source\src\Libraries\AvalonEdit\ICSharpCode.AvalonEdit\ICSharpCode.AvalonEdit.csproj">
<Project>{6c55b776-26d4-4db3-a6ab-87e783b2f3d1}</Project>
<Name>ICSharpCode.AvalonEdit</Name>
</ProjectReference>
<ProjectReference Include="..\..\..\..\..\Downloads\SharpDevelop_5.1.0.5134_RC_Source\src\Libraries\NRefactory\ICSharpCode.NRefactory\ICSharpCode.NRefactory.csproj">
<Project>{3b2a5653-ec97-4001-bb9b-d90f1af2c371}</Project>
<Name>ICSharpCode.NRefactory</Name>
</ProjectReference>
<ProjectReference Include="..\MainLWSimulator\MainLWSimulator.csproj">
<Project>{edb87d7d-56a9-40fa-912f-f2dfc530fa38}</Project>
<Name>MainLWSimulator</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
</PropertyGroup>
<!-- 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.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishUrlHistory>publish\</PublishUrlHistory>
<InstallUrlHistory />
<SupportUrlHistory />
<UpdateUrlHistory />
<BootstrapperUrlHistory />
<ErrorReportUrlHistory />
<FallbackCulture>en-US</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles>
</PropertyGroup>
</Project>
\ No newline at end of file
namespace LWSimulatorGUI
{
partial class LogWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.mSLogMenu = new System.Windows.Forms.MenuStrip();
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.exportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.clearToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.btLogOk = new System.Windows.Forms.Button();
this.mSLogMenu.SuspendLayout();
this.SuspendLayout();
//
// mSLogMenu
//
this.mSLogMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem});
this.mSLogMenu.Location = new System.Drawing.Point(0, 0);
this.mSLogMenu.Name = "mSLogMenu";
this.mSLogMenu.Size = new System.Drawing.Size(368, 24);
this.mSLogMenu.TabIndex = 0;
this.mSLogMenu.Text = "mSLogMenu";
//
// fileToolStripMenuItem
//
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.exportToolStripMenuItem,
this.clearToolStripMenuItem});
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
this.fileToolStripMenuItem.Text = "File";
//
// exportToolStripMenuItem
//
this.exportToolStripMenuItem.Name = "exportToolStripMenuItem";
this.exportToolStripMenuItem.Size = new System.Drawing.Size(107, 22);
this.exportToolStripMenuItem.Text = "Export";
//
// clearToolStripMenuItem
//
this.clearToolStripMenuItem.Name = "clearToolStripMenuItem";
this.clearToolStripMenuItem.Size = new System.Drawing.Size(107, 22);
this.clearToolStripMenuItem.Text = "Clear";
this.clearToolStripMenuItem.Click += new System.EventHandler(this.clearToolStripMenuItem_Click);
//
// btLogOk
//
this.btLogOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btLogOk.Location = new System.Drawing.Point(281, 278);
this.btLogOk.Name = "btLogOk";
this.btLogOk.Size = new System.Drawing.Size(75, 23);
this.btLogOk.TabIndex = 2;
this.btLogOk.Text = "OK";
this.btLogOk.UseVisualStyleBackColor = true;
this.btLogOk.Click += new System.EventHandler(this.btLogOk_Click);
//
// LogWindow
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(368, 313);
this.Controls.Add(this.btLogOk);
this.Controls.Add(this.mSLogMenu);
this.DoubleBuffered = true;
this.MainMenuStrip = this.mSLogMenu;
this.MaximizeBox = false;
this.Name = "LogWindow";
this.ShowIcon = false;
this.Text = "Log";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.LogWindow_FormClosing);
this.mSLogMenu.ResumeLayout(false);
this.mSLogMenu.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.MenuStrip mSLogMenu;
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem exportToolStripMenuItem;
private System.Windows.Forms.ListBox lBLog;
private System.Windows.Forms.Button btLogOk;
private System.Windows.Forms.ToolStripMenuItem clearToolStripMenuItem;
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MainLWSimulator;
namespace LWSimulatorGUI
{
public partial class LogWindow : Form
{
private LWCoordinator simulator;
private volatile LinkedList<string> toAddToLog;
public LogWindow(LWCoordinator simul)
{
InitializeComponent();
//
// lBLog
//
this.lBLog = new LWSimulatorGUI.DoubleBufferedListBox();
this.lBLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lBLog.FormattingEnabled = true;
this.lBLog.Location = new System.Drawing.Point(13, 28);
this.lBLog.Name = "lBLog";
this.lBLog.SelectionMode = System.Windows.Forms.SelectionMode.None;
this.lBLog.Size = new System.Drawing.Size(343, 238);
this.lBLog.TabIndex = 1;
this.lBLog.DrawMode = DrawMode.OwnerDrawFixed;
this.lBLog.DrawItem += lBlog_DrawItem;
this.Controls.Add(this.lBLog);
this.PerformLayout();
simulator = simul;
simulator.setLogFuncs(addLine_Notify, newRun);
toAddToLog = new LinkedList<string>();
#if DEBUG
lBLog.BeginUpdate();
LinkedList<string> addToLog = new LinkedList<string>();
for (int i = 0; i < 100; i++)
addToLog.AddLast("Entry" + i);
lBLog.Items.AddRange(addToLog.ToArray());
lBLog.EndUpdate();
#endif
}
//global brushes with ordinary/selected colors
private SolidBrush lBlogBackgroundBrush = new SolidBrush(Color.White);
private SolidBrush lBlogTextNormalBrush = new SolidBrush(Color.Black);
private SolidBrush lBlogTextErrorBrush = new SolidBrush(Color.Red);
private SolidBrush lBlogTextWarningBrush = new SolidBrush(Color.FromArgb(220,220,0));
//custom method to draw the items, don't forget to set DrawMode of the ListBox to OwnerDrawFixed
private void lBlog_DrawItem(object sender, DrawItemEventArgs e)
{
e.DrawBackground();
int index = e.Index;
int visibleItems = lBLog.ClientSize.Height / lBLog.ItemHeight;
if (index >= lBLog.TopIndex && index < lBLog.TopIndex + visibleItems)
{
string text = lBLog.Items[index].ToString();
Graphics g = e.Graphics;
//background:
g.FillRectangle(lBlogBackgroundBrush, e.Bounds);
//text:
SolidBrush textBrush;
if (text.StartsWith("ERROR: "))
textBrush = lBlogTextErrorBrush;
else if(text.StartsWith("WARNING: "))
textBrush = lBlogTextWarningBrush;
else
textBrush = lBlogTextNormalBrush;
g.DrawString(text, e.Font, textBrush, lBLog.GetItemRectangle(index).Location);
}
e.DrawFocusRectangle();
}
/// <summary>
/// Event Handler when the Form is closing.
/// Simply hides the form if user closes it.
/// </summary>
/// <param name="sender">Sender of the event</param>
/// <param name="e">Arguments of the type <see cref="FormClosingEventArgs">FormClosingEventArgs</see></param>
private void LogWindow_FormClosing(object sender, FormClosingEventArgs e)
{
if (e.CloseReason != CloseReason.UserClosing) return;
e.Cancel = true;
this.Hide();
}
/// <summary>
/// Event Handler when the OK Button is clicked.
/// Simply hides the form.
/// </summary>
/// <param name="sender">Sender of the event</param>
/// <param name="e">Arguments of the type <see cref="EventArgs">EventArgs</see></param>
private void btLogOk_Click(object sender, EventArgs e)
{
this.Hide();
}
/// <summary>
/// Event Handler when "Clear" is clicked in the menu Strip.
/// Clears the listBox.
/// </summary>
/// <param name="sender">Sender of the event</param>
/// <param name="e">Arguments of the type <see cref="EventArgs">EventArgs</see></param>
private void clearToolStripMenuItem_Click(object sender, EventArgs e)
{
lBLog.Items.Clear();
}
/// <summary>
/// Called on a new run.
/// If set in options Log clears itself.
/// </summary>
private void newRun()
{
if (InvokeRequired)
this.Invoke((MethodInvoker)delegate
{
newRun();
});
else if (simulator.getOptionVal("clearLog") != 0)
lBLog.Items.Clear();
}
/// <summary>
/// Called by the simulator.
/// Makes the GUI add a line.
/// </summary>
/// <param name="line">The line to be added.</param>
internal void addLine_Notify(string line)
{
if (line.StartsWith("WARNING") || line.StartsWith("ERROR"))
if(simulator.getOptionVal("advancedLog") == 0)
return;
lock(toAddToLog)
{
if (toAddToLog.Count >= simulator.getOptionVal("maxLogLines"))
toAddToLog.RemoveFirst();
toAddToLog.AddLast(line);
}
if (InvokeRequired)
this.Invoke((MethodInvoker)delegate
{
addLines();
});
else
addLines();
}
/// <summary>
/// Adds lines to the log fomr the linked list. Removes first line if the log is at its full capacity.
/// Always scrolls to the bottom.
/// </summary>
/// <param name="line">The line to be added.</param>
private void addLines()
{
lock(toAddToLog)
{
if (toAddToLog.Count > 0)
{
int visibleItems = lBLog.ClientSize.Height / lBLog.ItemHeight;
bool goToBottom = (lBLog.Items.Count - visibleItems <= lBLog.TopIndex);
lBLog.BeginUpdate();
lBLog.Items.AddRange(toAddToLog.ToArray());
toAddToLog.Clear();
for(int i = lBLog.Items.Count; i >= simulator.getOptionVal("maxLogLines"); i--)
{
lBLog.Items.RemoveAt(0);
}
if(goToBottom)
lBLog.TopIndex = Math.Max(lBLog.Items.Count - visibleItems + 1, 0);
lBLog.EndUpdate();
}
}
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />