<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:415252525;
        mso-list-type:hybrid;
        mso-list-template-ids:1953901986 134807553 134807555 134807557 134807553 134807555 134807557 134807553 134807555 134807557;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l1
        {mso-list-id:1265840479;
        mso-list-type:hybrid;
        mso-list-template-ids:1962074580 134807553 134807555 134807557 134807553 134807555 134807557 134807553 134807555 134807557;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l1:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l1:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l1:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l1:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l1:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l1:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l1:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l1:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m a bit struggling to understand the logic behind the UI DEMO. (I’m sorry Grant!) When I have been working with NET I used many times form and clicking into a button<o:p></o:p></p>
<p class="MsoNormal">I was going into the code, so quite straight and easy.<o:p></o:p></p>
<p class="MsoNormal">In this app instead is quite different is much more advanced, and with my basic knowledge I’m a bit disorientated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">To understand how it works I’m trying to start from each button to get the actual code that is executed. Let me to do an example.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The “Connect” button has this code:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515">StackPanel</span><span style="font-size:9.5pt;font-family:Consolas;color:red">
 Orientation</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">="Horizontal"</span><span style="font-size:9.5pt;font-family:Consolas;color:red"> HorizontalAlignment</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">="Center"></span><span style="font-size:9.5pt;font-family:Consolas;color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black">                   
</span><span style="font-size:9.5pt;font-family:Consolas;color:blue"><</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515">Button</span><span style="font-size:9.5pt;font-family:Consolas;color:red"> x</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">:</span><span style="font-size:9.5pt;font-family:Consolas;color:red">Name</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">="bttnConnectu"</span><span style="font-size:9.5pt;font-family:Consolas;color:red">
 Content</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">="Connect"</span><span style="font-size:9.5pt;font-family:Consolas;color:red"> Width</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">="80"</span><span style="font-size:9.5pt;font-family:Consolas;color:red">
<span style="background:yellow;mso-highlight:yellow">Command</span></span><span style="font-size:9.5pt;font-family:Consolas;color:blue">="{</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515">Binding</span><span style="font-size:9.5pt;font-family:Consolas;color:red">
 ConnectCommand</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">}"</span><span style="font-size:9.5pt;font-family:Consolas;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black">                      
</span><span style="font-size:9.5pt;font-family:Consolas;color:red"> Style</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">="{</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515">StaticResource</span><span style="font-size:9.5pt;font-family:Consolas;color:red">
 EnableIfDisconnected</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">}"/>]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><o:p> </o:p></span></p>
<p class="MsoNormal">What I’m looking to find is the action behind it, that should be link through the “<span style="background:yellow;mso-highlight:yellow">Command</span>” so
<span style="font-size:9.5pt;font-family:Consolas;color:blue">"{</span>binding ConnectCommand<span style="font-size:9.5pt;font-family:Consolas;color:blue">}"</span>.
<o:p></o:p></p>
<p class="MsoNormal">I think that it is inside ConnectionViewModel.cs, (pls correct me if I’m wrong).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue">public</span><span style="font-size:9.5pt;font-family:Consolas;color:black">
</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">class</span><span style="font-size:9.5pt;font-family:Consolas;color:black">
</span><span style="font-size:9.5pt;font-family:Consolas;color:#2B91AF">ConnectionViewModel</span><span style="font-size:9.5pt;font-family:Consolas;color:black"> :
</span><span style="font-size:9.5pt;font-family:Consolas;color:#2B91AF">ViewModelBase</span><span style="font-size:9.5pt;font-family:Consolas;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black"> 
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue">public</span><span style="font-size:9.5pt;font-family:Consolas;color:black">
</span><span style="font-size:9.5pt;font-family:Consolas;color:#2B91AF">ICommand</span><span style="font-size:9.5pt;font-family:Consolas;color:black"> ConnectCommand {</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">get</span><span style="font-size:9.5pt;font-family:Consolas;color:black">;</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">set</span><span style="font-size:9.5pt;font-family:Consolas;color:black">;}<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none">I’m not able to understand what it run inside this class and how.<o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none">Then there are the <o:p></o:p></p>
<ul style="margin-top:0cm" type="disc">
<li class="MsoListParagraph" style="margin-left:0cm;mso-list:l0 level1 lfo2;text-autospace:none">
FIX Application<o:p></o:p></li><li class="MsoListParagraph" style="margin-left:0cm;mso-list:l0 level1 lfo2;text-autospace:none">
UIDemo<o:p></o:p></li><li class="MsoListParagraph" style="margin-left:0cm;mso-list:l0 level1 lfo2;text-autospace:none">
UnitTest<o:p></o:p></li></ul>
<p class="MsoNormal" style="text-autospace:none"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none">“Fix Application” look like the proper engine that is creating the messages, but I don’t understand how it interact with the UI Demo.<o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none">The “UIdemo, okay is the code behind the form, but can It run by itself or does it need it the “FIX application” to work?<o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none">The “Unit Test” are test okay!, but how can you select which test you would like to run and how it interacts with the rest of the app?
<o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none">And finally, last question where can I find the script that establish where to look for the connection? Now I’m running the “executor” and the “UI” on my pc so probably
<o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none">There is a “look on local host” wrote somewhere, but let’s said that I would like to move the executor into another pc inside my network where should I write the new IP?<o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none">I know that you suggested to avoid the UIDemo but with it looks like is easier to understand. I had a look also to the “Examples.TradeClient” and okay maybe for you it looks much more easier but once I open the
 only script that I found is the “Trade Client App” things are not getting better … for example what is the
<span style="font-size:9.5pt;font-family:Consolas;color:#2B91AF">IInitiator?<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none">Many Thanks! <o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none">Simone <o:p></o:p></p>
</div>
<style>
font {
        color:#000000;
        font-family:"Calibri";
        font-size:12px;
        }
</style><font>Simone Cavallarin</font>
<br>
<font>T. +44 203 002 1866 | F. +44 203 002 1856 | M. +44 741 387 6068</font> <br>
<a href="mailto:simone.cavallarin@banorcapital.com"><font>Simone.Cavallarin@banorcapital.com</a> | <a href="http://www.banorcapital.com/"><font>www.banorcapital.com</font></a><br>
<br>
<img src="http://www.banorcapital.com/wp-content/themes/banor/images/logo.png" alt="Logo" width="150" height="40"><br>
<br>
<font>Banor Capital Limited</font> <br>
<font>6<sup>th</sup> Floor, 16 Berkeley Street, London W1J 8DZ (UK)</font> <br>
<br>
<font>Banor Capital Limited is Authorised and Regulated by the Financial Conduct Authority. Please visit <a href="http://www.banorcapital.com/Disclaimer.html"><font>our website</a> for important disclaimers/disclosures regarding Banor Capital’s services.</font>
<br>
<br>
<br>
</font></font>
</body>
</html>