summaryrefslogtreecommitdiff
path: root/IvyProbe
diff options
context:
space:
mode:
authorfcolin2008-10-10 15:45:54 +0000
committerfcolin2008-10-10 15:45:54 +0000
commit3c9d0c18a19de1f1ec1c4e77f6b89fdf84d39605 (patch)
treeb4c691f61e44c2310887ccb77b94a519a73a7fdb /IvyProbe
parent8d10e8bbd1e19adc7c70e1101dbb69c213c910dd (diff)
downloadivy-csharp-3c9d0c18a19de1f1ec1c4e77f6b89fdf84d39605.zip
ivy-csharp-3c9d0c18a19de1f1ec1c4e77f6b89fdf84d39605.tar.gz
ivy-csharp-3c9d0c18a19de1f1ec1c4e77f6b89fdf84d39605.tar.bz2
ivy-csharp-3c9d0c18a19de1f1ec1c4e77f6b89fdf84d39605.tar.xz
Ajout de commentaire sur les menbres public
Diffstat (limited to 'IvyProbe')
-rw-r--r--IvyProbe/IvyProbe.Designer.cs6
-rw-r--r--IvyProbe/IvyProbe.cs17
-rw-r--r--IvyProbe/IvyProbe.csproj7
-rw-r--r--IvyProbe/Properties/Settings.Designer.cs10
4 files changed, 24 insertions, 16 deletions
diff --git a/IvyProbe/IvyProbe.Designer.cs b/IvyProbe/IvyProbe.Designer.cs
index e0109e3..af5222a 100644
--- a/IvyProbe/IvyProbe.Designer.cs
+++ b/IvyProbe/IvyProbe.Designer.cs
@@ -161,8 +161,8 @@ namespace IvyProbe
// ivyApplicationBinding1
//
this.ivyApplicationBinding1.Arguments.Add("Name");
- this.ivyApplicationBinding1.Binding = IvyBus.BindingType.Regexp;
- this.ivyApplicationBinding1.Expression = "^{0}(.*)";
+ this.ivyApplicationBinding1.Binding = IvyBus.BindingType.RegularExpression;
+ this.ivyApplicationBinding1.Expression = "^%0%(.*)";
this.ivyApplicationBinding1.Callback += new System.EventHandler<IvyBus.IvyMessageEventArgs>(this.ivyprobe);
//
// IvyProbe
@@ -179,7 +179,7 @@ namespace IvyProbe
this.Controls.Add(this.tbRegexp);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
- this.DoubleBuffered = true;
+ //this.DoubleBuffered = true;
this.Name = "IvyProbe";
this.Text = "IvyProbe";
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.IvyProbe_FormClosed);
diff --git a/IvyProbe/IvyProbe.cs b/IvyProbe/IvyProbe.cs
index d6ef049..270dbd8 100644
--- a/IvyProbe/IvyProbe.cs
+++ b/IvyProbe/IvyProbe.cs
@@ -8,6 +8,7 @@ namespace IvyProbe
using System.Runtime.Serialization.Formatters.Binary;
using System.Reflection;
using System.Net;
+ using System.Text;
partial class IvyProbe : System.Windows.Forms.Form
{
@@ -23,6 +24,7 @@ namespace IvyProbe
private void append(string s)
{
// je mettrais bien la date, aussi.
+ if ( ! ta.IsDisposed )
ta.AppendText(s + "\r\n");
}
@@ -44,11 +46,16 @@ namespace IvyProbe
}
private void receive(object sender, IvyMessageEventArgs e)
{
- string receive_str = "client " + e.Client.ApplicationName + " envoie: [";
- receive_str += string.Join(",", e.Arguments);
- receive_str += "]";
- receive_str += " for '" + ((IvyApplicationBinding)sender).FormatedExpression + "'";
- append(receive_str);
+ StringBuilder sb = new StringBuilder();
+ sb.Append("client ");
+ sb.Append(e.Client.ApplicationName);
+ sb.Append(" envoie: [");
+ sb.Append( string.Join(",", e.GetArguments()));
+ sb.Append("]");
+ sb.Append(" for '");
+ sb.Append(((IvyApplicationBinding)sender).FormattedExpression);
+ sb.Append("'");
+ append(sb.ToString());
}
public void RegexpCB(System.Object event_sender, System.EventArgs e)
{
diff --git a/IvyProbe/IvyProbe.csproj b/IvyProbe/IvyProbe.csproj
index 8be9885..60a4df2 100644
--- a/IvyProbe/IvyProbe.csproj
+++ b/IvyProbe/IvyProbe.csproj
@@ -1,7 +1,7 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
<PropertyGroup>
<ProjectType>Local</ProjectType>
- <ProductVersion>8.0.50727</ProductVersion>
+ <ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{5EFDDE31-9A31-43EB-8E56-6C29F7EAAD48}</ProjectGuid>
<SccProjectName>SAK</SccProjectName>
@@ -47,6 +47,8 @@
<InstallUrl>http://www.tls.cena.fr/~fcolin/ClickOnce/IvyProbe/</InstallUrl>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<BootstrapperEnabled>true</BootstrapperEnabled>
+ <OldToolsVersion>2.0</OldToolsVersion>
+ <ApplicationRevision>3</ApplicationRevision>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<OutputPath>bin\Debug\</OutputPath>
@@ -142,7 +144,6 @@
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
- <None Include="IvyProbe_TemporaryKey.pfx" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
diff --git a/IvyProbe/Properties/Settings.Designer.cs b/IvyProbe/Properties/Settings.Designer.cs
index f2b2c1a..498601b 100644
--- a/IvyProbe/Properties/Settings.Designer.cs
+++ b/IvyProbe/Properties/Settings.Designer.cs
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <auto-generated>
-// This code was generated by a tool.
-// Runtime Version:2.0.50727.42
+// Ce code a été généré par un outil.
+// Version du runtime :2.0.50727.1433
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
+// le code est régénéré.
// </auto-generated>
//------------------------------------------------------------------------------
@@ -12,7 +12,7 @@ namespace IvyProbe.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));