private void but_input_Click(object sender, EventArgs e)//输入包的长宽高 { HCSCM_set_size hcsm = new HCSCM_set_size(Length, Weidth, Hight, Stu); hcsm.ShowDialog(); Length = hcsm.Length; Weidth = hcsm.Weidth; Hight = hcsm.Hight; Stu = hcsm.Stu; tb_size.Text = Length + "x" + Weidth + "x" + Hight; tb_stu.Text = Stu + " STU"; }
private void but_input_Click(object sender, EventArgs e) { HCSCM_set_size hcsm = new HCSCM_set_size(Length, Weidth, Hight, Stu); //获取一个值,指是否在Windows任务栏中显示窗体。 hcsm.ShowInTaskbar = false; hcsm.ShowDialog(); Length = hcsm.Length; Weidth = hcsm.Weidth; Hight = hcsm.Hight; Stu = hcsm.Stu; tb_size.Text = Length + "x" + Weidth + "x" + Hight; tb_stu.Text = Stu; }