ProgrammingLanguage
//欄位高度
private void Data1_AfterLayout(object sender, EventArgs e)
{
TextObject[] TextArray = new TextObject[7];
TextArray[0] = Text9;
TextArray[1] = Text10;
TextArray[2] = Text11;
TextArray[3] = Text12;
TextArray[4] = Text13;
TextArray[5] = Text14;
TextArray[6] = Text15;
float temp_height = 0;
for(int i = 0; i < TextArray.Length; i++){
if(TextArray[i].Height > temp_height)
temp_height = TextArray[i].Height;
}
for(int i = 0; i < TextArray.Length; i++){
TextArray[i].Height = temp_height;
}
}
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up