This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Drawing; | |
using MonoTouch.UIKit; | |
using MonoTouch.Foundation; | |
using System.Collections.Generic; | |
namespace MonoTouch.UIKit | |
{ | |
public enum MessageBoxResult | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
using System.Windows.Forms; | |
namespace SkypeAPISample | |
{ | |
public partial class Form1 : Form | |
{ | |
public Form1() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Last update: 2013/5/29 | |
Order by | |
・English | |
・Japanese | |
・Chinese (hant) | |
・Chinese (hans) | |
・Korean | |
・French |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | |
{ | |
self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease]; | |
// Override point for customization after application launch. | |
self.viewController = [[[ViewController alloc] initWithNibName:@"ViewController" bundle:nil] autorelease]; | |
//self.window.rootViewController = self.viewController; | |
//[self.window makeKeyAndVisible]; | |
NSURLRequest *req = [[NSURLRequest alloc] initWithURL:[NSURL URLWithString:@"http://ch3cooh.jp/"]]; | |
[NSURLConnection sendAsynchronousRequest:req |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | |
{ | |
self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease]; | |
// ローディング画面 | |
self.viewControllerA = [[[ViewController alloc] initWithNibName:@"ViewController" bundle:nil] autorelease]; | |
// 起動画面とする | |
self.viewControllerB = [[[MainViewController alloc] initWithNibName:@"MainViewController" bundle:nil] autorelease]; | |
// まずはローディング画面を表示するでござる |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Grid HorizontalAlignment="Right" | |
VerticalAlignment="Center" | |
Margin="0,0,20,0" | |
RenderTransformOrigin="0.5,0.5" | |
Width="{Binding ActualWidth, ElementName=innnerTextBlock, Mode=OneWay}" | |
Height="{Binding ActualWidth, ElementName=innnerTextBlock, Mode=OneWay}"> | |
<Grid Background="Blue" HorizontalAlignment="Center" VerticalAlignment="Bottom"> | |
<TextBlock Name="innnerTextBlock" | |
Foreground="Black" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Grid HorizontalAlignment="Right" | |
VerticalAlignment="Center" | |
Margin="0,0,20,0" | |
RenderTransformOrigin="0.5,0.5" | |
Width="{Binding ActualWidth, ElementName=innerGrid, Mode=OneWay}" | |
Height="{Binding ActualWidth, ElementName=innerGrid, Mode=OneWay}"> | |
<Grid Name="innerGrid" Background="Blue" HorizontalAlignment="Center" VerticalAlignment="Bottom"> | |
<TextBlock | |
Foreground="White" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Page | |
x:Name="pageRoot" | |
x:Class="NoPushSample.GroupedItemsPage" | |
DataContext="{Binding DefaultViewModel, RelativeSource={RelativeSource Self}}" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:local="using:NoPushSample" | |
xmlns:data="using:NoPushSample.Data" | |
xmlns:common="using:NoPushSample.Common" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public async Task UploadAsync(IEnumerable<Windows.Storage.IStorageFile> files) | |
{ | |
var authClient = new LiveAuthClient(); | |
var result = await authClient.InitializeAsync(ScopesLiveSdk); | |
var client = new LiveConnectClient(result.Session); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void Hoge() | |
{ | |
var endPoint = "https://"; | |
var parm = new Dictionary<string, string>(); | |
parm["rdf:type"] = "odpt:TrainInformation"; | |
parm["acl:consumerKey"] = アクセスキー"; | |
var url = string.Format("{0}?{1}", endPoint, | |
string.Join("&", parm.Select(p => string.Format("{0}={1}", p.Key, p.Value)))); |