public TodoListForm(Business.Repositories.TodoRepository _todorepo, Business.Repositories.ContactRepository _contactRepository, Business.Repositories.AppointmentRepository _appointmentRepository) { this._todorepo = _todorepo; this._contactRepository = _contactRepository; this._appointmentRepository = _appointmentRepository; InitializeComponent(); InitializeFormElements(); this.DoubleBuffered = true; }
public AddContactForm(Business.Repositories.ContactRepository _contactRepository) { this._contactRepository = _contactRepository; InitializeComponent(); initializeSelectables(); if (System.Diagnostics.Debugger.IsAttached) { this.generateRandomContactButton.Visible = true; } else { this.generateRandomContactButton.Visible = false; } }