Beispiel #1
0
        private void btnYeni_Click(object sender, EventArgs e)
        {
            int         deger1 = -1;
            HastaInform hi     = new HastaInform(deger1);

            hi.StartPosition = FormStartPosition.CenterScreen;
            hi.MdiParent     = Form.ActiveForm;
            hi.Show();
        }
Beispiel #2
0
 private void hastabilgileriformuac()
 {
     if (txtdosyano.Text == "")
     {
         throw new HataBosAlan();
     }
     else
     {
         int         deger1 = Convert.ToInt32(txtdosyano.Text);
         HastaInform hi     = new HastaInform(deger1);
         hi.StartPosition = FormStartPosition.CenterScreen;
         hi.MdiParent     = Form.ActiveForm;
         hi.Show();
     }
 }