public Edit(Repository.IAdminRepository repo, string id, string name, string description, string path, string type) { repository = repo; InitializeComponent(); CompID.Text = id; CompName.Text = name; CompPath.Text = path; CompDesc.Text = description; CompType.Text = type; }
public Add(Repository.IAdminRepository repo) { repository = repo; InitializeComponent(); CompPath.Enabled = false; }