Cience
Cience
CC#
Created by Cience on 8/15/2023 in #help
❔ Webview2 showing nothing just blank
ping me if you respond
5 replies
CC#
Created by Cience on 8/15/2023 in #help
❔ Webview2 showing nothing just blank
and test.cs
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Windows.Forms;

namespace test
{
public partial class test : Form
{
public test()
{
InitializeComponent();
}

private void test_Load(object sender, EventArgs e)
{
webView21.Source = new Uri(string.Format("https://google.com", Directory.GetCurrentDirectory()));

}
}
}
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Windows.Forms;

namespace test
{
public partial class test : Form
{
public test()
{
InitializeComponent();
}

private void test_Load(object sender, EventArgs e)
{
webView21.Source = new Uri(string.Format("https://google.com", Directory.GetCurrentDirectory()));

}
}
}
5 replies
CC#
Created by Cience on 8/15/2023 in #help
❔ Webview2 showing nothing just blank
Designer.cs
webView21 = new Microsoft.Web.WebView2.WinForms.WebView2();
((System.ComponentModel.ISupportInitialize)webView21).BeginInit();
SuspendLayout();
//
// webView21
//
webView21.AllowExternalDrop = true;
webView21.BackColor = SystemColors.Control;
webView21.CreationProperties = null;
webView21.DefaultBackgroundColor = Color.White;
webView21.Location = new Point(12, 12);
webView21.Name = "webView21";
webView21.Size = new Size(776, 426);
webView21.Source = new Uri("https://google.com", UriKind.Absolute);
webView21.TabIndex = 0;
webView21.ZoomFactor = 1D;
//
// test
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(800, 450);
Controls.Add(webView21);
Name = "test";
Text = "test";
Load += test_Load;
((System.ComponentModel.ISupportInitialize)webView21).EndInit();
ResumeLayout(false);
webView21 = new Microsoft.Web.WebView2.WinForms.WebView2();
((System.ComponentModel.ISupportInitialize)webView21).BeginInit();
SuspendLayout();
//
// webView21
//
webView21.AllowExternalDrop = true;
webView21.BackColor = SystemColors.Control;
webView21.CreationProperties = null;
webView21.DefaultBackgroundColor = Color.White;
webView21.Location = new Point(12, 12);
webView21.Name = "webView21";
webView21.Size = new Size(776, 426);
webView21.Source = new Uri("https://google.com", UriKind.Absolute);
webView21.TabIndex = 0;
webView21.ZoomFactor = 1D;
//
// test
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(800, 450);
Controls.Add(webView21);
Name = "test";
Text = "test";
Load += test_Load;
((System.ComponentModel.ISupportInitialize)webView21).EndInit();
ResumeLayout(false);
5 replies
CC#
Created by Cience on 7/25/2023 in #help
✅ console.writeline not working on Winforms application
@tacosontitan
78 replies
CC#
Created by Cience on 7/25/2023 in #help
✅ console.writeline not working on Winforms application
I upgraded my project to 6.0 and it worked thanks
78 replies
CC#
Created by Cience on 7/25/2023 in #help
✅ console.writeline not working on Winforms application
ill try it
78 replies
CC#
Created by Cience on 7/25/2023 in #help
✅ console.writeline not working on Winforms application
oh alright
78 replies
CC#
Created by Cience on 7/25/2023 in #help
✅ console.writeline not working on Winforms application
not currently
78 replies
CC#
Created by Cience on 7/25/2023 in #help
✅ console.writeline not working on Winforms application
yea is it
78 replies
CC#
Created by Cience on 7/25/2023 in #help
✅ console.writeline not working on Winforms application
yea but for the future
78 replies