Quantcast
Channel: C#タグが付けられた新着記事 - Qiita
Viewing all articles
Browse latest Browse all 9743

cscの作法 その25

$
0
0

概要

cscの作法、調べてみた。
webbrowser使ってみた。

写真

image.png

サンプルコード

using System;
using System.Windows.Forms;
using System.Drawing;

class form1: Form {
    WebBrowser wb0;
    form1() {
        Text = "WebBrowser";
        ClientSize = new Size(300, 300);
        wb0 = new WebBrowser();
        wb0.Location = new Point(50, 50);
        Controls.AddRange(new Control[] {
            wb0
        });
        string url = "http://www.google.co.jp/";
        wb0.Navigate(url);
    }
    [STAThread]
    public static void Main() {
        Application.Run(new form1());
    }
}

以上。


Viewing all articles
Browse latest Browse all 9743

Trending Articles