コード例 #1
0
        private void button5_Click(object sender, EventArgs e)
        {
            FormGetMeasurements frm = new FormGetMeasurements();

            frm.ShowDialog();
            if (frm.flag)
            {
                listBox1.Items.Add(frm.c.Measurements);
            }
        }
コード例 #2
0
        private void button5_Click(object sender, EventArgs e)
        {
            FormGetMeasurements frm = new FormGetMeasurements();

            frm.ShowDialog();
            mList.Add(frm.detailsList);
            typeList.Add(frm.detailsList[0].tempType);
            listBox1.DataSource = new List <string>();
            listBox1.DataSource = typeList;
        }