diff --git a/psychorientation/images/icones/passer.png b/psychorientation/images/icones/passer.png new file mode 100644 index 0000000000000000000000000000000000000000..47df9dba42ad7dd3760c31d2b94c980540208333 Binary files /dev/null and b/psychorientation/images/icones/passer.png differ diff --git a/psychorientation/images/icones/suivant.png b/psychorientation/images/icones/suivant.png new file mode 100644 index 0000000000000000000000000000000000000000..bedeffeeafa6ba766a651516a0a582429f4d3fbf Binary files /dev/null and b/psychorientation/images/icones/suivant.png differ diff --git a/psychorientation/psychorientation/Form1.Designer.cs b/psychorientation/psychorientation/Form1.Designer.cs new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/psychorientation/psychorientation/Form1.cs b/psychorientation/psychorientation/Form1.cs new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/psychorientation/psychorientation/InterfaceClasse.Designer.cs b/psychorientation/psychorientation/InterfaceClasse.Designer.cs index fbd748f616543491239c6dd6386c76b505582c18..471abfac5ba007508e2d6abec2d5400690567988 100644 --- a/psychorientation/psychorientation/InterfaceClasse.Designer.cs +++ b/psychorientation/psychorientation/InterfaceClasse.Designer.cs @@ -37,10 +37,13 @@ // // pb_action_suivante // - this.pb_action_suivante.BackColor = System.Drawing.SystemColors.ControlDark; - this.pb_action_suivante.Location = new System.Drawing.Point(922, 471); + this.pb_action_suivante.BackColor = System.Drawing.SystemColors.Control; + this.pb_action_suivante.BackgroundImage = global::psychorientation.Properties.Resources.passer; + this.pb_action_suivante.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.pb_action_suivante.InitialImage = null; + this.pb_action_suivante.Location = new System.Drawing.Point(938, 473); this.pb_action_suivante.Name = "pb_action_suivante"; - this.pb_action_suivante.Size = new System.Drawing.Size(90, 77); + this.pb_action_suivante.Size = new System.Drawing.Size(74, 75); this.pb_action_suivante.TabIndex = 0; this.pb_action_suivante.TabStop = false; this.pb_action_suivante.Click += new System.EventHandler(this.Pb_action_suivante_Click); diff --git a/psychorientation/psychorientation/InterfaceClasse.cs b/psychorientation/psychorientation/InterfaceClasse.cs index dc85503f882b2057fd3ef9331dfab0686ed9f504..0b23140beaa895330908275f88c9af09dd5271a3 100644 --- a/psychorientation/psychorientation/InterfaceClasse.cs +++ b/psychorientation/psychorientation/InterfaceClasse.cs @@ -30,7 +30,7 @@ namespace psychorientation lbl_date.Text = libele_mois[(mois_actuel % 12)] + " " + libele_niveau[annee_actuelle]; TypeMessage tm = TypeMessage.INFORMATION; - Message m = new Message(-1,"Bonjour apprenti prof, vous allez apprendre à éduquer des joueurs !! ","Début",tm); + Message m = new Message(-1,"Bonjour apprenti prof, vous allez apprendre à éduquer des joueurs !! ", "Début", tm); m.ShowDialog(); } @@ -57,6 +57,14 @@ namespace psychorientation break; case 42: // Fin de la 3ème année : Debut Juillet. // Fin de la partie. + Message m_fin = new Message(-1, "Vous avez fini la phase bêta de ce jeu !\n" + + "Bravo à vous et n'hésitez pas à essayer à nouveau pour " + + "améliorer votre compréhension du monde extérieur.", + "Félicitations", + TypeMessage.INFORMATION + ); + m_fin.ShowDialog(); + Close(); break; } diff --git a/psychorientation/psychorientation/Libele.cs b/psychorientation/psychorientation/Libele.cs new file mode 100644 index 0000000000000000000000000000000000000000..5eb215a5ffbd91926c2ea1dbc1bd72db40e03007 --- /dev/null +++ b/psychorientation/psychorientation/Libele.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace psychorientation +{ + class Libele + { + private List<String> libele_mois; + private List<String> libele_niveau; + private static Libele instance; + } +} diff --git a/psychorientation/psychorientation/Properties/Resources.Designer.cs b/psychorientation/psychorientation/Properties/Resources.Designer.cs index 8a4f17a80ff0d1a6b5f563ed46ebb6a50714b75d..5b146a296c3d4f6b40789e90aec0f276a142e445 100644 --- a/psychorientation/psychorientation/Properties/Resources.Designer.cs +++ b/psychorientation/psychorientation/Properties/Resources.Designer.cs @@ -8,10 +8,10 @@ // </auto-generated> //------------------------------------------------------------------------------ -namespace psychorientation.Properties -{ - - +namespace psychorientation.Properties { + using System; + + /// <summary> /// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées. /// </summary> @@ -19,53 +19,55 @@ namespace psychorientation.Properties // à l'aide d'un outil, tel que ResGen ou Visual Studio. // Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen // avec l'option /str ou régénérez votre projet VS. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - + internal class Resources { + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { + internal Resources() { } - + /// <summary> /// Retourne l'instance ResourceManager mise en cache utilisée par cette classe. /// </summary> [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("psychorientation.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } - + /// <summary> /// Remplace la propriété CurrentUICulture du thread actuel pour toutes /// les recherches de ressources à l'aide de cette classe de ressource fortement typée. /// </summary> [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { + internal static global::System.Globalization.CultureInfo Culture { + get { return resourceCulture; } - set - { + set { resourceCulture = value; } } + + /// <summary> + /// Recherche une ressource localisée de type System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap passer { + get { + object obj = ResourceManager.GetObject("passer", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } } } diff --git a/psychorientation/psychorientation/Properties/Resources.resx b/psychorientation/psychorientation/Properties/Resources.resx index af7dbebbacef595e3089c01c05671016c21a8304..f381a76c4a30616504a59b1b586bf54723a6194d 100644 --- a/psychorientation/psychorientation/Properties/Resources.resx +++ b/psychorientation/psychorientation/Properties/Resources.resx @@ -46,7 +46,7 @@ mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with - : System.Serialization.Formatters.Binary.BinaryFormatter + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 @@ -60,6 +60,7 @@ : 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"> @@ -68,9 +69,10 @@ <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" /> </xsd:sequence> - <xsd:attribute name="name" type="xsd:string" /> + <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"> @@ -85,9 +87,10 @@ <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" msdata:Ordinal="1" /> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="resheader"> @@ -109,9 +112,13 @@ <value>2.0</value> </resheader> <resheader name="reader"> - <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <resheader name="writer"> - <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> + <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> + <data name="passer" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\passer.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> </root> \ No newline at end of file diff --git a/psychorientation/psychorientation/Resources/passer.png b/psychorientation/psychorientation/Resources/passer.png new file mode 100644 index 0000000000000000000000000000000000000000..47df9dba42ad7dd3760c31d2b94c980540208333 Binary files /dev/null and b/psychorientation/psychorientation/Resources/passer.png differ diff --git a/psychorientation/psychorientation/psychorientation.csproj b/psychorientation/psychorientation/psychorientation.csproj index 767381f087b341998523d997794855a9b22c2bad..14e3ac1e5bb1913b5c34555b79e735af850e8c93 100644 --- a/psychorientation/psychorientation/psychorientation.csproj +++ b/psychorientation/psychorientation/psychorientation.csproj @@ -90,6 +90,7 @@ <Compile Include="Properties\Resources.Designer.cs"> <AutoGen>True</AutoGen> <DependentUpon>Resources.resx</DependentUpon> + <DesignTime>True</DesignTime> </Compile> <None Include="packages.config" /> <None Include="Properties\Settings.settings"> @@ -105,5 +106,8 @@ <ItemGroup> <None Include="App.config" /> </ItemGroup> + <ItemGroup> + <None Include="Resources\passer.png" /> + </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> </Project> \ No newline at end of file