Client/MainForm.cs
changeset 60 4f2a73683adc
parent 57 544132d07c3b
child 62 ac698f4e1b36
     1.1 --- a/Client/MainForm.cs	Mon Sep 22 10:05:45 2014 +0200
     1.2 +++ b/Client/MainForm.cs	Mon Sep 22 13:00:27 2014 +0200
     1.3 @@ -49,12 +49,12 @@
     1.4          }
     1.5  
     1.6  
     1.7 -       
     1.8 +
     1.9          public delegate void CloseConnectionDelegate();
    1.10          public delegate void CloseDelegate();
    1.11  
    1.12          /// <summary>
    1.13 -        /// 
    1.14 +        ///
    1.15          /// </summary>
    1.16          public void CloseConnectionThreadSafe()
    1.17          {
    1.18 @@ -80,7 +80,7 @@
    1.19          }
    1.20  
    1.21          /// <summary>
    1.22 -        /// 
    1.23 +        ///
    1.24          /// </summary>
    1.25          public void CloseThreadSafe()
    1.26          {
    1.27 @@ -133,6 +133,7 @@
    1.28          {
    1.29              //TextField top = new TextField(0, textBoxTop.Text, ContentAlignment.MiddleLeft);
    1.30              iTextFieldTop.Text = textBoxTop.Text;
    1.31 +            iTextFieldTop.Alignment = Alignment;
    1.32              iClient.SetText(iTextFieldTop);
    1.33          }
    1.34  
    1.35 @@ -143,7 +144,7 @@
    1.36              //TextField top = new TextField(0, textBoxTop.Text, ContentAlignment.MiddleLeft);
    1.37  
    1.38              iClient.SetTexts(new TextField[]
    1.39 -            { 
    1.40 +            {
    1.41                  new TextField(0, textBoxTop.Text, Alignment),
    1.42                  new TextField(1, textBoxBottom.Text, Alignment)
    1.43              });