-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDogLicense.cs
51 lines (37 loc) · 1.22 KB
/
DogLicense.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Vet_Clinic
{
public partial class DogLicense : Form
{
public DogLicense(int custNum, String aName)
{
InitializeComponent();
this.licenseDataTableAdapter.Fill(this.vetclinicDataSet.LicenseData, custNum, aName);
this.Activate();
}
private void DogLicense_Load(object sender, EventArgs e)
{
if (neuteredLabel1.Text.Equals("True")) label1.Text = "כן";
else label1.Text = "לא";
if (seeingEyeDogLabel1.Text.Equals("True")) label2.Text = "כן";
else label2.Text = "לא";
if (dangerousLabel1.Text.Equals("True")) label3.Text = "כן";
else label3.Text = "לא";
}
private void printDocument1_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
button1.Hide();
printForm1.Print();
}
}
}