Example #1
0
 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;
 }
Example #2
0
 public Add(Repository.IAdminRepository repo)
 {
     repository = repo;
     InitializeComponent();
     CompPath.Enabled = false;
 }