Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
public void Forms_FormClosing(object sender, FormClosingEventArgs e)
{
try
{
RegHelper.SetSpecificKey("lastX", this.Location.X.ToString());
RegHelper.SetSpecificKey("lastY", this.Location.Y.ToString());
}
catch (Exception ex)
{
DebugHelper.WriteToLog(ex.Message.ToString());
}
}
protected override void OnFormClosing(FormClosingEventArgs e)
{
base.OnFormClosing(e);
if (!e.Cancel)
{
//Speicher zeugs
}
}
protected virtual void Forms_FormClosing(object sender, FormClosingEventArgs e)
{
try
{
RegHelper.SetSpecificKey("lastX", this.Location.X.ToString());
RegHelper.SetSpecificKey("lastY", this.Location.Y.ToString());
}
catch (Exception ex)
{
DebugHelper.WriteToLog(ex.Message.ToString());
}
}
protected override void frmLogin_FormClosing(object sender, FormClosingEventArgs e)
{
}
Error 2 'xyz.forms.frmLogin.frmLogin_FormClosing(object, System.Windows.Forms.FormClosingEventArgs)': no suitable method found to override E:\xyz\xyz\xyz\xyz\frmLogin.cs 155 33 xyz