コード例 #1
0
ファイル: ReferenceBook.cs プロジェクト: Chebotkov/Polyclinic
 private void ReferenceBook_FormClosed(object sender, FormClosedEventArgs e)
 {
     if (IsOpenedFromMedicalCardForm)
     {
         MedicalCardForm MF = this.Owner as MedicalCardForm;
         MF.RefreshDrugsAndDiagnosis(Drugs, Diagnoses);
     }
 }
コード例 #2
0
        private void OpenPatientsCardBtn_Click(object sender, EventArgs e)
        {
            MedicalCardForm MC = new MedicalCardForm();

            IMedicalCardViewRef = MC;
            OpenPatientsCard_Click?.Invoke(this, EventArgs.Empty);
            MC.Show();
        }