1.1 --- a/Server/MainForm.cs Tue Aug 19 21:26:17 2014 +0200
1.2 +++ b/Server/MainForm.cs Wed Aug 20 18:02:30 2014 +0200
1.3 @@ -108,7 +108,7 @@
1.4 }
1.5
1.6 /// <summary>
1.7 - ///
1.8 + ///
1.9 /// </summary>
1.10 void CheckFontHeight()
1.11 {
1.12 @@ -724,6 +724,42 @@
1.13 }
1.14 }
1.15
1.16 + private void buttonAddRow_Click(object sender, EventArgs e)
1.17 + {
1.18 + if (tableLayoutPanel.RowCount < 6)
1.19 + {
1.20 + tableLayoutPanel.RowCount++;
1.21 + CheckFontHeight();
1.22 + }
1.23 + }
1.24 +
1.25 + private void buttonRemoveRow_Click(object sender, EventArgs e)
1.26 + {
1.27 + if (tableLayoutPanel.RowCount > 1)
1.28 + {
1.29 + tableLayoutPanel.RowCount--;
1.30 + CheckFontHeight();
1.31 + }
1.32 + }
1.33 +
1.34 + private void buttonAddColumn_Click(object sender, EventArgs e)
1.35 + {
1.36 + if (tableLayoutPanel.ColumnCount < 8)
1.37 + {
1.38 + tableLayoutPanel.ColumnCount++;
1.39 + //CheckFontHeight();
1.40 + }
1.41 + }
1.42 +
1.43 + private void buttonRemoveColumn_Click(object sender, EventArgs e)
1.44 + {
1.45 + if (tableLayoutPanel.ColumnCount > 1)
1.46 + {
1.47 + tableLayoutPanel.ColumnCount--;
1.48 + //CheckFontHeight();
1.49 + }
1.50 + }
1.51 +
1.52
1.53 }
1.54