Ejemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            frmPatientEntry frsk = new frmPatientEntry();

            frsk.Show();
            this.Hide();
        }
        private void btnpatient_Click(object sender, EventArgs e)
        {
            frmPatientEntry frm1 = new frmPatientEntry();

            frm1.Show();
            this.Hide();
        }
        private void PatientEntry_Load(object sender, EventArgs e)
        {
            this.Text = "Hospital Project By: Mustafa Alparslan Pamuk";
            Icon myIcon = new Icon(Application.StartupPath + "\\ico1.ico");

            this.Icon = myIcon;
            frmPatientEntry formabc = new frmPatientEntry();

            formabc.StartPosition = FormStartPosition.CenterScreen;
            this.Text             = "Hospital By: Mustafa Alparslan Pamuk";
            Pictureboxpatient.BackgroundImageLayout = ImageLayout.Stretch;
            Pictureboxpatient.Image = Image.FromFile(Application.StartupPath + "\\pat2.gif");
        }