mirror of
https://github.com/Stefan-5422/Superbuchaltung.git
synced 2026-09-10 07:36:06 +02:00
Added Scaling
This commit is contained in:
@@ -99,6 +99,7 @@
|
||||
this.Controls.Add(this.Kontonamebox);
|
||||
this.Name = "Addentrie";
|
||||
this.Text = "Addentrie";
|
||||
this.Load += new System.EventHandler(this.Addentrie_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
|
||||
@@ -41,15 +41,9 @@ namespace Superbuchhaltung
|
||||
if (MessageBox.Show("Der Kontoname Existiert bereits!\nWollen sie eine zweite Instanz erstellen?", "Konto existiert bereits", MessageBoxButtons.YesNo, MessageBoxIcon.Error) == DialogResult.No) goto goback;
|
||||
}
|
||||
File.AppendAllLines(@"C:\Users\Public\TestFolder\" + Kontonummerbox.Text.Substring(0,1) + @".txt", write);
|
||||
goback:
|
||||
FormCollection fc = Application.OpenForms;
|
||||
foreach(Form frm in fc)
|
||||
{
|
||||
if(frm.Name == "Ohno Buchaltung")
|
||||
{
|
||||
frm.Refresh();
|
||||
}
|
||||
}
|
||||
goback:
|
||||
Main m = new Main();
|
||||
m.Reloadview();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -62,5 +56,10 @@ namespace Superbuchhaltung
|
||||
{
|
||||
Close();
|
||||
}
|
||||
|
||||
private void Addentrie_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user