Résolu
Interface graphique avec PS v7
- Laurent Dardenne
- Hors Ligne
- Modérateur
Réduire
Plus d'informations
- Messages : 6302
- Remerciements reçus 68
il y a 1 an 9 mois #32409
par Laurent Dardenne
Tutoriels PowerShell
Réponse de Laurent Dardenne sur le sujet Interface graphique avec PS v7
>>Si c'est plus simple pour toi, je peux t'envoyer les fichiers XAML.
Oui je peux regarder rapido, As-tu vérifié l'encodage du XML ?
>>Est-ce qu'il y aurait des éléments XAML qui ne seraient pas gérés par PS v7 ?
Je ne sais pas, La pile d'appel de l'exception ( Exception.innerxception... ) peut contenir une référence à la ligne du XAML en cause, l'as-tu vérifié ?
Tu peux aussi vérifier la structure du XAML avec Visual Studio Community.
Oui je peux regarder rapido, As-tu vérifié l'encodage du XML ?
>>Est-ce qu'il y aurait des éléments XAML qui ne seraient pas gérés par PS v7 ?
Je ne sais pas, La pile d'appel de l'exception ( Exception.innerxception... ) peut contenir une référence à la ligne du XAML en cause, l'as-tu vérifié ?
Tu peux aussi vérifier la structure du XAML avec Visual Studio Community.
Tutoriels PowerShell
Connexion ou Créer un compte pour participer à la conversation.
- Guillaume
- Auteur du sujet
- Hors Ligne
- Membre premium
Réduire
Plus d'informations
- Messages : 116
- Remerciements reçus 0
il y a 1 an 9 mois #32410
par Guillaume
Et ça a donné ça :
Réponse de Guillaume sur le sujet Interface graphique avec PS v7
Je ne sais pas si c'est ce qui était demandé mais j'ai fait ça :Ensuite d'enregistrer l'exception sur disque ( $_|Export-Clixml "FileSystem::$xmlFile") permet d'avoir tous les détails hors contexte et on peut la recharger à volonté.
$Global:Affichage = [Windows.Markup.XamlReader]::Load((New-Object System.Xml.XmlNodeReader $Interface))
$xmlFile = "C:\Test\script.xml"
$Global:Affichage | Export-Clixml "FileSystem::$xmlFile"
Attention : Spoiler !
<Objs Version="1.1.0.1" xmlns="schemas.microsoft.com/powershell/2004/04">
<Obj RefId="0">
<TN RefId="0">
<T>System.Windows.Window</T>
<T>System.Windows.Controls.ContentControl</T>
<T>System.Windows.Controls.Control</T>
<T>System.Windows.FrameworkElement</T>
<T>System.Windows.UIElement</T>
<T>System.Windows.Media.Visual</T>
<T>System.Windows.DependencyObject</T>
<T>System.Windows.Threading.DispatcherObject</T>
<T>System.Object</T>
</TN>
<ToString>System.Windows.Window</ToString>
<Props>
<Nil N="TaskbarItemInfo" />
<B N="AllowsTransparency">false</B>
<S N="Title">"Admin SI"</S>
<Nil N="Icon" />
<Obj N="SizeToContent" RefId="1">
<TN RefId="1">
<T>System.Windows.SizeToContent</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Manual</ToString>
<I32>0</I32>
</Obj>
<Db N="Top">NaN</Db>
<Db N="Left">NaN</Db>
<Obj N="RestoreBounds" RefId="2">
<TN RefId="2">
<T>System.Windows.Rect</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Empty</ToString>
<Props>
<B N="IsEmpty">true</B>
<S N="Location">Infinity,Infinity</S>
<S N="Size">Empty</S>
<Db N="X">INF</Db>
<Db N="Y">INF</Db>
<Db N="Width">-INF</Db>
<Db N="Height">-INF</Db>
<Db N="Left">INF</Db>
<Db N="Top">INF</Db>
<Db N="Right">-INF</Db>
<Db N="Bottom">-INF</Db>
<S N="TopLeft">Infinity,Infinity</S>
<S N="TopRight">-Infinity,Infinity</S>
<S N="BottomLeft">Infinity,-Infinity</S>
<S N="BottomRight">-Infinity,-Infinity</S>
</Props>
</Obj>
<Obj N="WindowStartupLocation" RefId="3">
<TN RefId="3">
<T>System.Windows.WindowStartupLocation</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>CenterScreen</ToString>
<I32>1</I32>
</Obj>
<B N="ShowInTaskbar">true</B>
<B N="IsActive">false</B>
<Nil N="Owner" />
<Obj N="OwnedWindows" RefId="4">
<TN RefId="4">
<T>System.Windows.WindowCollection</T>
<T>System.Object</T>
</TN>
<IE />
<Props>
<I32 N="Count">0</I32>
<B N="IsSynchronized">false</B>
<S N="SyncRoot">System.Object</S>
</Props>
</Obj>
<Nil N="DialogResult" />
<Obj N="WindowStyle" RefId="5">
<TN RefId="5">
<T>System.Windows.WindowStyle</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>SingleBorderWindow</ToString>
<I32>1</I32>
</Obj>
<Obj N="WindowState" RefId="6">
<TN RefId="6">
<T>System.Windows.WindowState</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Normal</ToString>
<I32>0</I32>
</Obj>
<Obj N="ResizeMode" RefId="7">
<TN RefId="7">
<T>System.Windows.ResizeMode</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>CanMinimize</ToString>
<I32>1</I32>
</Obj>
<B N="Topmost">false</B>
<B N="ShowActivated">true</B>
<Obj N="Content" RefId="8">
<TN RefId="8">
<T>System.Windows.Controls.Grid</T>
<T>System.Windows.Controls.Panel</T>
<T>System.Windows.FrameworkElement</T>
<T>System.Windows.UIElement</T>
<T>System.Windows.Media.Visual</T>
<T>System.Windows.DependencyObject</T>
<T>System.Windows.Threading.DispatcherObject</T>
<T>System.Object</T>
</TN>
<ToString>System.Windows.Controls.Grid</ToString>
<Props>
<B N="ShowGridLines">false</B>
<Obj N="ColumnDefinitions" RefId="9">
<TN RefId="9">
<T>System.Windows.Controls.ColumnDefinitionCollection</T>
<T>System.Object</T>
</TN>
<LST />
</Obj>
<Obj N="RowDefinitions" RefId="10">
<TN RefId="10">
<T>System.Windows.Controls.RowDefinitionCollection</T>
<T>System.Object</T>
</TN>
<LST />
</Obj>
<Nil N="Background" />
<Obj N="Children" RefId="11">
<TN RefId="11">
<T>System.Windows.Controls.UIElementCollection</T>
<T>System.Object</T>
</TN>
<LST>
<S>System.Windows.Controls.Separator</S>
<S>System.Windows.Controls.Image</S>
<S>System.Windows.Controls.Button: Infos</S>
<S>System.Windows.Controls.Image</S>
<S>System.Windows.Controls.Button: Paramètres</S>
<S>System.Windows.Controls.Image</S>
<S>System.Windows.Controls.Button: Version 4.3</S>
<S>System.Windows.Controls.TabControl Items.Count : 2</S>
</LST>
</Obj>
<B N="IsItemsHost">false</B>
<S N="LogicalOrientationPublic">Vertical</S>
<B N="HasLogicalOrientationPublic">false</B>
<Nil N="Style" />
<B N="OverridesDefaultStyle">false</B>
<B N="UseLayoutRounding">false</B>
<Obj N="Triggers" RefId="12">
<TN RefId="12">
<T>System.Windows.TriggerCollection</T>
<T>System.Collections.ObjectModel.Collection`1System.Windows.TriggerBase, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</T>
<T>System.Object</T>
</TN>
<LST />
</Obj>
<Nil N="TemplatedParent" />
<Obj N="Resources" RefId="13">
<TN RefId="13">
<T>System.Windows.ResourceDictionary</T>
<T>System.Object</T>
</TN>
<DCT />
</Obj>
<Nil N="DataContext" />
<Nil N="BindingGroup" />
<S N="Language">en-us</S>
<S N="Name"></S>
<Nil N="Tag" />
<Nil N="InputScope" />
<Db N="ActualWidth">0</Db>
<Db N="ActualHeight">0</Db>
<S N="LayoutTransform">Identity</S>
<Db N="Width">NaN</Db>
<Db N="MinWidth">0</Db>
<Db N="MaxWidth">INF</Db>
<Db N="Height">NaN</Db>
<Db N="MinHeight">0</Db>
<Db N="MaxHeight">INF</Db>
<S N="FlowDirection">LeftToRight</S>
<S N="Margin">0,0,0,0</S>
<S N="HorizontalAlignment">Stretch</S>
<S N="VerticalAlignment">Stretch</S>
<S N="FocusVisualStyle">System.Windows.Style</S>
<Nil N="Cursor" />
<B N="ForceCursor">false</B>
<B N="IsInitialized">true</B>
<B N="IsLoaded">false</B>
<Nil N="ToolTip" />
<Nil N="ContextMenu" />
<S N="Parent">System.Windows.Window</S>
<B N="HasAnimatedProperties">false</B>
<Obj N="InputBindings" RefId="14">
<TN RefId="14">
<T>System.Windows.Input.InputBindingCollection</T>
<T>System.Object</T>
</TN>
<LST />
</Obj>
<Obj N="CommandBindings" RefId="15">
<TN RefId="15">
<T>System.Windows.Input.CommandBindingCollection</T>
<T>System.Object</T>
</TN>
<LST />
</Obj>
<B N="AllowDrop">false</B>
<S N="DesiredSize">0,0</S>
<B N="IsMeasureValid">false</B>
<B N="IsArrangeValid">false</B>
<S N="RenderSize">0,0</S>
<S N="RenderTransform">Identity</S>
<S N="RenderTransformOrigin">0,0</S>
<B N="IsMouseDirectlyOver">false</B>
<B N="IsMouseOver">false</B>
<B N="IsStylusOver">false</B>
<B N="IsKeyboardFocusWithin">false</B>
<B N="IsMouseCaptured">false</B>
<B N="IsMouseCaptureWithin">false</B>
<B N="IsStylusDirectlyOver">false</B>
<B N="IsStylusCaptured">false</B>
<B N="IsStylusCaptureWithin">false</B>
<B N="IsKeyboardFocused">false</B>
<B N="IsInputMethodEnabled">true</B>
<Db N="Opacity">1</Db>
<Nil N="OpacityMask" />
<Nil N="BitmapEffect" />
<Nil N="Effect" />
<Nil N="BitmapEffectInput" />
<Nil N="CacheMode" />
<S N="Uid"></S>
<S N="Visibility">Visible</S>
<B N="ClipToBounds">false</B>
<Nil N="Clip" />
<B N="SnapsToDevicePixels">false</B>
<B N="IsFocused">false</B>
<B N="IsEnabled">true</B>
<B N="IsHitTestVisible">true</B>
<B N="IsVisible">false</B>
<B N="Focusable">false</B>
<I32 N="PersistId">2</I32>
<B N="IsManipulationEnabled">false</B>
<B N="AreAnyTouchesOver">false</B>
<B N="AreAnyTouchesDirectlyOver">false</B>
<B N="AreAnyTouchesCapturedWithin">false</B>
<B N="AreAnyTouchesCaptured">false</B>
<Obj N="TouchesCaptured" RefId="16">
<TN RefId="16">
<T>System.Collections.Generic.List`1System.Windows.Input.TouchDevice, PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</T>
<T>System.Object</T>
</TN>
<LST />
</Obj>
<Obj N="TouchesCapturedWithin" RefId="17">
<TNRef RefId="16" />
<LST />
</Obj>
<Obj N="TouchesOver" RefId="18">
<TNRef RefId="16" />
<LST />
</Obj>
<Obj N="TouchesDirectlyOver" RefId="19">
<TNRef RefId="16" />
<LST />
</Obj>
<S N="DependencyObjectType">System.Windows.DependencyObjectType</S>
<B N="IsSealed">false</B>
<S N="Dispatcher">System.Windows.Threading.Dispatcher</S>
</Props>
</Obj>
<B N="HasContent">true</B>
<Nil N="ContentTemplate" />
<Nil N="ContentTemplateSelector" />
<Nil N="ContentStringFormat" />
<Nil N="BorderBrush" />
<Obj N="BorderThickness" RefId="20">
<TN RefId="17">
<T>System.Windows.Thickness</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>0,0,0,0</ToString>
<Props>
<Db N="Left">0</Db>
<Db N="Top">0</Db>
<Db N="Right">0</Db>
<Db N="Bottom">0</Db>
</Props>
</Obj>
<Obj N="Background" RefId="21">
<TN RefId="18">
<T>System.Windows.Media.SolidColorBrush</T>
<T>System.Windows.Media.Brush</T>
<T>System.Windows.Media.Animation.Animatable</T>
<T>System.Windows.Freezable</T>
<T>System.Windows.DependencyObject</T>
<T>System.Windows.Threading.DispatcherObject</T>
<T>System.Object</T>
</TN>
<ToString>#FFFFFFFF</ToString>
<Props>
<S N="Color">#FFFFFFFF</S>
<Db N="Opacity">1</Db>
<S N="Transform">Identity</S>
<S N="RelativeTransform">Identity</S>
<B N="HasAnimatedProperties">false</B>
<B N="CanFreeze">true</B>
<B N="IsFrozen">true</B>
<S N="DependencyObjectType">System.Windows.DependencyObjectType</S>
<B N="IsSealed">true</B>
<Nil N="Dispatcher" />
</Props>
</Obj>
<Obj N="Foreground" RefId="22">
<TNRef RefId="18" />
<ToString>#FF000000</ToString>
<Props>
<S N="Color">#FF000000</S>
<Db N="Opacity">1</Db>
<S N="Transform">Identity</S>
<S N="RelativeTransform">Identity</S>
<B N="HasAnimatedProperties">false</B>
<B N="CanFreeze">true</B>
<B N="IsFrozen">true</B>
<S N="DependencyObjectType">System.Windows.DependencyObjectType</S>
<B N="IsSealed">true</B>
<Nil N="Dispatcher" />
</Props>
</Obj>
<Obj N="FontFamily" RefId="23">
<TN RefId="19">
<T>System.Windows.Media.FontFamily</T>
<T>System.Object</T>
</TN>
<ToString>Segoe UI</ToString>
<Props>
<Obj N="FamilyNames" RefId="24">
<TN RefId="20">
<T>System.Windows.Media.LanguageSpecificStringDictionary</T>
<T>System.Object</T>
</TN>
<DCT>
<En>
<S N="Key">en-us</S>
<S N="Value">Segoe UI</S>
</En>
</DCT>
</Obj>
<Obj N="FamilyTypefaces" RefId="25">
<TN RefId="21">
<T>System.Windows.Media.FamilyTypefaceCollection</T>
<T>System.Object</T>
</TN>
<LST>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
</LST>
</Obj>
<Obj N="FamilyMaps" RefId="26">
<TN RefId="22">
<T>System.Windows.Media.FontFamilyMapCollection</T>
<T>System.Object</T>
</TN>
<LST />
</Obj>
<S N="Source">Segoe UI</S>
<Nil N="BaseUri" />
<Db N="Baseline">1.0791015625</Db>
<Db N="LineSpacing">1.330078125</Db>
</Props>
</Obj>
<Db N="FontSize">12</Db>
<Obj N="FontStretch" RefId="27">
<TN RefId="23">
<T>System.Windows.FontStretch</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Normal</ToString>
</Obj>
<Obj N="FontStyle" RefId="28">
<TN RefId="24">
<T>System.Windows.FontStyle</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Normal</ToString>
</Obj>
<Obj N="FontWeight" RefId="29">
<TN RefId="25">
<T>System.Windows.FontWeight</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Normal</ToString>
</Obj>
<Obj N="HorizontalContentAlignment" RefId="30">
<TN RefId="26">
<T>System.Windows.HorizontalAlignment</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Center</ToString>
<I32>1</I32>
</Obj>
<Obj N="VerticalContentAlignment" RefId="31">
<TN RefId="27">
<T>System.Windows.VerticalAlignment</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Center</ToString>
<I32>1</I32>
</Obj>
<I32 N="TabIndex">2147483647</I32>
<B N="IsTabStop">false</B>
<Obj N="Padding" RefId="32">
<TNRef RefId="17" />
<ToString>0,0,0,0</ToString>
<Props>
<Db N="Left">0</Db>
<Db N="Top">0</Db>
<Db N="Right">0</Db>
<Db N="Bottom">0</Db>
</Props>
</Obj>
<Obj N="Template" RefId="33">
<TN RefId="28">
<T>System.Windows.Controls.ControlTemplate</T>
<T>System.Windows.FrameworkTemplate</T>
<T>System.Windows.Threading.DispatcherObject</T>
<T>System.Object</T>
</TN>
<ToString>System.Windows.Controls.ControlTemplate</ToString>
<Props>
<S N="TargetType">System.Windows.Window</S>
<Obj N="Triggers" RefId="34">
<TNRef RefId="12" />
<LST />
</Obj>
<B N="IsSealed">true</B>
<Nil N="VisualTree" />
<S N="Template">System.Windows.TemplateContent</S>
<Obj N="Resources" RefId="35">
<TNRef RefId="13" />
<DCT />
</Obj>
<B N="HasContent">true</B>
<Nil N="Dispatcher" />
</Props>
</Obj>
<Nil N="Style" />
<B N="OverridesDefaultStyle">false</B>
<B N="UseLayoutRounding">false</B>
<Obj N="Triggers" RefId="36">
<TNRef RefId="12" />
<LST />
</Obj>
<Nil N="TemplatedParent" />
<Obj N="Resources" RefId="37">
<TNRef RefId="13" />
<DCT />
</Obj>
<Nil N="DataContext" />
<Nil N="BindingGroup" />
<Obj N="Language" RefId="38">
<TN RefId="29">
<T>System.Windows.Markup.XmlLanguage</T>
<T>System.Object</T>
</TN>
<ToString>en-us</ToString>
<Props>
<S N="IetfLanguageTag">en-us</S>
</Props>
</Obj>
<S N="Name">Interface</S>
<Nil N="Tag" />
<Nil N="InputScope" />
<Db N="ActualWidth">0</Db>
<Db N="ActualHeight">0</Db>
<Obj N="LayoutTransform" RefId="39">
<TN RefId="30">
<T>System.Windows.Media.MatrixTransform</T>
<T>System.Windows.Media.Transform</T>
<T>System.Windows.Media.GeneralTransform</T>
<T>System.Windows.Media.Animation.Animatable</T>
<T>System.Windows.Freezable</T>
<T>System.Windows.DependencyObject</T>
<T>System.Windows.Threading.DispatcherObject</T>
<T>System.Object</T>
</TN>
<ToString>Identity</ToString>
<Props>
<S N="Matrix">Identity</S>
<S N="Value">Identity</S>
<S N="Inverse">Identity</S>
<B N="HasAnimatedProperties">false</B>
<B N="CanFreeze">true</B>
<B N="IsFrozen">true</B>
<S N="DependencyObjectType">System.Windows.DependencyObjectType</S>
<B N="IsSealed">true</B>
<Nil N="Dispatcher" />
</Props>
</Obj>
<Db N="Width">1132</Db>
<Db N="MinWidth">0</Db>
<Db N="MaxWidth">INF</Db>
<Db N="Height">945</Db>
<Db N="MinHeight">0</Db>
<Db N="MaxHeight">INF</Db>
<Obj N="FlowDirection" RefId="40">
<TN RefId="31">
<T>System.Windows.FlowDirection</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>LeftToRight</ToString>
<I32>0</I32>
</Obj>
<Obj N="Margin" RefId="41">
<TNRef RefId="17" />
<ToString>0,0,0,0</ToString>
<Props>
<Db N="Left">0</Db>
<Db N="Top">0</Db>
<Db N="Right">0</Db>
<Db N="Bottom">0</Db>
</Props>
</Obj>
<Obj N="HorizontalAlignment" RefId="42">
<TNRef RefId="26" />
<ToString>Center</ToString>
<I32>1</I32>
</Obj>
<Obj N="VerticalAlignment" RefId="43">
<TNRef RefId="27" />
<ToString>Center</ToString>
<I32>1</I32>
</Obj>
<Obj N="FocusVisualStyle" RefId="44">
<TN RefId="32">
<T>System.Windows.Style</T>
<T>System.Windows.Threading.DispatcherObject</T>
<T>System.Object</T>
</TN>
<ToString>System.Windows.Style</ToString>
<Props>
<B N="IsSealed">true</B>
<S N="TargetType">System.Windows.IFrameworkInputElement</S>
<Nil N="BasedOn" />
<Obj N="Triggers" RefId="45">
<TNRef RefId="12" />
<LST />
</Obj>
<Obj N="Setters" RefId="46">
<TN RefId="33">
<T>System.Windows.SetterBaseCollection</T>
<T>System.Collections.ObjectModel.Collection`1System.Windows.SetterBase, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</T>
<T>System.Object</T>
</TN>
<LST />
</Obj>
<Obj N="Resources" RefId="47">
<TNRef RefId="13" />
<DCT />
</Obj>
<Nil N="Dispatcher" />
</Props>
</Obj>
<Nil N="Cursor" />
<B N="ForceCursor">false</B>
<B N="IsInitialized">true</B>
<B N="IsLoaded">false</B>
<Nil N="ToolTip" />
<Nil N="ContextMenu" />
<Nil N="Parent" />
<B N="HasAnimatedProperties">false</B>
<Obj N="InputBindings" RefId="48">
<TNRef RefId="14" />
<LST />
</Obj>
<Obj N="CommandBindings" RefId="49">
<TNRef RefId="15" />
<LST />
</Obj>
<B N="AllowDrop">false</B>
<Obj N="DesiredSize" RefId="50">
<TN RefId="34">
<T>System.Windows.Size</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>0,0</ToString>
<Props>
<B N="IsEmpty">false</B>
<Db N="Width">0</Db>
<Db N="Height">0</Db>
</Props>
</Obj>
<B N="IsMeasureValid">false</B>
<B N="IsArrangeValid">false</B>
<Obj N="RenderSize" RefId="51">
<TNRef RefId="34" />
<ToString>0,0</ToString>
<Props>
<B N="IsEmpty">false</B>
<Db N="Width">0</Db>
<Db N="Height">0</Db>
</Props>
</Obj>
<Ref N="RenderTransform" RefId="39" />
<Obj N="RenderTransformOrigin" RefId="52">
<TN RefId="35">
<T>System.Windows.Point</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>0,0</ToString>
<Props>
<Db N="X">0</Db>
<Db N="Y">0</Db>
</Props>
</Obj>
<B N="IsMouseDirectlyOver">false</B>
<B N="IsMouseOver">false</B>
<B N="IsStylusOver">false</B>
<B N="IsKeyboardFocusWithin">false</B>
<B N="IsMouseCaptured">false</B>
<B N="IsMouseCaptureWithin">false</B>
<B N="IsStylusDirectlyOver">false</B>
<B N="IsStylusCaptured">false</B>
<B N="IsStylusCaptureWithin">false</B>
<B N="IsKeyboardFocused">false</B>
<B N="IsInputMethodEnabled">true</B>
<Db N="Opacity">1</Db>
<Nil N="OpacityMask" />
<Nil N="BitmapEffect" />
<Nil N="Effect" />
<Nil N="BitmapEffectInput" />
<Nil N="CacheMode" />
<S N="Uid"></S>
<Obj N="Visibility" RefId="53">
<TN RefId="36">
<T>System.Windows.Visibility</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Collapsed</ToString>
<By>2</By>
</Obj>
<B N="ClipToBounds">false</B>
<Nil N="Clip" />
<B N="SnapsToDevicePixels">false</B>
<B N="IsFocused">false</B>
<B N="IsEnabled">true</B>
<B N="IsHitTestVisible">true</B>
<B N="IsVisible">false</B>
<B N="Focusable">true</B>
<I32 N="PersistId">1</I32>
<B N="IsManipulationEnabled">false</B>
<B N="AreAnyTouchesOver">false</B>
<B N="AreAnyTouchesDirectlyOver">false</B>
<B N="AreAnyTouchesCapturedWithin">false</B>
<B N="AreAnyTouchesCaptured">false</B>
<Obj N="TouchesCaptured" RefId="54">
<TNRef RefId="16" />
<LST />
</Obj>
<Obj N="TouchesCapturedWithin" RefId="55">
<TNRef RefId="16" />
<LST />
</Obj>
<Obj N="TouchesOver" RefId="56">
<TNRef RefId="16" />
<LST />
</Obj>
<Obj N="TouchesDirectlyOver" RefId="57">
<TNRef RefId="16" />
<LST />
</Obj>
<Obj N="DependencyObjectType" RefId="58">
<TN RefId="37">
<T>System.Windows.DependencyObjectType</T>
<T>System.Object</T>
</TN>
<ToString>System.Windows.DependencyObjectType</ToString>
<Props>
<I32 N="Id">6</I32>
<S N="SystemType">System.Windows.Window</S>
<S N="BaseType">System.Windows.DependencyObjectType</S>
<S N="Name">Window</S>
</Props>
</Obj>
<B N="IsSealed">false</B>
<Obj N="Dispatcher" RefId="59">
<TN RefId="38">
<T>System.Windows.Threading.Dispatcher</T>
<T>System.Object</T>
</TN>
<ToString>System.Windows.Threading.Dispatcher</ToString>
<Props>
<S N="Thread">System.Threading.Thread</S>
<B N="HasShutdownStarted">false</B>
<B N="HasShutdownFinished">false</B>
<S N="Hooks">System.Windows.Threading.DispatcherHooks</S>
</Props>
</Obj>
</Props>
</Obj>
</Objs>
<Obj RefId="0">
<TN RefId="0">
<T>System.Windows.Window</T>
<T>System.Windows.Controls.ContentControl</T>
<T>System.Windows.Controls.Control</T>
<T>System.Windows.FrameworkElement</T>
<T>System.Windows.UIElement</T>
<T>System.Windows.Media.Visual</T>
<T>System.Windows.DependencyObject</T>
<T>System.Windows.Threading.DispatcherObject</T>
<T>System.Object</T>
</TN>
<ToString>System.Windows.Window</ToString>
<Props>
<Nil N="TaskbarItemInfo" />
<B N="AllowsTransparency">false</B>
<S N="Title">"Admin SI"</S>
<Nil N="Icon" />
<Obj N="SizeToContent" RefId="1">
<TN RefId="1">
<T>System.Windows.SizeToContent</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Manual</ToString>
<I32>0</I32>
</Obj>
<Db N="Top">NaN</Db>
<Db N="Left">NaN</Db>
<Obj N="RestoreBounds" RefId="2">
<TN RefId="2">
<T>System.Windows.Rect</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Empty</ToString>
<Props>
<B N="IsEmpty">true</B>
<S N="Location">Infinity,Infinity</S>
<S N="Size">Empty</S>
<Db N="X">INF</Db>
<Db N="Y">INF</Db>
<Db N="Width">-INF</Db>
<Db N="Height">-INF</Db>
<Db N="Left">INF</Db>
<Db N="Top">INF</Db>
<Db N="Right">-INF</Db>
<Db N="Bottom">-INF</Db>
<S N="TopLeft">Infinity,Infinity</S>
<S N="TopRight">-Infinity,Infinity</S>
<S N="BottomLeft">Infinity,-Infinity</S>
<S N="BottomRight">-Infinity,-Infinity</S>
</Props>
</Obj>
<Obj N="WindowStartupLocation" RefId="3">
<TN RefId="3">
<T>System.Windows.WindowStartupLocation</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>CenterScreen</ToString>
<I32>1</I32>
</Obj>
<B N="ShowInTaskbar">true</B>
<B N="IsActive">false</B>
<Nil N="Owner" />
<Obj N="OwnedWindows" RefId="4">
<TN RefId="4">
<T>System.Windows.WindowCollection</T>
<T>System.Object</T>
</TN>
<IE />
<Props>
<I32 N="Count">0</I32>
<B N="IsSynchronized">false</B>
<S N="SyncRoot">System.Object</S>
</Props>
</Obj>
<Nil N="DialogResult" />
<Obj N="WindowStyle" RefId="5">
<TN RefId="5">
<T>System.Windows.WindowStyle</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>SingleBorderWindow</ToString>
<I32>1</I32>
</Obj>
<Obj N="WindowState" RefId="6">
<TN RefId="6">
<T>System.Windows.WindowState</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Normal</ToString>
<I32>0</I32>
</Obj>
<Obj N="ResizeMode" RefId="7">
<TN RefId="7">
<T>System.Windows.ResizeMode</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>CanMinimize</ToString>
<I32>1</I32>
</Obj>
<B N="Topmost">false</B>
<B N="ShowActivated">true</B>
<Obj N="Content" RefId="8">
<TN RefId="8">
<T>System.Windows.Controls.Grid</T>
<T>System.Windows.Controls.Panel</T>
<T>System.Windows.FrameworkElement</T>
<T>System.Windows.UIElement</T>
<T>System.Windows.Media.Visual</T>
<T>System.Windows.DependencyObject</T>
<T>System.Windows.Threading.DispatcherObject</T>
<T>System.Object</T>
</TN>
<ToString>System.Windows.Controls.Grid</ToString>
<Props>
<B N="ShowGridLines">false</B>
<Obj N="ColumnDefinitions" RefId="9">
<TN RefId="9">
<T>System.Windows.Controls.ColumnDefinitionCollection</T>
<T>System.Object</T>
</TN>
<LST />
</Obj>
<Obj N="RowDefinitions" RefId="10">
<TN RefId="10">
<T>System.Windows.Controls.RowDefinitionCollection</T>
<T>System.Object</T>
</TN>
<LST />
</Obj>
<Nil N="Background" />
<Obj N="Children" RefId="11">
<TN RefId="11">
<T>System.Windows.Controls.UIElementCollection</T>
<T>System.Object</T>
</TN>
<LST>
<S>System.Windows.Controls.Separator</S>
<S>System.Windows.Controls.Image</S>
<S>System.Windows.Controls.Button: Infos</S>
<S>System.Windows.Controls.Image</S>
<S>System.Windows.Controls.Button: Paramètres</S>
<S>System.Windows.Controls.Image</S>
<S>System.Windows.Controls.Button: Version 4.3</S>
<S>System.Windows.Controls.TabControl Items.Count : 2</S>
</LST>
</Obj>
<B N="IsItemsHost">false</B>
<S N="LogicalOrientationPublic">Vertical</S>
<B N="HasLogicalOrientationPublic">false</B>
<Nil N="Style" />
<B N="OverridesDefaultStyle">false</B>
<B N="UseLayoutRounding">false</B>
<Obj N="Triggers" RefId="12">
<TN RefId="12">
<T>System.Windows.TriggerCollection</T>
<T>System.Collections.ObjectModel.Collection`1System.Windows.TriggerBase, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</T>
<T>System.Object</T>
</TN>
<LST />
</Obj>
<Nil N="TemplatedParent" />
<Obj N="Resources" RefId="13">
<TN RefId="13">
<T>System.Windows.ResourceDictionary</T>
<T>System.Object</T>
</TN>
<DCT />
</Obj>
<Nil N="DataContext" />
<Nil N="BindingGroup" />
<S N="Language">en-us</S>
<S N="Name"></S>
<Nil N="Tag" />
<Nil N="InputScope" />
<Db N="ActualWidth">0</Db>
<Db N="ActualHeight">0</Db>
<S N="LayoutTransform">Identity</S>
<Db N="Width">NaN</Db>
<Db N="MinWidth">0</Db>
<Db N="MaxWidth">INF</Db>
<Db N="Height">NaN</Db>
<Db N="MinHeight">0</Db>
<Db N="MaxHeight">INF</Db>
<S N="FlowDirection">LeftToRight</S>
<S N="Margin">0,0,0,0</S>
<S N="HorizontalAlignment">Stretch</S>
<S N="VerticalAlignment">Stretch</S>
<S N="FocusVisualStyle">System.Windows.Style</S>
<Nil N="Cursor" />
<B N="ForceCursor">false</B>
<B N="IsInitialized">true</B>
<B N="IsLoaded">false</B>
<Nil N="ToolTip" />
<Nil N="ContextMenu" />
<S N="Parent">System.Windows.Window</S>
<B N="HasAnimatedProperties">false</B>
<Obj N="InputBindings" RefId="14">
<TN RefId="14">
<T>System.Windows.Input.InputBindingCollection</T>
<T>System.Object</T>
</TN>
<LST />
</Obj>
<Obj N="CommandBindings" RefId="15">
<TN RefId="15">
<T>System.Windows.Input.CommandBindingCollection</T>
<T>System.Object</T>
</TN>
<LST />
</Obj>
<B N="AllowDrop">false</B>
<S N="DesiredSize">0,0</S>
<B N="IsMeasureValid">false</B>
<B N="IsArrangeValid">false</B>
<S N="RenderSize">0,0</S>
<S N="RenderTransform">Identity</S>
<S N="RenderTransformOrigin">0,0</S>
<B N="IsMouseDirectlyOver">false</B>
<B N="IsMouseOver">false</B>
<B N="IsStylusOver">false</B>
<B N="IsKeyboardFocusWithin">false</B>
<B N="IsMouseCaptured">false</B>
<B N="IsMouseCaptureWithin">false</B>
<B N="IsStylusDirectlyOver">false</B>
<B N="IsStylusCaptured">false</B>
<B N="IsStylusCaptureWithin">false</B>
<B N="IsKeyboardFocused">false</B>
<B N="IsInputMethodEnabled">true</B>
<Db N="Opacity">1</Db>
<Nil N="OpacityMask" />
<Nil N="BitmapEffect" />
<Nil N="Effect" />
<Nil N="BitmapEffectInput" />
<Nil N="CacheMode" />
<S N="Uid"></S>
<S N="Visibility">Visible</S>
<B N="ClipToBounds">false</B>
<Nil N="Clip" />
<B N="SnapsToDevicePixels">false</B>
<B N="IsFocused">false</B>
<B N="IsEnabled">true</B>
<B N="IsHitTestVisible">true</B>
<B N="IsVisible">false</B>
<B N="Focusable">false</B>
<I32 N="PersistId">2</I32>
<B N="IsManipulationEnabled">false</B>
<B N="AreAnyTouchesOver">false</B>
<B N="AreAnyTouchesDirectlyOver">false</B>
<B N="AreAnyTouchesCapturedWithin">false</B>
<B N="AreAnyTouchesCaptured">false</B>
<Obj N="TouchesCaptured" RefId="16">
<TN RefId="16">
<T>System.Collections.Generic.List`1System.Windows.Input.TouchDevice, PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</T>
<T>System.Object</T>
</TN>
<LST />
</Obj>
<Obj N="TouchesCapturedWithin" RefId="17">
<TNRef RefId="16" />
<LST />
</Obj>
<Obj N="TouchesOver" RefId="18">
<TNRef RefId="16" />
<LST />
</Obj>
<Obj N="TouchesDirectlyOver" RefId="19">
<TNRef RefId="16" />
<LST />
</Obj>
<S N="DependencyObjectType">System.Windows.DependencyObjectType</S>
<B N="IsSealed">false</B>
<S N="Dispatcher">System.Windows.Threading.Dispatcher</S>
</Props>
</Obj>
<B N="HasContent">true</B>
<Nil N="ContentTemplate" />
<Nil N="ContentTemplateSelector" />
<Nil N="ContentStringFormat" />
<Nil N="BorderBrush" />
<Obj N="BorderThickness" RefId="20">
<TN RefId="17">
<T>System.Windows.Thickness</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>0,0,0,0</ToString>
<Props>
<Db N="Left">0</Db>
<Db N="Top">0</Db>
<Db N="Right">0</Db>
<Db N="Bottom">0</Db>
</Props>
</Obj>
<Obj N="Background" RefId="21">
<TN RefId="18">
<T>System.Windows.Media.SolidColorBrush</T>
<T>System.Windows.Media.Brush</T>
<T>System.Windows.Media.Animation.Animatable</T>
<T>System.Windows.Freezable</T>
<T>System.Windows.DependencyObject</T>
<T>System.Windows.Threading.DispatcherObject</T>
<T>System.Object</T>
</TN>
<ToString>#FFFFFFFF</ToString>
<Props>
<S N="Color">#FFFFFFFF</S>
<Db N="Opacity">1</Db>
<S N="Transform">Identity</S>
<S N="RelativeTransform">Identity</S>
<B N="HasAnimatedProperties">false</B>
<B N="CanFreeze">true</B>
<B N="IsFrozen">true</B>
<S N="DependencyObjectType">System.Windows.DependencyObjectType</S>
<B N="IsSealed">true</B>
<Nil N="Dispatcher" />
</Props>
</Obj>
<Obj N="Foreground" RefId="22">
<TNRef RefId="18" />
<ToString>#FF000000</ToString>
<Props>
<S N="Color">#FF000000</S>
<Db N="Opacity">1</Db>
<S N="Transform">Identity</S>
<S N="RelativeTransform">Identity</S>
<B N="HasAnimatedProperties">false</B>
<B N="CanFreeze">true</B>
<B N="IsFrozen">true</B>
<S N="DependencyObjectType">System.Windows.DependencyObjectType</S>
<B N="IsSealed">true</B>
<Nil N="Dispatcher" />
</Props>
</Obj>
<Obj N="FontFamily" RefId="23">
<TN RefId="19">
<T>System.Windows.Media.FontFamily</T>
<T>System.Object</T>
</TN>
<ToString>Segoe UI</ToString>
<Props>
<Obj N="FamilyNames" RefId="24">
<TN RefId="20">
<T>System.Windows.Media.LanguageSpecificStringDictionary</T>
<T>System.Object</T>
</TN>
<DCT>
<En>
<S N="Key">en-us</S>
<S N="Value">Segoe UI</S>
</En>
</DCT>
</Obj>
<Obj N="FamilyTypefaces" RefId="25">
<TN RefId="21">
<T>System.Windows.Media.FamilyTypefaceCollection</T>
<T>System.Object</T>
</TN>
<LST>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
<S>System.Windows.Media.FamilyTypeface</S>
</LST>
</Obj>
<Obj N="FamilyMaps" RefId="26">
<TN RefId="22">
<T>System.Windows.Media.FontFamilyMapCollection</T>
<T>System.Object</T>
</TN>
<LST />
</Obj>
<S N="Source">Segoe UI</S>
<Nil N="BaseUri" />
<Db N="Baseline">1.0791015625</Db>
<Db N="LineSpacing">1.330078125</Db>
</Props>
</Obj>
<Db N="FontSize">12</Db>
<Obj N="FontStretch" RefId="27">
<TN RefId="23">
<T>System.Windows.FontStretch</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Normal</ToString>
</Obj>
<Obj N="FontStyle" RefId="28">
<TN RefId="24">
<T>System.Windows.FontStyle</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Normal</ToString>
</Obj>
<Obj N="FontWeight" RefId="29">
<TN RefId="25">
<T>System.Windows.FontWeight</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Normal</ToString>
</Obj>
<Obj N="HorizontalContentAlignment" RefId="30">
<TN RefId="26">
<T>System.Windows.HorizontalAlignment</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Center</ToString>
<I32>1</I32>
</Obj>
<Obj N="VerticalContentAlignment" RefId="31">
<TN RefId="27">
<T>System.Windows.VerticalAlignment</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Center</ToString>
<I32>1</I32>
</Obj>
<I32 N="TabIndex">2147483647</I32>
<B N="IsTabStop">false</B>
<Obj N="Padding" RefId="32">
<TNRef RefId="17" />
<ToString>0,0,0,0</ToString>
<Props>
<Db N="Left">0</Db>
<Db N="Top">0</Db>
<Db N="Right">0</Db>
<Db N="Bottom">0</Db>
</Props>
</Obj>
<Obj N="Template" RefId="33">
<TN RefId="28">
<T>System.Windows.Controls.ControlTemplate</T>
<T>System.Windows.FrameworkTemplate</T>
<T>System.Windows.Threading.DispatcherObject</T>
<T>System.Object</T>
</TN>
<ToString>System.Windows.Controls.ControlTemplate</ToString>
<Props>
<S N="TargetType">System.Windows.Window</S>
<Obj N="Triggers" RefId="34">
<TNRef RefId="12" />
<LST />
</Obj>
<B N="IsSealed">true</B>
<Nil N="VisualTree" />
<S N="Template">System.Windows.TemplateContent</S>
<Obj N="Resources" RefId="35">
<TNRef RefId="13" />
<DCT />
</Obj>
<B N="HasContent">true</B>
<Nil N="Dispatcher" />
</Props>
</Obj>
<Nil N="Style" />
<B N="OverridesDefaultStyle">false</B>
<B N="UseLayoutRounding">false</B>
<Obj N="Triggers" RefId="36">
<TNRef RefId="12" />
<LST />
</Obj>
<Nil N="TemplatedParent" />
<Obj N="Resources" RefId="37">
<TNRef RefId="13" />
<DCT />
</Obj>
<Nil N="DataContext" />
<Nil N="BindingGroup" />
<Obj N="Language" RefId="38">
<TN RefId="29">
<T>System.Windows.Markup.XmlLanguage</T>
<T>System.Object</T>
</TN>
<ToString>en-us</ToString>
<Props>
<S N="IetfLanguageTag">en-us</S>
</Props>
</Obj>
<S N="Name">Interface</S>
<Nil N="Tag" />
<Nil N="InputScope" />
<Db N="ActualWidth">0</Db>
<Db N="ActualHeight">0</Db>
<Obj N="LayoutTransform" RefId="39">
<TN RefId="30">
<T>System.Windows.Media.MatrixTransform</T>
<T>System.Windows.Media.Transform</T>
<T>System.Windows.Media.GeneralTransform</T>
<T>System.Windows.Media.Animation.Animatable</T>
<T>System.Windows.Freezable</T>
<T>System.Windows.DependencyObject</T>
<T>System.Windows.Threading.DispatcherObject</T>
<T>System.Object</T>
</TN>
<ToString>Identity</ToString>
<Props>
<S N="Matrix">Identity</S>
<S N="Value">Identity</S>
<S N="Inverse">Identity</S>
<B N="HasAnimatedProperties">false</B>
<B N="CanFreeze">true</B>
<B N="IsFrozen">true</B>
<S N="DependencyObjectType">System.Windows.DependencyObjectType</S>
<B N="IsSealed">true</B>
<Nil N="Dispatcher" />
</Props>
</Obj>
<Db N="Width">1132</Db>
<Db N="MinWidth">0</Db>
<Db N="MaxWidth">INF</Db>
<Db N="Height">945</Db>
<Db N="MinHeight">0</Db>
<Db N="MaxHeight">INF</Db>
<Obj N="FlowDirection" RefId="40">
<TN RefId="31">
<T>System.Windows.FlowDirection</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>LeftToRight</ToString>
<I32>0</I32>
</Obj>
<Obj N="Margin" RefId="41">
<TNRef RefId="17" />
<ToString>0,0,0,0</ToString>
<Props>
<Db N="Left">0</Db>
<Db N="Top">0</Db>
<Db N="Right">0</Db>
<Db N="Bottom">0</Db>
</Props>
</Obj>
<Obj N="HorizontalAlignment" RefId="42">
<TNRef RefId="26" />
<ToString>Center</ToString>
<I32>1</I32>
</Obj>
<Obj N="VerticalAlignment" RefId="43">
<TNRef RefId="27" />
<ToString>Center</ToString>
<I32>1</I32>
</Obj>
<Obj N="FocusVisualStyle" RefId="44">
<TN RefId="32">
<T>System.Windows.Style</T>
<T>System.Windows.Threading.DispatcherObject</T>
<T>System.Object</T>
</TN>
<ToString>System.Windows.Style</ToString>
<Props>
<B N="IsSealed">true</B>
<S N="TargetType">System.Windows.IFrameworkInputElement</S>
<Nil N="BasedOn" />
<Obj N="Triggers" RefId="45">
<TNRef RefId="12" />
<LST />
</Obj>
<Obj N="Setters" RefId="46">
<TN RefId="33">
<T>System.Windows.SetterBaseCollection</T>
<T>System.Collections.ObjectModel.Collection`1System.Windows.SetterBase, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</T>
<T>System.Object</T>
</TN>
<LST />
</Obj>
<Obj N="Resources" RefId="47">
<TNRef RefId="13" />
<DCT />
</Obj>
<Nil N="Dispatcher" />
</Props>
</Obj>
<Nil N="Cursor" />
<B N="ForceCursor">false</B>
<B N="IsInitialized">true</B>
<B N="IsLoaded">false</B>
<Nil N="ToolTip" />
<Nil N="ContextMenu" />
<Nil N="Parent" />
<B N="HasAnimatedProperties">false</B>
<Obj N="InputBindings" RefId="48">
<TNRef RefId="14" />
<LST />
</Obj>
<Obj N="CommandBindings" RefId="49">
<TNRef RefId="15" />
<LST />
</Obj>
<B N="AllowDrop">false</B>
<Obj N="DesiredSize" RefId="50">
<TN RefId="34">
<T>System.Windows.Size</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>0,0</ToString>
<Props>
<B N="IsEmpty">false</B>
<Db N="Width">0</Db>
<Db N="Height">0</Db>
</Props>
</Obj>
<B N="IsMeasureValid">false</B>
<B N="IsArrangeValid">false</B>
<Obj N="RenderSize" RefId="51">
<TNRef RefId="34" />
<ToString>0,0</ToString>
<Props>
<B N="IsEmpty">false</B>
<Db N="Width">0</Db>
<Db N="Height">0</Db>
</Props>
</Obj>
<Ref N="RenderTransform" RefId="39" />
<Obj N="RenderTransformOrigin" RefId="52">
<TN RefId="35">
<T>System.Windows.Point</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>0,0</ToString>
<Props>
<Db N="X">0</Db>
<Db N="Y">0</Db>
</Props>
</Obj>
<B N="IsMouseDirectlyOver">false</B>
<B N="IsMouseOver">false</B>
<B N="IsStylusOver">false</B>
<B N="IsKeyboardFocusWithin">false</B>
<B N="IsMouseCaptured">false</B>
<B N="IsMouseCaptureWithin">false</B>
<B N="IsStylusDirectlyOver">false</B>
<B N="IsStylusCaptured">false</B>
<B N="IsStylusCaptureWithin">false</B>
<B N="IsKeyboardFocused">false</B>
<B N="IsInputMethodEnabled">true</B>
<Db N="Opacity">1</Db>
<Nil N="OpacityMask" />
<Nil N="BitmapEffect" />
<Nil N="Effect" />
<Nil N="BitmapEffectInput" />
<Nil N="CacheMode" />
<S N="Uid"></S>
<Obj N="Visibility" RefId="53">
<TN RefId="36">
<T>System.Windows.Visibility</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Collapsed</ToString>
<By>2</By>
</Obj>
<B N="ClipToBounds">false</B>
<Nil N="Clip" />
<B N="SnapsToDevicePixels">false</B>
<B N="IsFocused">false</B>
<B N="IsEnabled">true</B>
<B N="IsHitTestVisible">true</B>
<B N="IsVisible">false</B>
<B N="Focusable">true</B>
<I32 N="PersistId">1</I32>
<B N="IsManipulationEnabled">false</B>
<B N="AreAnyTouchesOver">false</B>
<B N="AreAnyTouchesDirectlyOver">false</B>
<B N="AreAnyTouchesCapturedWithin">false</B>
<B N="AreAnyTouchesCaptured">false</B>
<Obj N="TouchesCaptured" RefId="54">
<TNRef RefId="16" />
<LST />
</Obj>
<Obj N="TouchesCapturedWithin" RefId="55">
<TNRef RefId="16" />
<LST />
</Obj>
<Obj N="TouchesOver" RefId="56">
<TNRef RefId="16" />
<LST />
</Obj>
<Obj N="TouchesDirectlyOver" RefId="57">
<TNRef RefId="16" />
<LST />
</Obj>
<Obj N="DependencyObjectType" RefId="58">
<TN RefId="37">
<T>System.Windows.DependencyObjectType</T>
<T>System.Object</T>
</TN>
<ToString>System.Windows.DependencyObjectType</ToString>
<Props>
<I32 N="Id">6</I32>
<S N="SystemType">System.Windows.Window</S>
<S N="BaseType">System.Windows.DependencyObjectType</S>
<S N="Name">Window</S>
</Props>
</Obj>
<B N="IsSealed">false</B>
<Obj N="Dispatcher" RefId="59">
<TN RefId="38">
<T>System.Windows.Threading.Dispatcher</T>
<T>System.Object</T>
</TN>
<ToString>System.Windows.Threading.Dispatcher</ToString>
<Props>
<S N="Thread">System.Threading.Thread</S>
<B N="HasShutdownStarted">false</B>
<B N="HasShutdownFinished">false</B>
<S N="Hooks">System.Windows.Threading.DispatcherHooks</S>
</Props>
</Obj>
</Props>
</Obj>
</Objs>
Connexion ou Créer un compte pour participer à la conversation.
- Laurent Dardenne
- Hors Ligne
- Modérateur
Réduire
Plus d'informations
- Messages : 6302
- Remerciements reçus 68
il y a 1 an 9 mois #32411
par Laurent Dardenne
Tutoriels PowerShell
Réponse de Laurent Dardenne sur le sujet Interface graphique avec PS v7
Heu, c'est pas ça, plutôt ceci :Je disais Ensuite d'enregistrer l'exception, pas l'objet $Affichage
$xmlFile = "C:\Test\script.xml"
try {
$Global:Affichage = [Windows.Markup.XamlReader]::Load((New-Object System.Xml.XmlNodeReader $Interface))
} catch {
$_| Export-Clixml "FileSystem::$xmlFile"
}
Tutoriels PowerShell
Les utilisateur(s) suivant ont remercié: Guillaume
Connexion ou Créer un compte pour participer à la conversation.
- Guillaume
- Auteur du sujet
- Hors Ligne
- Membre premium
Réduire
Plus d'informations
- Messages : 116
- Remerciements reçus 0
il y a 1 an 9 mois #32412
par Guillaume
Réponse de Guillaume sur le sujet Interface graphique avec PS v7
Désolé pour la mésentente. Voici :
Attention : Spoiler !
<Objs Version="1.1.0.1" xmlns="schemas.microsoft.com/powershell/2004/04">
<Obj RefId="0">
<TN RefId="0">
<T>System.Management.Automation.ErrorRecord</T>
<T>System.Object</T>
</TN>
<ToString>Exception calling "Load" with "1" argument(s): "La propriété Set 'System.Windows.FrameworkElement.Name' a levé une exception."</ToString>
<MS>
<Obj N="Exception" RefId="1">
<TN RefId="1">
<T>System.Management.Automation.MethodInvocationException</T>
<T>System.Management.Automation.MethodException</T>
<T>System.Management.Automation.ExtendedTypeSystemException</T>
<T>System.Management.Automation.RuntimeException</T>
<T>System.SystemException</T>
<T>System.Exception</T>
<T>System.Object</T>
</TN>
<ToString>System.Management.Automation.MethodInvocationException: Exception calling "Load" with "1" argument(s): "La propriété Set 'System.Windows.FrameworkElement.Name' a levé une exception."_x000D__x000A_ ---> System.Windows.Markup.XamlParseException: La propriété Set 'System.Windows.FrameworkElement.Name' a levé une exception._x000D__x000A_ ---> System.ArgumentException: 'IAD_Bouton_Utilisateurs_D�sactiv�s' n'est pas une valeur valide pour la propriété 'Name'._x000D__x000A_ at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)_x000D__x000A_ at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)_x000D__x000A_ at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)_x000D__x000A_ --- End of inner exception stack trace ---_x000D__x000A_ at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)_x000D__x000A_ at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)_x000D__x000A_ at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, Boolean skipJournaledProperties, Uri baseUri)_x000D__x000A_ at System.Windows.Markup.XamlReader.Load(XamlReader xamlReader, ParserContext parserContext)_x000D__x000A_ at System.Windows.Markup.XamlReader.Load(XmlReader reader, ParserContext parserContext, XamlParseMode parseMode, Boolean useRestrictiveXamlReader, List`1 safeTypes)_x000D__x000A_ at System.Windows.Markup.XamlReader.Load(XmlReader reader, Boolean useRestrictiveXamlReader)_x000D__x000A_ at CallSite.Target(Closure , CallSite , Type , Object )_x000D__x000A_ --- End of inner exception stack trace ---_x000D__x000A_ at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)_x000D__x000A_ at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)_x000D__x000A_ at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)_x000D__x000A_ at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)</ToString>
<Props>
<S N="ErrorRecord">Exception calling "Load" with "1" argument(s): "La propriété Set 'System.Windows.FrameworkElement.Name' a levé une exception."</S>
<B N="WasThrownFromThrowStatement">false</B>
<S N="TargetSite">Void CheckActionPreference(System.Management.Automation.Language.FunctionContext, System.Exception)</S>
<S N="Message">Exception calling "Load" with "1" argument(s): "La propriété Set 'System.Windows.FrameworkElement.Name' a levé une exception."</S>
<Obj N="Data" RefId="2">
<TN RefId="2">
<T>System.Collections.ListDictionaryInternal</T>
<T>System.Object</T>
</TN>
<DCT>
<En>
<S N="Key">System.Management.Automation.Interpreter.InterpretedFrameInfo</S>
<Obj N="Value" RefId="3">
<TN RefId="3">
<T>System.Management.Automation.Interpreter.InterpretedFrameInfo[]</T>
<T>System.Array</T>
<T>System.Object</T>
</TN>
<LST>
<S><ScriptBlock></S>
<S><ScriptBlock></S>
</LST>
</Obj>
</En>
</DCT>
</Obj>
<Obj N="InnerException" RefId="4">
<TN RefId="4">
<T>System.Windows.Markup.XamlParseException</T>
<T>System.SystemException</T>
<T>System.Exception</T>
<T>System.Object</T>
</TN>
<ToString>System.Windows.Markup.XamlParseException: La propriété Set 'System.Windows.FrameworkElement.Name' a levé une exception._x000D__x000A_ ---> System.ArgumentException: 'IAD_Bouton_Utilisateurs_D�sactiv�s' n'est pas une valeur valide pour la propriété 'Name'._x000D__x000A_ at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)_x000D__x000A_ at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)_x000D__x000A_ at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)_x000D__x000A_ --- End of inner exception stack trace ---_x000D__x000A_ at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)_x000D__x000A_ at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)_x000D__x000A_ at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, Boolean skipJournaledProperties, Uri baseUri)_x000D__x000A_ at System.Windows.Markup.XamlReader.Load(XamlReader xamlReader, ParserContext parserContext)_x000D__x000A_ at System.Windows.Markup.XamlReader.Load(XmlReader reader, ParserContext parserContext, XamlParseMode parseMode, Boolean useRestrictiveXamlReader, List`1 safeTypes)_x000D__x000A_ at System.Windows.Markup.XamlReader.Load(XmlReader reader, Boolean useRestrictiveXamlReader)_x000D__x000A_ at CallSite.Target(Closure , CallSite , Type , Object )</ToString>
<Props>
<I32 N="LineNumber">0</I32>
<I32 N="LinePosition">0</I32>
<Nil N="KeyContext" />
<Nil N="UidContext" />
<Nil N="NameContext" />
<URI N="BaseUri">pack://application:,,,/</URI>
<S N="TargetSite">Void RewrapException(System.Exception, System.Xaml.IXamlLineInfo, System.Uri)</S>
<S N="Message">La propriété Set 'System.Windows.FrameworkElement.Name' a levé une exception.</S>
<Obj N="Data" RefId="5">
<TNRef RefId="2" />
<DCT />
</Obj>
<Obj N="InnerException" RefId="6">
<TN RefId="5">
<T>System.ArgumentException</T>
<T>System.SystemException</T>
<T>System.Exception</T>
<T>System.Object</T>
</TN>
<ToString>System.ArgumentException: 'IAD_Bouton_Utilisateurs_D�sactiv�s' n'est pas une valeur valide pour la propriété 'Name'._x000D__x000A_ at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)_x000D__x000A_ at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)_x000D__x000A_ at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)</ToString>
<Props>
<S N="Message">'IAD_Bouton_Utilisateurs_D�sactiv�s' n'est pas une valeur valide pour la propriété 'Name'.</S>
<Nil N="ParamName" />
<S N="TargetSite">Void SetValueCommon(System.Windows.DependencyProperty, System.Object, System.Windows.PropertyMetadata, Boolean, Boolean, System.Windows.OperationType, Boolean)</S>
<Obj N="Data" RefId="7">
<TNRef RefId="2" />
<DCT />
</Obj>
<Nil N="InnerException" />
<Nil N="HelpLink" />
<S N="Source">WindowsBase</S>
<I32 N="HResult">-2147024809</I32>
<S N="StackTrace"> at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)_x000D__x000A_ at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)_x000D__x000A_ at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)</S>
</Props>
</Obj>
<Nil N="HelpLink" />
<S N="Source">PresentationFramework</S>
<I32 N="HResult">-2146233087</I32>
<S N="StackTrace"> at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)_x000D__x000A_ at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)_x000D__x000A_ at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, Boolean skipJournaledProperties, Uri baseUri)_x000D__x000A_ at System.Windows.Markup.XamlReader.Load(XamlReader xamlReader, ParserContext parserContext)_x000D__x000A_ at System.Windows.Markup.XamlReader.Load(XmlReader reader, ParserContext parserContext, XamlParseMode parseMode, Boolean useRestrictiveXamlReader, List`1 safeTypes)_x000D__x000A_ at System.Windows.Markup.XamlReader.Load(XmlReader reader, Boolean useRestrictiveXamlReader)_x000D__x000A_ at CallSite.Target(Closure , CallSite , Type , Object )</S>
</Props>
</Obj>
<Nil N="HelpLink" />
<S N="Source">System.Management.Automation</S>
<I32 N="HResult">-2146233087</I32>
<S N="StackTrace"> at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)_x000D__x000A_ at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)_x000D__x000A_ at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)_x000D__x000A_ at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)</S>
</Props>
</Obj>
<Nil N="TargetObject" />
<S N="FullyQualifiedErrorId">XamlParseException</S>
<Obj N="InvocationInfo" RefId="8">
<TN RefId="6">
<T>System.Management.Automation.InvocationInfo</T>
<T>System.Object</T>
</TN>
<ToString>System.Management.Automation.InvocationInfo</ToString>
<Props>
<Nil N="MyCommand" />
<Obj N="BoundParameters" RefId="9">
<TN RefId="7">
<T>System.Collections.Generic.Dictionary`2System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Object, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e</T>
<T>System.Object</T>
</TN>
<DCT />
</Obj>
<Obj N="UnboundArguments" RefId="10">
<TN RefId="8">
<T>System.Collections.Generic.List`1System.Object, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e</T>
<T>System.Object</T>
</TN>
<LST />
</Obj>
<I32 N="ScriptLineNumber">61</I32>
<I32 N="OffsetInLine">1</I32>
<I64 N="HistoryId">-1</I64>
<S N="ScriptName">C:\Users\user\Documents\Administration\Powershell\Administration\Admin_SI_Dev.ps1</S>
<S N="Line">$Global:Affichage = [Windows.Markup.XamlReader]::Load((New-Object System.Xml.XmlNodeReader $Interface)) _x000D__x000A_</S>
<S N="PositionMessage">At C:\Users\user\Documents\Administration\Powershell\Administration\Admin_SI_Dev.ps1:61 char:1_x000D__x000A_+ $Global:Affichage = [Windows.Markup.XamlReader]::Load((New-Object Sys …_x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S>
<S N="PSScriptRoot">C:\Users\user\Documents\Administration\Powershell\Administration</S>
<S N="PSCommandPath">C:\Users\user\Documents\Administration\Powershell\Administration\Admin_SI_Dev.ps1</S>
<S N="InvocationName"></S>
<I32 N="PipelineLength">0</I32>
<I32 N="PipelinePosition">0</I32>
<B N="ExpectingInput">false</B>
<Obj N="CommandOrigin" RefId="11">
<TN RefId="9">
<T>System.Management.Automation.CommandOrigin</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Internal</ToString>
<I32>1</I32>
</Obj>
<Nil N="DisplayScriptPosition" />
</Props>
</Obj>
<I32 N="ErrorCategory_Category">0</I32>
<S N="ErrorCategory_Activity"></S>
<S N="ErrorCategory_Reason">MethodInvocationException</S>
<S N="ErrorCategory_TargetName"></S>
<S N="ErrorCategory_TargetType"></S>
<S N="ErrorCategory_Message">NotSpecified: ( [], MethodInvocationException</S>
<B N="SerializeExtendedInfo">false</B>
<S N="ErrorDetails_ScriptStackTrace">at <ScriptBlock>, C:\Users\user\Documents\Administration\Powershell\Administration\Admin_SI_Dev.ps1: line 61_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S>
<Nil N="PSMessageDetails" />
</MS>
</Obj>
</Objs>
<Obj RefId="0">
<TN RefId="0">
<T>System.Management.Automation.ErrorRecord</T>
<T>System.Object</T>
</TN>
<ToString>Exception calling "Load" with "1" argument(s): "La propriété Set 'System.Windows.FrameworkElement.Name' a levé une exception."</ToString>
<MS>
<Obj N="Exception" RefId="1">
<TN RefId="1">
<T>System.Management.Automation.MethodInvocationException</T>
<T>System.Management.Automation.MethodException</T>
<T>System.Management.Automation.ExtendedTypeSystemException</T>
<T>System.Management.Automation.RuntimeException</T>
<T>System.SystemException</T>
<T>System.Exception</T>
<T>System.Object</T>
</TN>
<ToString>System.Management.Automation.MethodInvocationException: Exception calling "Load" with "1" argument(s): "La propriété Set 'System.Windows.FrameworkElement.Name' a levé une exception."_x000D__x000A_ ---> System.Windows.Markup.XamlParseException: La propriété Set 'System.Windows.FrameworkElement.Name' a levé une exception._x000D__x000A_ ---> System.ArgumentException: 'IAD_Bouton_Utilisateurs_D�sactiv�s' n'est pas une valeur valide pour la propriété 'Name'._x000D__x000A_ at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)_x000D__x000A_ at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)_x000D__x000A_ at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)_x000D__x000A_ --- End of inner exception stack trace ---_x000D__x000A_ at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)_x000D__x000A_ at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)_x000D__x000A_ at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, Boolean skipJournaledProperties, Uri baseUri)_x000D__x000A_ at System.Windows.Markup.XamlReader.Load(XamlReader xamlReader, ParserContext parserContext)_x000D__x000A_ at System.Windows.Markup.XamlReader.Load(XmlReader reader, ParserContext parserContext, XamlParseMode parseMode, Boolean useRestrictiveXamlReader, List`1 safeTypes)_x000D__x000A_ at System.Windows.Markup.XamlReader.Load(XmlReader reader, Boolean useRestrictiveXamlReader)_x000D__x000A_ at CallSite.Target(Closure , CallSite , Type , Object )_x000D__x000A_ --- End of inner exception stack trace ---_x000D__x000A_ at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)_x000D__x000A_ at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)_x000D__x000A_ at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)_x000D__x000A_ at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)</ToString>
<Props>
<S N="ErrorRecord">Exception calling "Load" with "1" argument(s): "La propriété Set 'System.Windows.FrameworkElement.Name' a levé une exception."</S>
<B N="WasThrownFromThrowStatement">false</B>
<S N="TargetSite">Void CheckActionPreference(System.Management.Automation.Language.FunctionContext, System.Exception)</S>
<S N="Message">Exception calling "Load" with "1" argument(s): "La propriété Set 'System.Windows.FrameworkElement.Name' a levé une exception."</S>
<Obj N="Data" RefId="2">
<TN RefId="2">
<T>System.Collections.ListDictionaryInternal</T>
<T>System.Object</T>
</TN>
<DCT>
<En>
<S N="Key">System.Management.Automation.Interpreter.InterpretedFrameInfo</S>
<Obj N="Value" RefId="3">
<TN RefId="3">
<T>System.Management.Automation.Interpreter.InterpretedFrameInfo[]</T>
<T>System.Array</T>
<T>System.Object</T>
</TN>
<LST>
<S><ScriptBlock></S>
<S><ScriptBlock></S>
</LST>
</Obj>
</En>
</DCT>
</Obj>
<Obj N="InnerException" RefId="4">
<TN RefId="4">
<T>System.Windows.Markup.XamlParseException</T>
<T>System.SystemException</T>
<T>System.Exception</T>
<T>System.Object</T>
</TN>
<ToString>System.Windows.Markup.XamlParseException: La propriété Set 'System.Windows.FrameworkElement.Name' a levé une exception._x000D__x000A_ ---> System.ArgumentException: 'IAD_Bouton_Utilisateurs_D�sactiv�s' n'est pas une valeur valide pour la propriété 'Name'._x000D__x000A_ at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)_x000D__x000A_ at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)_x000D__x000A_ at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)_x000D__x000A_ --- End of inner exception stack trace ---_x000D__x000A_ at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)_x000D__x000A_ at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)_x000D__x000A_ at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, Boolean skipJournaledProperties, Uri baseUri)_x000D__x000A_ at System.Windows.Markup.XamlReader.Load(XamlReader xamlReader, ParserContext parserContext)_x000D__x000A_ at System.Windows.Markup.XamlReader.Load(XmlReader reader, ParserContext parserContext, XamlParseMode parseMode, Boolean useRestrictiveXamlReader, List`1 safeTypes)_x000D__x000A_ at System.Windows.Markup.XamlReader.Load(XmlReader reader, Boolean useRestrictiveXamlReader)_x000D__x000A_ at CallSite.Target(Closure , CallSite , Type , Object )</ToString>
<Props>
<I32 N="LineNumber">0</I32>
<I32 N="LinePosition">0</I32>
<Nil N="KeyContext" />
<Nil N="UidContext" />
<Nil N="NameContext" />
<URI N="BaseUri">pack://application:,,,/</URI>
<S N="TargetSite">Void RewrapException(System.Exception, System.Xaml.IXamlLineInfo, System.Uri)</S>
<S N="Message">La propriété Set 'System.Windows.FrameworkElement.Name' a levé une exception.</S>
<Obj N="Data" RefId="5">
<TNRef RefId="2" />
<DCT />
</Obj>
<Obj N="InnerException" RefId="6">
<TN RefId="5">
<T>System.ArgumentException</T>
<T>System.SystemException</T>
<T>System.Exception</T>
<T>System.Object</T>
</TN>
<ToString>System.ArgumentException: 'IAD_Bouton_Utilisateurs_D�sactiv�s' n'est pas une valeur valide pour la propriété 'Name'._x000D__x000A_ at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)_x000D__x000A_ at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)_x000D__x000A_ at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)</ToString>
<Props>
<S N="Message">'IAD_Bouton_Utilisateurs_D�sactiv�s' n'est pas une valeur valide pour la propriété 'Name'.</S>
<Nil N="ParamName" />
<S N="TargetSite">Void SetValueCommon(System.Windows.DependencyProperty, System.Object, System.Windows.PropertyMetadata, Boolean, Boolean, System.Windows.OperationType, Boolean)</S>
<Obj N="Data" RefId="7">
<TNRef RefId="2" />
<DCT />
</Obj>
<Nil N="InnerException" />
<Nil N="HelpLink" />
<S N="Source">WindowsBase</S>
<I32 N="HResult">-2147024809</I32>
<S N="StackTrace"> at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)_x000D__x000A_ at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)_x000D__x000A_ at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)</S>
</Props>
</Obj>
<Nil N="HelpLink" />
<S N="Source">PresentationFramework</S>
<I32 N="HResult">-2146233087</I32>
<S N="StackTrace"> at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)_x000D__x000A_ at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)_x000D__x000A_ at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, Boolean skipJournaledProperties, Uri baseUri)_x000D__x000A_ at System.Windows.Markup.XamlReader.Load(XamlReader xamlReader, ParserContext parserContext)_x000D__x000A_ at System.Windows.Markup.XamlReader.Load(XmlReader reader, ParserContext parserContext, XamlParseMode parseMode, Boolean useRestrictiveXamlReader, List`1 safeTypes)_x000D__x000A_ at System.Windows.Markup.XamlReader.Load(XmlReader reader, Boolean useRestrictiveXamlReader)_x000D__x000A_ at CallSite.Target(Closure , CallSite , Type , Object )</S>
</Props>
</Obj>
<Nil N="HelpLink" />
<S N="Source">System.Management.Automation</S>
<I32 N="HResult">-2146233087</I32>
<S N="StackTrace"> at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)_x000D__x000A_ at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)_x000D__x000A_ at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)_x000D__x000A_ at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)</S>
</Props>
</Obj>
<Nil N="TargetObject" />
<S N="FullyQualifiedErrorId">XamlParseException</S>
<Obj N="InvocationInfo" RefId="8">
<TN RefId="6">
<T>System.Management.Automation.InvocationInfo</T>
<T>System.Object</T>
</TN>
<ToString>System.Management.Automation.InvocationInfo</ToString>
<Props>
<Nil N="MyCommand" />
<Obj N="BoundParameters" RefId="9">
<TN RefId="7">
<T>System.Collections.Generic.Dictionary`2System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Object, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e</T>
<T>System.Object</T>
</TN>
<DCT />
</Obj>
<Obj N="UnboundArguments" RefId="10">
<TN RefId="8">
<T>System.Collections.Generic.List`1System.Object, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e</T>
<T>System.Object</T>
</TN>
<LST />
</Obj>
<I32 N="ScriptLineNumber">61</I32>
<I32 N="OffsetInLine">1</I32>
<I64 N="HistoryId">-1</I64>
<S N="ScriptName">C:\Users\user\Documents\Administration\Powershell\Administration\Admin_SI_Dev.ps1</S>
<S N="Line">$Global:Affichage = [Windows.Markup.XamlReader]::Load((New-Object System.Xml.XmlNodeReader $Interface)) _x000D__x000A_</S>
<S N="PositionMessage">At C:\Users\user\Documents\Administration\Powershell\Administration\Admin_SI_Dev.ps1:61 char:1_x000D__x000A_+ $Global:Affichage = [Windows.Markup.XamlReader]::Load((New-Object Sys …_x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S>
<S N="PSScriptRoot">C:\Users\user\Documents\Administration\Powershell\Administration</S>
<S N="PSCommandPath">C:\Users\user\Documents\Administration\Powershell\Administration\Admin_SI_Dev.ps1</S>
<S N="InvocationName"></S>
<I32 N="PipelineLength">0</I32>
<I32 N="PipelinePosition">0</I32>
<B N="ExpectingInput">false</B>
<Obj N="CommandOrigin" RefId="11">
<TN RefId="9">
<T>System.Management.Automation.CommandOrigin</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Internal</ToString>
<I32>1</I32>
</Obj>
<Nil N="DisplayScriptPosition" />
</Props>
</Obj>
<I32 N="ErrorCategory_Category">0</I32>
<S N="ErrorCategory_Activity"></S>
<S N="ErrorCategory_Reason">MethodInvocationException</S>
<S N="ErrorCategory_TargetName"></S>
<S N="ErrorCategory_TargetType"></S>
<S N="ErrorCategory_Message">NotSpecified: ( [], MethodInvocationException</S>
<B N="SerializeExtendedInfo">false</B>
<S N="ErrorDetails_ScriptStackTrace">at <ScriptBlock>, C:\Users\user\Documents\Administration\Powershell\Administration\Admin_SI_Dev.ps1: line 61_x000D__x000A_at <ScriptBlock>, <No file>: line 1</S>
<Nil N="PSMessageDetails" />
</MS>
</Obj>
</Objs>
Connexion ou Créer un compte pour participer à la conversation.
- Guillaume
- Auteur du sujet
- Hors Ligne
- Membre premium
Réduire
Plus d'informations
- Messages : 116
- Remerciements reçus 0
il y a 1 an 9 mois #32413
par Guillaume
Réponse de Guillaume sur le sujet Interface graphique avec PS v7
Connexion ou Créer un compte pour participer à la conversation.
- Laurent Dardenne
- Hors Ligne
- Modérateur
Réduire
Plus d'informations
- Messages : 6302
- Remerciements reçus 68
il y a 1 an 9 mois #32414
par Laurent Dardenne
Tutoriels PowerShell
Réponse de Laurent Dardenne sur le sujet Interface graphique avec PS v7
Ok, je pense que c'est la gestion de l'encodage qui a changé entre les deux versions.
Voir ceci .
Voir ceci .
Tutoriels PowerShell
Connexion ou Créer un compte pour participer à la conversation.
Temps de génération de la page : 0.398 secondes
- Vous êtes ici :
- Accueil
- forum
- PowerShell
- Entraide pour les débutants
- Interface graphique avec PS v7