schreiben

private void printDocument1_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
{
Font Font20 = new Font("Arial",20);
SolidBrush Brushblack = new SolidBrush(Color.Black);
if (drucken != null)
{
for (int i = 0; i < drucken.Length; i++)
{
string t = drucken[i]["Name"].ToString() + " " + drucken[i]["Verkaufspreis"].ToString() + " " + drucken[i]["Hersteller"].ToString();
e.Graphics.DrawString(t, Font20, Brushblack, e.MarginBounds.Left, e.MarginBounds.Top + Font20.Height * i);
}
}
}

User Status

Du bist nicht angemeldet.

Aktuelle Beiträge

update
if (tbHerstellerName.Text.Len gth != 0) {...
meincsharp - 13. Sep, 22:15
add Produkte
public partial class AddProdukt : Form {...
meincsharp - 13. Sep, 22:12
drucker
try { printDialog1.AllowSomePag es...
meincsharp - 13. Sep, 22:10
schreiben
private void printDocument1_PrintPage(o bject sender,...
meincsharp - 13. Sep, 22:10
CB auswählen
private void comboBox1_SelectedIndexCha nged(object...
meincsharp - 13. Sep, 22:09

Links

Suche

 

Status

Online seit 5110 Tagen
Zuletzt aktualisiert: 13. Sep, 22:15

Credits


Profil
Abmelden
Weblog abonnieren