Upgraded to NUnit 2.4.0
git-svn-id: file:///srv/devel/repo-conversion/nuwi@3 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
ed2eb1443e
commit
f36cfeb68f
|
@ -81,6 +81,22 @@
|
||||||
<XNAUseContentPipeline>false</XNAUseContentPipeline>
|
<XNAUseContentPipeline>false</XNAUseContentPipeline>
|
||||||
<Name>EmbeddedControlCollection</Name>
|
<Name>EmbeddedControlCollection</Name>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="Source\TrackingBar\TrackingBar.cs">
|
||||||
|
<XNAUseContentPipeline>false</XNAUseContentPipeline>
|
||||||
|
<Name>TrackingBar</Name>
|
||||||
|
<SubType>Component</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Source\TrackingBar\TrackingBar.Designer.cs">
|
||||||
|
<DependentUpon>TrackingBar.cs</DependentUpon>
|
||||||
|
<XNAUseContentPipeline>false</XNAUseContentPipeline>
|
||||||
|
<Name>TrackingBar.Designer</Name>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\Nuclex.Support\Nuclex.Support %28PC%29.csproj">
|
||||||
|
<Project>{A696702E-AFAD-45E7-88FA-1E2520E5E746}</Project>
|
||||||
|
<Name>Nuclex.Support %28PC%29</Name>
|
||||||
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
<Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA\Game Studio Express\v1.0\Microsoft.Xna.ContentPipeline.targets" />
|
<Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA\Game Studio Express\v1.0\Microsoft.Xna.ContentPipeline.targets" />
|
||||||
|
|
|
@ -20,7 +20,7 @@ namespace Nuclex.Windows.Forms {
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public partial class ContainerListView : System.Windows.Forms.ListView {
|
public partial class ContainerListView : System.Windows.Forms.ListView {
|
||||||
|
|
||||||
/// <summary>Initialisiert ein neues ListView-Steuerelement</summary>
|
/// <summary>Initializes a new ContainerListView</summary>
|
||||||
public ContainerListView() {
|
public ContainerListView() {
|
||||||
this.embeddedControlClickedHandler = new EventHandler(embeddedControlClicked);
|
this.embeddedControlClickedHandler = new EventHandler(embeddedControlClicked);
|
||||||
|
|
||||||
|
@ -117,13 +117,12 @@ namespace Nuclex.Windows.Forms {
|
||||||
if(subItem >= order.Length)
|
if(subItem >= order.Length)
|
||||||
throw new IndexOutOfRangeException("SubItem " + subItem + " out of range");
|
throw new IndexOutOfRangeException("SubItem " + subItem + " out of range");
|
||||||
|
|
||||||
// Rahmen des gesamten ListViewItems ermitteln, inklusive aller SubItems
|
// Determine the border of the entire ListViewItem, including all sub items
|
||||||
Rectangle itemBounds = item.GetBounds(ItemBoundsPortion.Entire);
|
Rectangle itemBounds = item.GetBounds(ItemBoundsPortion.Entire);
|
||||||
int subItemX = itemBounds.Left;
|
int subItemX = itemBounds.Left;
|
||||||
|
|
||||||
// Horizontale Position des SubItems berechnen
|
// Find the horizontal position of the sub item. Because the column order can vary,
|
||||||
// Da die Spaltenreihenfolge geändert werden kann müssen wir
|
// we need to use Columns[order[i]] instead of simply doing Columns[i] here!
|
||||||
// Columns[order[i]] statt Columns[i] verwenden!
|
|
||||||
ColumnHeader columnHeader;
|
ColumnHeader columnHeader;
|
||||||
int i;
|
int i;
|
||||||
for(i = 0; i < order.Length; ++i) {
|
for(i = 0; i < order.Length; ++i) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user