Example #1
0
 public EditUser(User user, Lockifi grandparentI)
 {
     current_user = user;
     grandparent  = grandparentI;
     InitializeComponent();
     textBoxUsername.Text = current_user.name;
 }
Example #2
0
        public AddUsername(Lockifi grandparentI)
        {
            grandparent = grandparentI;

            InitializeComponent();
            username = "";
            buttonAcceptUsername.Focus();
        }
Example #3
0
 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);
 }
Example #4
0
 public AddRouter(Lockifi grandparentI)
 {
     grandparent = grandparentI;
     InitializeComponent();
     fileSelected = false;
 }