35 lines
696 B
C#
35 lines
696 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace ELMA
|
|
{
|
|
public partial class WBrowser : Form
|
|
{
|
|
public WBrowser()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public string pageUrl
|
|
{
|
|
get
|
|
{
|
|
return webBrowserCtrl.Url.ToString();
|
|
}
|
|
set
|
|
{
|
|
Uri newUri = new Uri(value);
|
|
webBrowserCtrl.Url = newUri;
|
|
webBrowserCtrl.Refresh();
|
|
}
|
|
}
|
|
}
|
|
}
|