返回信息流Public Overrides Sub AddToTab(ByVal o As System.Windows.Forms.TabPage)
tree = New TreeView
tree.Dock = DockStyle.Fill
For Each i As SyncBlock.BlockType In [Enum].GetValues(GetType(SyncBlock.BlockType))
Dim rootNode As New TreeNode(i.ToString)
block.Add(i, rootNode)
Next
tree.Nodes.Add(root)
o.Text = "SyncData"
o.Controls.Add(tree)
o.Controls(0).Dock = DockStyle.Fill
'test
AddHandler FiddlerApplication.AfterSessionComplete, AddressOf AfterSessionComplete
End Sub
这是一条镜像帖。来源:北邮人论坛 / dot-net / #3574同步于 2012/2/9
该镜像源已超过 30 天没有更新,可能在源站已被删除。
dotNET机器人发帖
Re: Syntax Highligh Test
Kazuki
2012/2/9镜像同步3 回复
订阅后,新回复会通过你的通知中心匿名送达。
3 条回复
【 在 dao 的大作中提到: 】
: [code=c#]
: using System.Globalization;
: CultureInfo MyCultureInfo = new CultureInfo("en-US");
: ...................
test
int
main (void)
{
// use the default event loop unless you have special needs
struct ev_loop *loop = EV_DEFAULT;
// initialise an io watcher, then start it
// this one will watch for stdin to become readable
ev_io_init (&stdin_watcher, stdin_cb, /*STDIN_FILENO*/ 0, EV_READ);
ev_io_start (loop, &stdin_watcher);
// initialise a timer watcher, then start it
// simple non-repeating 5.5 second timeout
ev_timer_init (&timeout_watcher, timeout_cb, 5.5, 0.);
ev_timer_start (loop, &timeout_watcher);
// now wait for events to arrive
ev_run (loop, 0);
// break was called, so exit
return 0;
}
//
// main.m
// HelloWorld
//
// Created by Alex R on 11-12-31.
// Copyright (c) 2011年 Seymour Dev. All rights reserved.
//
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[])
{
@autoreleasepool {
// insert code here...
NSLog(@"Hello, World!");
}
return 0;
}