🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.comp.lang.csharp
Article #391

Re: richTextBox + grafika?

#391
From: Selvin
Date: Mon, 12 Jan 2004 16:55
47 lines
2500 bytes
pierwej wez uzyj "aximp c:\windows\system32\SHDOCVW.DLL"
zostanie stworzona biblioteczka opakowuj�ca
tworzone sa dwie biblioteki
SHDocVw.dll
AxSHDocVw.dll
dodajemy je w referencjach

potem z reki kod

//w deklaracjach:
private AxSHDocVw.AxWebBrowser browser;

//na pocz�tku InitializeComponent()
this.browser = new AxSHDocVw.AxWebBrowser();
((System.ComponentModel.ISupportInitialize)(this.browser)).BeginInit();

//dalej wInitializeComponent()
//
// browser
//
this.browser.Enabled = true;
this.browser.Location = new System.Drawing.Point(104, 464);
this.browser.OcxState =
((System.Windows.Forms.AxHost.State)(resources.GetObject("browser.OcxState")
));
this.browser.Size = new System.Drawing.Size(300, 150);
this.browser.TabIndex = 0;

//pod koniec InitializeComponent()

this.Controls.AddRange(new System.Windows.Forms.Control[] {
           this.button2, //nasze inne kontrolki
           this.textBox1,
           this.neEidt,
           this.button1,
           this.browser});//nasza wspaniala kontrolka

((System.ComponentModel.ISupportInitialize)(this.browser)).EndInit();
this.ResumeLayout(false);

potem jusz powinno si� da� to przemieszcza� i takie tam normalnie bez
wnikania w kod
nie sprawdzalem ale podejrzewam ze dziala

pozdrawiam

Przemek Sulikowski
Technical Details
Message-ID: <btuj3t$1rg$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!newsfeed.tpinternet.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail
References: <8cd9696f7731fccde2c43f82f38a5ffa@total.eclipse> <opr1mlrvmrycg27k@news.gazeta.pl> <77f6815e658514437707e42a30e478b4@total.eclipse> <btto2n$2dv$1@news.onet.pl> <da7633fbce62dfbcf14e0c655b0323d3@total.eclipse>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!newsfeed.tpinternet.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail
From: "Selvin" <selvin...@nospam_osadkowski.com.pl>
Newsgroups: alt.pl.comp.lang.csharp
Subject: Re: richTextBox + grafika?
Date: Mon, 12 Jan 2004 17:55:38 +0100
Organization: news.onet.pl
Lines: 49
Sender: selvin@poczta.onet.pl@217.97.163.92
Message-ID: <btuj3t$1rg$1@news.onet.pl>
References: <8cd9696f7731fccde2c43f82f38a5ffa@total.eclipse> <opr1mlrvmrycg27k@news.gazeta.pl> <77f6815e658514437707e42a30e478b4@total.eclipse> <btto2n$2dv$1@news.onet.pl> <da7633fbce62dfbcf14e0c655b0323d3@total.eclipse>
NNTP-Posting-Host: 217.97.163.92
X-Trace: news.onet.pl 1073926077 1904 217.97.163.92 (12 Jan 2004 16:47:57 GMT)
X-Complaints-To: ab...@onet.pl
NNTP-Posting-Date: 12 Jan 2004 16:47:57 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit