Example #1
0
        /// <summary>
        /// Yeni butonu oluşturulmuştur. Tekrardan boş bir forma kayıt eklemek için tıklanılır...
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnYeni_Click(object sender, EventArgs e)
        {
            UIPatientProcess goPatient = new UIPatientProcess();

            this.Hide();
            goPatient.MdiParent = this.MdiParent;
            goPatient.Show();
            goPatient.Location = new Point(1000, 55);
        }
        private void btnHastaBilgisi_Click(object sender, EventArgs e)
        {
            if (process.FillToArea(txtDosyaNumara.Text))
            {
                MessageBox.Show(txtDosyaNumara.Text + " dosya numaralı kişinin bilgileri getiriliyor  .. \n\n" +
                                "Gelen hasta bilgileri üzerinde güncelleme - silme işlemlerini de gerçekleştirebilirsiniz .. ",
                                "Bildiri",
                                MessageBoxButtons.OK,
                                MessageBoxIcon.Information);
            }
            else
            {
                MessageBox.Show(txtDosyaNumara.Text + " dosya numaralı kişi yok İsterseniz hasta ekleyebilirsiniz  ... ! ",
                                "Bildiri",
                                MessageBoxButtons.OK,
                                MessageBoxIcon.Information);
            }

            process.MdiParent = this.MdiParent;
            process.Show();
            process.Location = new Point(130, 55);
        }