1.1 --- a/Client/MainForm.cs Sat Oct 25 13:35:11 2014 +0200
1.2 +++ b/Client/MainForm.cs Sun Oct 26 16:16:57 2014 +0100
1.3 @@ -134,7 +134,7 @@
1.4 //TextField top = new TextField(0, textBoxTop.Text, ContentAlignment.MiddleLeft);
1.5 iTextFieldTop.Text = textBoxTop.Text;
1.6 iTextFieldTop.Alignment = Alignment;
1.7 - iClient.SetText(iTextFieldTop);
1.8 + iClient.SetField(iTextFieldTop);
1.9 }
1.10
1.11 private void buttonSetText_Click(object sender, EventArgs e)
1.12 @@ -143,7 +143,7 @@
1.13 //iClient.SetText(1, "Bottom");
1.14 //TextField top = new TextField(0, textBoxTop.Text, ContentAlignment.MiddleLeft);
1.15
1.16 - iClient.SetTexts(new DataField[]
1.17 + iClient.SetFields(new DataField[]
1.18 {
1.19 new DataField(0, textBoxTop.Text, Alignment),
1.20 new DataField(1, textBoxBottom.Text, Alignment)
1.21 @@ -179,7 +179,7 @@
1.22
1.23 DataField field = new DataField(0, bitmap);
1.24 field.ColumnSpan = 2;
1.25 - iClient.SetBitmap(field);
1.26 + iClient.SetField(field);
1.27 }
1.28
1.29 private void buttonBitmapLayout_Click(object sender, EventArgs e)
1.30 @@ -221,12 +221,11 @@
1.31 DataField field = new DataField(0, bitmap);
1.32 //We want our bitmap field to span across two rows
1.33 field.RowSpan = 2;
1.34 - //Send it to our server
1.35 - iClient.SetBitmap(field);
1.36
1.37 //Set texts
1.38 - iClient.SetTexts(new DataField[]
1.39 + iClient.SetFields(new DataField[]
1.40 {
1.41 + field,
1.42 new DataField(1, textBoxTop.Text, Alignment),
1.43 new DataField(2, textBoxBottom.Text, Alignment)
1.44 });