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 App() | |
{ | |
// The root page of your application | |
MainPage = new MapPage(); | |
} |
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
[Authorize] | |
public class TodoItemController : TableController<TodoItem> |
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
System.Windows.Input.Keyboard.ClearFocus(); |
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
/// <summary> | |
/// ポーリング間隔:1分 | |
/// </summary> | |
private static readonly int PollingInterval = 60 * 1000; | |
static void Main(string[] args) | |
{ | |
while (true) | |
{ | |
// 一定時間スリープする |
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
IntPtr srcIntPtr = System.Runtime.InteropServices.Marshal.AllocCoTaskMem(length); | |
try | |
{ | |
// ここに処理を記載する | |
} | |
finally | |
{ | |
System.Runtime.InteropServices.Marshal.FreeCoTaskMem(srcIntPtr); | |
} |
NewerOlder