Пример #1
0
        private void btHelp_Click(object sender, RoutedEventArgs e)
        {
            Help1 help1 = new Help1();

            help1.Owner = this;
            help1.ShowDialog();
        }
Пример #2
0
 private void LInkToGreek_Click(object sender, EventArgs e)
 {
     // opens a Greek WindowsForm if the boolean value returned is set to true
     if (Help1.FormOpen("Greek"))
     {
         Greek Greek1 = new Greek();
         Greek1.Show();
         Greek1.TopMost = true;
     }
     else
     {
         Help1.getOpenForm(this.ParentForm, "Greek").Show();
     }
 }
Пример #3
0
 private void LinkToSetTheory_Click(object sender, EventArgs e)
 {
     // opens a setTheory_Logic WindowsForm if the boolean value returned is set to true
     if (Help1.FormOpen("SetTheory_Logic"))
     {
         SetTheory_Logic SetTheory1 = new SetTheory_Logic();
         SetTheory1.Show();
         SetTheory1.TopMost = true;
     }
     else
     {
         Help1.getOpenForm(this.ParentForm, "SetTheory_Logic").Show();
     }
 }
        public Response Handle(Request message)
        {
            var help = new Help1(message.Corp, message.Money, message.Food, message.Name, message.Place, message.FamilyNumber,
                                 message.Income, message.Email, message.Notes, message.Status, message.Address, message.LivAllaw, message.Mobile,
                                 message.Rent, message.IncomeType, message.LivType, message.IdExpire, message.NId, message.Registerme);


            _context.Add(help);
            _context.SaveChanges();

            return(new Response
            {
                Id = help.Helpid
            });
        }