コード例 #1
0
ファイル: iPhoneList.cs プロジェクト: exaphaser/iphonelist
 private void SetItemLocation(System.Windows.Forms.Control control, ItemLocation thisItem)
 {
     control.Top = thisItem.Top;
     control.Left = thisItem.Left;
     control.Width = thisItem.Width;
     control.Height = thisItem.Height;
 }
コード例 #2
0
ファイル: iPhoneList.cs プロジェクト: exaphaser/iphonelist
 private ItemLocation GetLocationParms(System.Windows.Forms.Control control)
 {
     ItemLocation thisItem = new ItemLocation();
     thisItem.Top = control.Top;
     thisItem.Left = control.Left;
     thisItem.Width = control.Width;
     thisItem.Height = control.Height;
     return thisItem;
 }