public EditUser(User user, Lockifi grandparentI) { current_user = user; grandparent = grandparentI; InitializeComponent(); textBoxUsername.Text = current_user.name; }
public AddUsername(Lockifi grandparentI) { grandparent = grandparentI; InitializeComponent(); username = ""; buttonAcceptUsername.Focus(); }
public EditRouter(Router router, Lockifi grandparentI) { grandparent = grandparentI; InitializeComponent(); current_router = router; fileSelected = false; textBoxRoutername.Text = current_router.name; labelFile.Text = Path.GetFileName(router.file); }
public AddRouter(Lockifi grandparentI) { grandparent = grandparentI; InitializeComponent(); fileSelected = false; }