Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. TableLayoutPanelCellPosition pos = tableLayoutPanel1.GetCellPosition(button1);
  2. int width = tableLayoutPanel1.GetColumnWidths()[pos.Column];
  3. int height = tableLayoutPanel1.GetRowHeights()[pos.Row];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement