public Home() { InitializeComponent(); email = new Email(); bobbinRequestManagerControl = new BobbinRequestManagerControl(); badgeRequestManagerControl = new BadgeRequestManagerControl(); bobbinMailControl = new MailControl(bobbinRequestManagerControl.getBobbinRequestManager()); badgeMailControl = new MailControl(badgeRequestManagerControl.getBadgeRequestManager()); }
public OpenCallModal() { InitializeComponent(); DataContext = new OpenCallViewControl(); email = new Email(); openCallManagerControl = new OpenCallManagerControl(); companyControl = new CompanyControl(); mailControl = new MailControl(openCallManagerControl.getOpenCallManager()); fillCBCompany(); }
public void TestFindCouldNotAllocateEmpsMethod() { MailControl mailControl = new MailControl(); mailControl.TransferMail(); }
private void button1_Click(object sender, EventArgs e) { MailControl mailControl = new MailControl(); mailControl.RemoveDuplicate(); }
/// <summary> /// Callback method after deserialization /// </summary> /// <param name="sender">sender</param> public void OnDeserialization(object sender) { Control = new MailControl(Properties, Emails); }
/// <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); }