mirror of
https://github.com/Alvin-Zilverstand/ict-algemeen-opdrachten.git
synced 2026-03-06 13:23:58 +01:00
Enhance MainForm UI with improved colors and layout adjustments
This commit is contained in:
@@ -91,14 +91,16 @@ public class MainForm : Form
|
|||||||
Top = 20,
|
Top = 20,
|
||||||
Left = 20,
|
Left = 20,
|
||||||
Width = 200,
|
Width = 200,
|
||||||
Font = new Font("Arial", 12, FontStyle.Bold)
|
Font = new Font("Arial", 12, FontStyle.Bold),
|
||||||
|
ForeColor = Color.DarkGreen
|
||||||
};
|
};
|
||||||
bedragTextBox = new TextBox()
|
bedragTextBox = new TextBox()
|
||||||
{
|
{
|
||||||
Top = 50,
|
Top = 50,
|
||||||
Left = 20,
|
Left = 20,
|
||||||
Width = 200,
|
Width = 200,
|
||||||
Font = new Font("Arial", 10)
|
Font = new Font("Arial", 10),
|
||||||
|
BackColor = Color.LightYellow
|
||||||
};
|
};
|
||||||
stortenButton = new Button()
|
stortenButton = new Button()
|
||||||
{
|
{
|
||||||
@@ -106,7 +108,8 @@ public class MainForm : Form
|
|||||||
Top = 80,
|
Top = 80,
|
||||||
Left = 20,
|
Left = 20,
|
||||||
Width = 200,
|
Width = 200,
|
||||||
Font = new Font("Arial", 10)
|
Font = new Font("Arial", 10),
|
||||||
|
BackColor = Color.LightBlue
|
||||||
};
|
};
|
||||||
opnemenButton = new Button()
|
opnemenButton = new Button()
|
||||||
{
|
{
|
||||||
@@ -114,7 +117,8 @@ public class MainForm : Form
|
|||||||
Top = 110,
|
Top = 110,
|
||||||
Left = 20,
|
Left = 20,
|
||||||
Width = 200,
|
Width = 200,
|
||||||
Font = new Font("Arial", 10)
|
Font = new Font("Arial", 10),
|
||||||
|
BackColor = Color.LightCoral
|
||||||
};
|
};
|
||||||
transactieGeschiedenisButton = new Button()
|
transactieGeschiedenisButton = new Button()
|
||||||
{
|
{
|
||||||
@@ -122,7 +126,8 @@ public class MainForm : Form
|
|||||||
Top = 140,
|
Top = 140,
|
||||||
Left = 20,
|
Left = 20,
|
||||||
Width = 200,
|
Width = 200,
|
||||||
Font = new Font("Arial", 10)
|
Font = new Font("Arial", 10),
|
||||||
|
BackColor = Color.LightGray
|
||||||
};
|
};
|
||||||
|
|
||||||
stortenButton.Click += StortenButton_Click;
|
stortenButton.Click += StortenButton_Click;
|
||||||
@@ -138,6 +143,7 @@ public class MainForm : Form
|
|||||||
Text = "Bankrekening Beheer";
|
Text = "Bankrekening Beheer";
|
||||||
Size = new Size(300, 250);
|
Size = new Size(300, 250);
|
||||||
StartPosition = FormStartPosition.CenterScreen;
|
StartPosition = FormStartPosition.CenterScreen;
|
||||||
|
BackColor = Color.WhiteSmoke;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void StortenButton_Click(object sender, EventArgs e)
|
private void StortenButton_Click(object sender, EventArgs e)
|
||||||
@@ -172,9 +178,11 @@ public class MainForm : Form
|
|||||||
{
|
{
|
||||||
var transactieGeschiedenis = mijnRekening.GetTransactieGeschiedenis();
|
var transactieGeschiedenis = mijnRekening.GetTransactieGeschiedenis();
|
||||||
string geschiedenis = "Transactiegeschiedenis:\n";
|
string geschiedenis = "Transactiegeschiedenis:\n";
|
||||||
|
geschiedenis += "Datum\t\tBeschrijving\t\tBedrag\n";
|
||||||
|
geschiedenis += "---------------------------------------------\n";
|
||||||
foreach (var transactie in transactieGeschiedenis)
|
foreach (var transactie in transactieGeschiedenis)
|
||||||
{
|
{
|
||||||
geschiedenis += $"{transactie.Datum}: {transactie.Beschrijving} - {transactie.Bedrag:C}\n";
|
geschiedenis += $"{transactie.Datum}\t{transactie.Beschrijving}\t\t{transactie.Bedrag:C}\n";
|
||||||
}
|
}
|
||||||
MessageBox.Show(geschiedenis);
|
MessageBox.Show(geschiedenis);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"runtimeTarget": {
|
|
||||||
"name": ".NETCoreApp,Version=v6.0",
|
|
||||||
"signature": ""
|
|
||||||
},
|
|
||||||
"compilationOptions": {},
|
|
||||||
"targets": {
|
|
||||||
".NETCoreApp,Version=v6.0": {
|
|
||||||
"Bankrekening/1.0.0": {
|
|
||||||
"runtime": {
|
|
||||||
"Bankrekening.dll": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"libraries": {
|
|
||||||
"Bankrekening/1.0.0": {
|
|
||||||
"type": "project",
|
|
||||||
"serviceable": false,
|
|
||||||
"sha512": ""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"runtimeOptions": {
|
|
||||||
"tfm": "net6.0",
|
|
||||||
"frameworks": [
|
|
||||||
{
|
|
||||||
"name": "Microsoft.NETCore.App",
|
|
||||||
"version": "6.0.0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Microsoft.WindowsDesktop.App",
|
|
||||||
"version": "6.0.0"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -13,7 +13,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Bankrekening")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("Bankrekening")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+eaaf39d0c92d3e661fdbd63b97c63ea70e57aae1")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+0c4f18e28032dc0aeac89bd06f9ff78b3a305fc9")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("Bankrekening")]
|
[assembly: System.Reflection.AssemblyProductAttribute("Bankrekening")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("Bankrekening")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("Bankrekening")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
570f059670e381a36f19d47dad73e3c3996ea009c5141deac1b64e5e409a6da8
|
46fb88996bb966b8e5e222448b7604d44cd454030c0bdebbb4b68a31dafe7fdc
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
|||||||
{"documents":{"C:\\Users\\steen\\Desktop\\Alvin\\ict-algemeen-opdrachten\\*":"https://raw.githubusercontent.com/Alvin-Zilverstand/ict-algemeen-opdrachten/eaaf39d0c92d3e661fdbd63b97c63ea70e57aae1/*"}}
|
{"documents":{"C:\\Users\\steen\\Desktop\\Alvin\\ict-algemeen-opdrachten\\*":"https://raw.githubusercontent.com/Alvin-Zilverstand/ict-algemeen-opdrachten/0c4f18e28032dc0aeac89bd06f9ff78b3a305fc9/*"}}
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user