Affiche le dernier élément reçu
This commit is contained in:
Jean-Daniel Massard 2018-04-02 14:34:34 +02:00
parent 7b3eb0d7ec
commit 9598184722
23 changed files with 23 additions and 0 deletions

Binary file not shown.

View File

@ -237,6 +237,7 @@ namespace Serial_Observer
private void AddListItemMethod(String myString) private void AddListItemMethod(String myString)
{ {
listBox_portLogs.Items.Add(myString); listBox_portLogs.Items.Add(myString);
listBoxGoToLast();
} }
private string HexToString(string hexdata) private string HexToString(string hexdata)
@ -250,5 +251,10 @@ namespace Serial_Observer
return (String.Join("", hexDataSplit)); return (String.Join("", hexDataSplit));
} }
private void listBoxGoToLast()
{
listBox_portLogs.TopIndex = listBox_portLogs.Items.Count - 1;
}
} }
} }

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
</configuration>

View File

@ -0,0 +1 @@
972a4f89a3424dcc7a02b600beecf4a0500705f9

View File

@ -0,0 +1,10 @@
C:\Users\Jean-Daniel\Documents\GitHub\SerialObserver\Serial Observer\Serial Observer\bin\Release\Serial Observer.exe.config
C:\Users\Jean-Daniel\Documents\GitHub\SerialObserver\Serial Observer\Serial Observer\bin\Release\Serial Observer.exe
C:\Users\Jean-Daniel\Documents\GitHub\SerialObserver\Serial Observer\Serial Observer\bin\Release\Serial Observer.pdb
C:\Users\Jean-Daniel\Documents\GitHub\SerialObserver\Serial Observer\Serial Observer\obj\Release\Serial Observer.csprojResolveAssemblyReference.cache
C:\Users\Jean-Daniel\Documents\GitHub\SerialObserver\Serial Observer\Serial Observer\obj\Release\Serial_Observer.Form1.resources
C:\Users\Jean-Daniel\Documents\GitHub\SerialObserver\Serial Observer\Serial Observer\obj\Release\Serial_Observer.Properties.Resources.resources
C:\Users\Jean-Daniel\Documents\GitHub\SerialObserver\Serial Observer\Serial Observer\obj\Release\Serial Observer.csproj.GenerateResource.cache
C:\Users\Jean-Daniel\Documents\GitHub\SerialObserver\Serial Observer\Serial Observer\obj\Release\Serial Observer.csproj.CoreCompileInputs.cache
C:\Users\Jean-Daniel\Documents\GitHub\SerialObserver\Serial Observer\Serial Observer\obj\Release\Serial Observer.exe
C:\Users\Jean-Daniel\Documents\GitHub\SerialObserver\Serial Observer\Serial Observer\obj\Release\Serial Observer.pdb