Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
private void button1_Click(object sender, System.EventArgs e)
{
drawString(textBox1.Text, panel1);
}
private void drawString(string text, Control c)
{
Graphics g = c.CreateGraphics();
Font font = new Font("Arial", 18);
SizeF size = g.MeasureString(text, font);
g.DrawString(text, font, new SolidBrush(Color.Blue), c.Width-size.Width, 10);
g.Dispose();
}