-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAnaForm.cs
69 lines (59 loc) · 1.71 KB
/
AnaForm.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SOHATS
{
public partial class AnaForm : Form
{
public AnaForm()
{
InitializeComponent();
formControl = new FormControl(this);
}
FormControl formControl;
private void AnaForm_Load(object sender, EventArgs e)
{
formControl.Open(new Login());
}
public void GirisBasarisiz()
{
menuStrip1.Enabled = false;
referanslar.Visible = false;
referanslar.Enabled = false;
}
private void poliklinikTanitma_Click(object sender, EventArgs e)
{
formControl.Open(new PoliTanit(this,formControl));
}
private void kullanıcıTanıtma_Click(object sender, EventArgs e)
{
formControl.Open(new KulTanit(this, formControl));
}
private void logout_Click(object sender, EventArgs e)
{
GirisBasarisiz();
formControl.Open(new Login());
}
private void cikis_Click(object sender, EventArgs e)
{
this.Close();
}
private void hastaİşlemleriToolStripMenuItem_Click(object sender, EventArgs e)
{
if(menuStrip1.Enabled != false)
{
formControl.Open(new HastaProcess(this, formControl));
}
}
private void rapor1ToolStripMenuItem_Click(object sender, EventArgs e)
{
formControl.Open(new Rapor(this, formControl));
}
}
}