###### tags: `ProgrammingLanguage` # 報表 :::spoiler 欄位高度 ``` //欄位高度 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; } } ``` :::
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up