示例#1
0
        partial void OnPayloadValueChanged(MonoTouch.UIKit.UISegmentedControl sender)
        {
            switch (sender.SelectedSegment)
            {
            case 0:
            {
                this.currentPayloadType = PayloadType.Full;
                break;
            }

            case 1:
            {
                this.currentPayloadType = PayloadType.Content;
                break;
            }

            case 2:
            {
                this.currentPayloadType = PayloadType.Min;
                break;
            }
            }
        }
示例#2
0
 partial void ModeSelect_Changed(MonoTouch.UIKit.UISegmentedControl sender)
 {
     // TODO - Switch from 3 channel to 2 channel on ModeSelect
 }