Exemplo n.º 1
0
        public ActionResult Mails()
        {
            MailsView source = new MailsView();

            source.mails        = mng.Mail.GetMails();
            source.mailStatuses = mng.Mail.GetMailStatuses();
            source.contractor   = mng.Contractor.GetContractors();
            return(View(source));
        }
Exemplo n.º 2
0
    private void OnMailsClic()
    {
        mailButton.SetBlinking(false);
        MailsView view = Instantiate(pref.prefabMailsView);

        Window w = sys.NewWindow("Mails", view.gameObject);

        w.Title = "Mails";

        view.SetMailbox(LocalDataManager.instance.Mailbox);
        w.Show();
    }