add openhack files
This commit is contained in:
32
MobileApps/MyDriving/MyDriving.iOS/Cells/ProfileStatCell.cs
Normal file
32
MobileApps/MyDriving/MyDriving.iOS/Cells/ProfileStatCell.cs
Normal file
@ -0,0 +1,32 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for details.
|
||||
|
||||
using Foundation;
|
||||
using System;
|
||||
using UIKit;
|
||||
|
||||
namespace MyDriving.iOS
|
||||
{
|
||||
public partial class ProfileStatCell : UITableViewCell
|
||||
{
|
||||
public ProfileStatCell(IntPtr handle) : base(handle)
|
||||
{
|
||||
}
|
||||
|
||||
public ProfileStatCell(NSString cellId) : base(UITableViewCellStyle.Default, cellId)
|
||||
{
|
||||
}
|
||||
|
||||
public string Value
|
||||
{
|
||||
get { return lblValue.Text; }
|
||||
set { lblValue.Text = value; }
|
||||
}
|
||||
|
||||
public string Name
|
||||
{
|
||||
get { return lblText.Text; }
|
||||
set { lblText.Text = value; }
|
||||
}
|
||||
}
|
||||
}
|
38
MobileApps/MyDriving/MyDriving.iOS/Cells/ProfileStatCell.designer.cs
generated
Normal file
38
MobileApps/MyDriving/MyDriving.iOS/Cells/ProfileStatCell.designer.cs
generated
Normal file
@ -0,0 +1,38 @@
|
||||
// WARNING
|
||||
//
|
||||
// This file has been generated automatically by Visual Studio from the outlets and
|
||||
// actions declared in your storyboard file.
|
||||
// Manual changes to this file will not be maintained.
|
||||
//
|
||||
using Foundation;
|
||||
using System;
|
||||
using System.CodeDom.Compiler;
|
||||
using UIKit;
|
||||
|
||||
namespace MyDriving.iOS
|
||||
{
|
||||
[Register ("ProfileStatCell")]
|
||||
partial class ProfileStatCell
|
||||
{
|
||||
[Outlet]
|
||||
[GeneratedCode ("iOS Designer", "1.0")]
|
||||
UIKit.UILabel lblText { get; set; }
|
||||
|
||||
[Outlet]
|
||||
[GeneratedCode ("iOS Designer", "1.0")]
|
||||
UIKit.UILabel lblValue { get; set; }
|
||||
|
||||
void ReleaseDesignerOutlets ()
|
||||
{
|
||||
if (lblText != null) {
|
||||
lblText.Dispose ();
|
||||
lblText = null;
|
||||
}
|
||||
|
||||
if (lblValue != null) {
|
||||
lblValue.Dispose ();
|
||||
lblValue = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for details.
|
||||
|
||||
using System;
|
||||
using UIKit;
|
||||
|
||||
namespace MyDriving.iOS
|
||||
{
|
||||
public partial class SettingDetailTableViewCell : UITableViewCell
|
||||
{
|
||||
public SettingDetailTableViewCell(IntPtr handle) : base(handle)
|
||||
{
|
||||
}
|
||||
|
||||
public string Name
|
||||
{
|
||||
get { return settingNameLabel.Text; }
|
||||
set { settingNameLabel.Text = value; }
|
||||
}
|
||||
|
||||
public bool Checked
|
||||
{
|
||||
get { return Accessory == UITableViewCellAccessory.Checkmark; }
|
||||
set { Accessory = value ? UITableViewCellAccessory.Checkmark : UITableViewCellAccessory.None; }
|
||||
}
|
||||
}
|
||||
}
|
29
MobileApps/MyDriving/MyDriving.iOS/Cells/SettingDetailTableViewCell.designer.cs
generated
Normal file
29
MobileApps/MyDriving/MyDriving.iOS/Cells/SettingDetailTableViewCell.designer.cs
generated
Normal file
@ -0,0 +1,29 @@
|
||||
// WARNING
|
||||
//
|
||||
// This file has been generated automatically by Visual Studio from the outlets and
|
||||
// actions declared in your storyboard file.
|
||||
// Manual changes to this file will not be maintained.
|
||||
//
|
||||
using Foundation;
|
||||
using System;
|
||||
using System.CodeDom.Compiler;
|
||||
using UIKit;
|
||||
|
||||
namespace MyDriving.iOS
|
||||
{
|
||||
[Register ("SettingDetailTableViewCell")]
|
||||
partial class SettingDetailTableViewCell
|
||||
{
|
||||
[Outlet]
|
||||
[GeneratedCode ("iOS Designer", "1.0")]
|
||||
UIKit.UILabel settingNameLabel { get; set; }
|
||||
|
||||
void ReleaseDesignerOutlets ()
|
||||
{
|
||||
if (settingNameLabel != null) {
|
||||
settingNameLabel.Dispose ();
|
||||
settingNameLabel = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for details.
|
||||
|
||||
using System;
|
||||
using Foundation;
|
||||
using UIKit;
|
||||
|
||||
namespace MyDriving.iOS
|
||||
{
|
||||
public partial class SettingDetailTextFieldTableViewCell : UITableViewCell
|
||||
{
|
||||
public SettingDetailTextFieldTableViewCell(IntPtr handle) : base(handle)
|
||||
{
|
||||
}
|
||||
|
||||
public SettingDetailTextFieldTableViewCell(NSString cellId) : base(UITableViewCellStyle.Default, cellId)
|
||||
{
|
||||
}
|
||||
|
||||
public string Row { get; set; }
|
||||
public string Section { get; set; }
|
||||
|
||||
public string Value
|
||||
{
|
||||
get { return settingTextField.Text; }
|
||||
set { settingTextField.Text = value; }
|
||||
}
|
||||
|
||||
partial void EditingEnded(UITextField sender)
|
||||
{
|
||||
sender.ResignFirstResponder();
|
||||
}
|
||||
|
||||
partial void EditingBegan(UITextField sender)
|
||||
{
|
||||
sender.BecomeFirstResponder();
|
||||
}
|
||||
|
||||
partial void SettingTextFieldValue_Changed(UITextField sender)
|
||||
{
|
||||
if (sender != null && !String.IsNullOrEmpty(sender.Text))
|
||||
{
|
||||
var dict = new NSDictionary("Value", sender.Text, "Row", Row, "Section", Section);
|
||||
NSNotificationCenter.DefaultCenter.PostNotificationName("SettingTextFieldChanged", dict);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
41
MobileApps/MyDriving/MyDriving.iOS/Cells/SettingDetailTextFieldTableViewCell.designer.cs
generated
Normal file
41
MobileApps/MyDriving/MyDriving.iOS/Cells/SettingDetailTextFieldTableViewCell.designer.cs
generated
Normal file
@ -0,0 +1,41 @@
|
||||
// WARNING
|
||||
//
|
||||
// This file has been generated automatically by Visual Studio from the outlets and
|
||||
// actions declared in your storyboard file.
|
||||
// Manual changes to this file will not be maintained.
|
||||
//
|
||||
using Foundation;
|
||||
using System;
|
||||
using System.CodeDom.Compiler;
|
||||
using UIKit;
|
||||
|
||||
namespace MyDriving.iOS
|
||||
{
|
||||
[Register ("SettingDetailTextFieldTableViewCell")]
|
||||
partial class SettingDetailTextFieldTableViewCell
|
||||
{
|
||||
[Outlet]
|
||||
[GeneratedCode ("iOS Designer", "1.0")]
|
||||
UIKit.UITextField settingTextField { get; set; }
|
||||
|
||||
[Action ("EditingBegan:")]
|
||||
[GeneratedCode ("iOS Designer", "1.0")]
|
||||
partial void EditingBegan (UIKit.UITextField sender);
|
||||
|
||||
[Action ("EditingEnded:")]
|
||||
[GeneratedCode ("iOS Designer", "1.0")]
|
||||
partial void EditingEnded (UIKit.UITextField sender);
|
||||
|
||||
[Action ("SettingTextFieldValue_Changed:")]
|
||||
[GeneratedCode ("iOS Designer", "1.0")]
|
||||
partial void SettingTextFieldValue_Changed (UIKit.UITextField sender);
|
||||
|
||||
void ReleaseDesignerOutlets ()
|
||||
{
|
||||
if (settingTextField != null) {
|
||||
settingTextField.Dispose ();
|
||||
settingTextField = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for details.
|
||||
|
||||
using System;
|
||||
using Foundation;
|
||||
using UIKit;
|
||||
|
||||
namespace MyDriving.iOS
|
||||
{
|
||||
public partial class SettingTableViewCell : UITableViewCell
|
||||
{
|
||||
public SettingTableViewCell(IntPtr handle) : base(handle)
|
||||
{
|
||||
}
|
||||
|
||||
public SettingTableViewCell(NSString cellId) : base(UITableViewCellStyle.Default, cellId)
|
||||
{
|
||||
}
|
||||
|
||||
public string Name
|
||||
{
|
||||
get { return nameLabel.Text; }
|
||||
set { nameLabel.Text = value; }
|
||||
}
|
||||
|
||||
public string Value
|
||||
{
|
||||
get { return valueLabel.Text; }
|
||||
set { valueLabel.Text = value; }
|
||||
}
|
||||
}
|
||||
}
|
38
MobileApps/MyDriving/MyDriving.iOS/Cells/SettingTableViewCell.designer.cs
generated
Normal file
38
MobileApps/MyDriving/MyDriving.iOS/Cells/SettingTableViewCell.designer.cs
generated
Normal file
@ -0,0 +1,38 @@
|
||||
// WARNING
|
||||
//
|
||||
// This file has been generated automatically by Visual Studio from the outlets and
|
||||
// actions declared in your storyboard file.
|
||||
// Manual changes to this file will not be maintained.
|
||||
//
|
||||
using Foundation;
|
||||
using System;
|
||||
using System.CodeDom.Compiler;
|
||||
using UIKit;
|
||||
|
||||
namespace MyDriving.iOS
|
||||
{
|
||||
[Register ("SettingTableViewCell")]
|
||||
partial class SettingTableViewCell
|
||||
{
|
||||
[Outlet]
|
||||
[GeneratedCode ("iOS Designer", "1.0")]
|
||||
UIKit.UILabel nameLabel { get; set; }
|
||||
|
||||
[Outlet]
|
||||
[GeneratedCode ("iOS Designer", "1.0")]
|
||||
UIKit.UILabel valueLabel { get; set; }
|
||||
|
||||
void ReleaseDesignerOutlets ()
|
||||
{
|
||||
if (nameLabel != null) {
|
||||
nameLabel.Dispose ();
|
||||
nameLabel = null;
|
||||
}
|
||||
|
||||
if (valueLabel != null) {
|
||||
valueLabel.Dispose ();
|
||||
valueLabel = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
32
MobileApps/MyDriving/MyDriving.iOS/Cells/TripSummaryCell.cs
Normal file
32
MobileApps/MyDriving/MyDriving.iOS/Cells/TripSummaryCell.cs
Normal file
@ -0,0 +1,32 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for details.
|
||||
|
||||
using System;
|
||||
using Foundation;
|
||||
using UIKit;
|
||||
|
||||
namespace MyDriving.iOS
|
||||
{
|
||||
public partial class TripSummaryCell : UITableViewCell
|
||||
{
|
||||
public TripSummaryCell(IntPtr handle) : base(handle)
|
||||
{
|
||||
}
|
||||
|
||||
public TripSummaryCell(NSString cellId) : base(UITableViewCellStyle.Default, cellId)
|
||||
{
|
||||
}
|
||||
|
||||
public string Name
|
||||
{
|
||||
get { return nameLabel.Text; }
|
||||
set { nameLabel.Text = value; }
|
||||
}
|
||||
|
||||
public string Value
|
||||
{
|
||||
get { return valueLabel.Text; }
|
||||
set { valueLabel.Text = value; }
|
||||
}
|
||||
}
|
||||
}
|
32
MobileApps/MyDriving/MyDriving.iOS/Cells/TripSummaryCell.designer.cs
generated
Normal file
32
MobileApps/MyDriving/MyDriving.iOS/Cells/TripSummaryCell.designer.cs
generated
Normal file
@ -0,0 +1,32 @@
|
||||
using Foundation;
|
||||
using System;
|
||||
using System.CodeDom.Compiler;
|
||||
using UIKit;
|
||||
|
||||
namespace MyDriving.iOS
|
||||
{
|
||||
[Register ("TripSummaryCell")]
|
||||
partial class TripSummaryCell
|
||||
{
|
||||
[Outlet]
|
||||
[GeneratedCode ("iOS Designer", "1.0")]
|
||||
UIKit.UILabel nameLabel { get; set; }
|
||||
|
||||
[Outlet]
|
||||
[GeneratedCode ("iOS Designer", "1.0")]
|
||||
UIKit.UILabel valueLabel { get; set; }
|
||||
|
||||
void ReleaseDesignerOutlets ()
|
||||
{
|
||||
if (nameLabel != null) {
|
||||
nameLabel.Dispose ();
|
||||
nameLabel = null;
|
||||
}
|
||||
|
||||
if (valueLabel != null) {
|
||||
valueLabel.Dispose ();
|
||||
valueLabel = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
using Foundation;
|
||||
using System;
|
||||
using UIKit;
|
||||
|
||||
namespace MyDriving.iOS
|
||||
{
|
||||
public partial class TripTableViewCell : UITableViewCell
|
||||
{
|
||||
public TripTableViewCell(IntPtr handle) : base(handle) { }
|
||||
public TripTableViewCell(NSString cellId) : base(UITableViewCellStyle.Default, cellId) { }
|
||||
|
||||
public string LocationName
|
||||
{
|
||||
get { return lblTitle.Text; }
|
||||
set { lblTitle.Text = value; }
|
||||
}
|
||||
|
||||
public string TimeAgo
|
||||
{
|
||||
get { return lblDaysAgo.Text; }
|
||||
set { lblDaysAgo.Text = value; }
|
||||
}
|
||||
|
||||
public string Distance
|
||||
{
|
||||
get { return lblMiles.Text; }
|
||||
set { lblMiles.Text = value; }
|
||||
}
|
||||
}
|
||||
}
|
47
MobileApps/MyDriving/MyDriving.iOS/Cells/TripTableViewCell.designer.cs
generated
Normal file
47
MobileApps/MyDriving/MyDriving.iOS/Cells/TripTableViewCell.designer.cs
generated
Normal file
@ -0,0 +1,47 @@
|
||||
// WARNING
|
||||
//
|
||||
// This file has been generated automatically by Visual Studio from the outlets and
|
||||
// actions declared in your storyboard file.
|
||||
// Manual changes to this file will not be maintained.
|
||||
//
|
||||
using Foundation;
|
||||
using System;
|
||||
using System.CodeDom.Compiler;
|
||||
using UIKit;
|
||||
|
||||
namespace MyDriving.iOS
|
||||
{
|
||||
[Register ("TripTableViewCell")]
|
||||
partial class TripTableViewCell
|
||||
{
|
||||
[Outlet]
|
||||
[GeneratedCode ("iOS Designer", "1.0")]
|
||||
UIKit.UILabel lblDaysAgo { get; set; }
|
||||
|
||||
[Outlet]
|
||||
[GeneratedCode ("iOS Designer", "1.0")]
|
||||
UIKit.UILabel lblMiles { get; set; }
|
||||
|
||||
[Outlet]
|
||||
[GeneratedCode ("iOS Designer", "1.0")]
|
||||
UIKit.UILabel lblTitle { get; set; }
|
||||
|
||||
void ReleaseDesignerOutlets ()
|
||||
{
|
||||
if (lblDaysAgo != null) {
|
||||
lblDaysAgo.Dispose ();
|
||||
lblDaysAgo = null;
|
||||
}
|
||||
|
||||
if (lblMiles != null) {
|
||||
lblMiles.Dispose ();
|
||||
lblMiles = null;
|
||||
}
|
||||
|
||||
if (lblTitle != null) {
|
||||
lblTitle.Dispose ();
|
||||
lblTitle = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for details.
|
||||
|
||||
using System;
|
||||
using Foundation;
|
||||
using UIKit;
|
||||
|
||||
namespace MyDriving.iOS
|
||||
{
|
||||
public partial class TripTableViewCellWithImage : UITableViewCell
|
||||
{
|
||||
public TripTableViewCellWithImage(IntPtr handle) : base(handle)
|
||||
{
|
||||
}
|
||||
|
||||
public TripTableViewCellWithImage(NSString cellId) : base(UITableViewCellStyle.Default, cellId)
|
||||
{
|
||||
}
|
||||
|
||||
public UIImageView DisplayImage
|
||||
{
|
||||
get { return displayImageView; }
|
||||
set { displayImageView = value; }
|
||||
}
|
||||
|
||||
public string LocationName
|
||||
{
|
||||
get { return lblTitle.Text; }
|
||||
set { lblTitle.Text = value; }
|
||||
}
|
||||
|
||||
public string TimeAgo
|
||||
{
|
||||
get { return lblDaysAgo.Text; }
|
||||
set { lblDaysAgo.Text = value; }
|
||||
}
|
||||
|
||||
public string Distance
|
||||
{
|
||||
get { return lblMiles.Text; }
|
||||
set { lblMiles.Text = value; }
|
||||
}
|
||||
}
|
||||
}
|
56
MobileApps/MyDriving/MyDriving.iOS/Cells/TripTableViewCellWithImage.designer.cs
generated
Normal file
56
MobileApps/MyDriving/MyDriving.iOS/Cells/TripTableViewCellWithImage.designer.cs
generated
Normal file
@ -0,0 +1,56 @@
|
||||
// WARNING
|
||||
//
|
||||
// This file has been generated automatically by Visual Studio from the outlets and
|
||||
// actions declared in your storyboard file.
|
||||
// Manual changes to this file will not be maintained.
|
||||
//
|
||||
using Foundation;
|
||||
using System;
|
||||
using System.CodeDom.Compiler;
|
||||
using UIKit;
|
||||
|
||||
namespace MyDriving.iOS
|
||||
{
|
||||
[Register ("TripTableViewCellWithImage")]
|
||||
partial class TripTableViewCellWithImage
|
||||
{
|
||||
[Outlet]
|
||||
[GeneratedCode ("iOS Designer", "1.0")]
|
||||
UIKit.UIImageView displayImageView { get; set; }
|
||||
|
||||
[Outlet]
|
||||
[GeneratedCode ("iOS Designer", "1.0")]
|
||||
UIKit.UILabel lblDaysAgo { get; set; }
|
||||
|
||||
[Outlet]
|
||||
[GeneratedCode ("iOS Designer", "1.0")]
|
||||
UIKit.UILabel lblMiles { get; set; }
|
||||
|
||||
[Outlet]
|
||||
[GeneratedCode ("iOS Designer", "1.0")]
|
||||
UIKit.UILabel lblTitle { get; set; }
|
||||
|
||||
void ReleaseDesignerOutlets ()
|
||||
{
|
||||
if (displayImageView != null) {
|
||||
displayImageView.Dispose ();
|
||||
displayImageView = null;
|
||||
}
|
||||
|
||||
if (lblDaysAgo != null) {
|
||||
lblDaysAgo.Dispose ();
|
||||
lblDaysAgo = null;
|
||||
}
|
||||
|
||||
if (lblMiles != null) {
|
||||
lblMiles.Dispose ();
|
||||
lblMiles = null;
|
||||
}
|
||||
|
||||
if (lblTitle != null) {
|
||||
lblTitle.Dispose ();
|
||||
lblTitle = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user