コード例 #1
0
ファイル: Home.xaml.cs プロジェクト: lucasroque/Checkpoint
        public Home()
        {
            InitializeComponent();

            email = new Email();
            bobbinRequestManagerControl = new BobbinRequestManagerControl();
            badgeRequestManagerControl  = new BadgeRequestManagerControl();
            bobbinMailControl           = new MailControl(bobbinRequestManagerControl.getBobbinRequestManager());
            badgeMailControl            = new MailControl(badgeRequestManagerControl.getBadgeRequestManager());
        }
コード例 #2
0
        public OpenCallModal()
        {
            InitializeComponent();
            DataContext = new OpenCallViewControl();

            email = new Email();
            openCallManagerControl = new OpenCallManagerControl();
            companyControl         = new CompanyControl();

            mailControl = new MailControl(openCallManagerControl.getOpenCallManager());

            fillCBCompany();
        }
コード例 #3
0
        public void TestFindCouldNotAllocateEmpsMethod()
        {
            MailControl mailControl = new MailControl();

            mailControl.TransferMail();
        }
コード例 #4
0
        private void button1_Click(object sender, EventArgs e)
        {
            MailControl mailControl = new MailControl();

            mailControl.RemoveDuplicate();
        }
コード例 #5
0
 /// <summary>
 /// Callback method after deserialization
 /// </summary>
 /// <param name="sender">sender</param>
 public void OnDeserialization(object sender)
 {
     Control = new MailControl(Properties, Emails);
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new inbox object, with the values of the properties struct given in the argument.
 /// </summary>
 /// <param name="properties">MailboxProperties struct, that carries the necessary data for the mailbox.</param>
 public Mailbox(MailBoxProperties properties)
 {
     Properties = properties;
     Control    = new MailControl(properties, Emails);
 }