-
Notifications
You must be signed in to change notification settings - Fork 0
/
FormHasilMathDotNet.cs
33 lines (31 loc) · 1.13 KB
/
FormHasilMathDotNet.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ParallelSPSS
{
public partial class FormHasilMathDotNet : Form
{
public FormHasilMathDotNet()
{
InitializeComponent();
}
private void FormHasilMathDotNet_Load(object sender, EventArgs e)
{
resultTable.Controls.Clear();
for (int i = 0; i < Form1.results.Count; i++)
{
//Debug.Write(Form1.columnChoosen[i]);
resultTable.RowCount = resultTable.RowCount + 1;
resultTable.RowStyles.Add(new RowStyle(SizeType.Absolute, 50F));
resultTable.Controls.Add(new Label() { Text = Form1.columnChoosen[i], Anchor = AnchorStyles.Left, AutoSize = true }, 0, resultTable.RowCount - 1);
resultTable.Controls.Add(new Label() { Text = Form1.results[i].ToString(), Anchor = AnchorStyles.Left, AutoSize = true }, 1, resultTable.RowCount - 1);
}
}
}
}