private void SplashScreen_Load(object sender, EventArgs e)
{
foreach (string surah in surahs)
{
Button button = new();
button.Width = 100;
button.Text = surah;
button.BackgroundImage = Properties.Resources._343a40;
button.ForeColor = Color.White;
button.Font = new Font(button.Font.FontFamily, 10, FontStyle.Bold);
button.UseCompatibleTextRendering = true;
surahPicker.Controls.Add(button);
}
}
private void SplashScreen_Load(object sender, EventArgs e)
{
foreach (string surah in surahs)
{
Button button = new();
button.Width = 100;
button.Text = surah;
button.BackgroundImage = Properties.Resources._343a40;
button.ForeColor = Color.White;
button.Font = new Font(button.Font.FontFamily, 10, FontStyle.Bold);
button.UseCompatibleTextRendering = true;
surahPicker.Controls.Add(button);
}
}