public UIActionSheet(string title, IUIActionSheetDelegate del, string cancelTitle, string destroy, params string [] other) : this(title, del, null, null, (string)null) { if (destroy != null) { DestructiveButtonIndex = AddButton(destroy); } if (other == null) { if (cancelTitle != null) { CancelButtonIndex = AddButton(cancelTitle); } return; } foreach (string b in other) { if (b != null) { AddButton(b); } } if (cancelTitle != null) { CancelButtonIndex = AddButton(cancelTitle); } }
public UIActionSheet(string title, IUIActionSheetDelegate del, string cancelTitle, string destroy, params string [] other) : this(title, del, null, null, (string) null) { if (destroy != null) DestructiveButtonIndex = AddButton (destroy); if (other == null) { if (cancelTitle != null) CancelButtonIndex = AddButton (cancelTitle); return; } foreach (string b in other){ if (b != null) AddButton (b); } if (cancelTitle != null) CancelButtonIndex = AddButton (cancelTitle); }
public UIActionSheet(string title, IUIActionSheetDelegate del) : this(title, del, null, null, (string) null) { }
public UIActionSheet(string title, IUIActionSheetDelegate del) : this(title, del, null, null, (string)null) { }