SyntaxHighLighterテスト
ちょっとWindowsLiveWriterのプラグインテスト。
InsertCode
1: Bitmap bmp = Properties.Resources.white_gradation;
2:
3: public Form1()
4: {
5: InitializeComponent();
6: }
7:
8: private void Form1_Load(object sender, EventArgs e)
9: {
10:
11: this.Width = bmp.Width;
12: this.Height = bmp.Height;
13:
14: UpdateFormDisplay(bmp);
15: }
VS Paste
Bitmap bmp = Properties.Resources.white_gradation; public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { this.Width = bmp.Width; this.Height = bmp.Height; UpdateFormDisplay(bmp); }
SyntaxHighLighter 2.0
Bitmap bmp = Properties.Resources.white_gradation;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
this.Width = bmp.Width;
this.Height = bmp.Height;
UpdateFormDisplay(bmp);
}SyntaxHighLiter 1.0
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
this.Width = bmp.Width;
this.Height = bmp.Height;
UpdateFormDisplay(bmp);
}| 固定リンク | コメント (0) | トラックバック (0)

最近のコメント