controlapp/ControlApp/Webform.cs
Merith-TK 3e31aa0363 Decompile and Rebuild v0.1.2
begin work: base version 0993

move original program for orgnization

golang work

snapshot decompiled code

it builds! (but doesnt run)

source code bump

library stash

decompile 0.1.2, make it build
2025-02-25 21:37:38 -08:00

43 lines
932 B
C#

using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace ControlApp;
public class Webform : Form
{
private IContainer components;
public Webform(string Url)
{
WebBrowser wb = new WebBrowser();
wb.Navigate(Url);
wb.Dock = DockStyle.Fill;
base.Controls.Add(wb);
InitializeComponent();
}
protected override void OnFormClosing(FormClosingEventArgs e)
{
base.OnFormClosing(e);
}
protected override void Dispose(bool disposing)
{
if (disposing && components != null)
{
components.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
{
base.SuspendLayout();
base.AutoScaleDimensions = new System.Drawing.SizeF(7f, 15f);
base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
base.ClientSize = new System.Drawing.Size(800, 450);
base.Name = "Webform";
base.ResumeLayout(false);
}
}