public TeamAddPage(TeamMainPage _TeamMainPage)
 {
     InitializeComponent();
     LoadWindowParent(_TeamMainPage);
     EventsInitialize();
     NetworkEventsLoad();
 }
        public TeamEditPage(TeamMainPage _TeamMainPage, TeamGroup TGroup)
        {
            InitializeComponent();
            LoadWindowParent(_TeamMainPage);
            EventsInitialize();

            this.TGroup = TGroup;

            TextBox_TeamName.Text = TGroup.Title;
            TextBox_TeamUid.Text  = TGroup.Uid;
        }
Esempio n. 3
0
        public TeamUserAddPage(TeamMainPage _TeamMainPage)
        {
            InitializeComponent();

            this._TeamMainPage = _TeamMainPage;

            //DataGrid_Users.ItemsSource = UsersNotTeam;
            //DataGrid_UsersOnTeam.ItemsSource = UsersOnTeam;

            Button_NextUser.Click   += Button_NextUser_Click;
            Button_BeforeUser.Click += Button_BeforeUser_Click;
            Button_TeamSave.Click   += Button_TeamSave_Click;
        }
Esempio n. 4
0
        public TeamEditAccessPage(TeamMainPage _TeamMainPage, TeamGroup TGroup)
        {
            InitializeComponent();
            LoadParentWindows(_TeamMainPage);
            NetworkEvents();
            EventsInitialize();

            this.TGroup = TGroup;

            DataGrid_Access.ItemsSource = AccessCollecton;
            DataGrid_Access.IsEnabled   = false;

            Sender.SendToServer("Access.GetAll");
        }
 private void LoadWindowParent(TeamMainPage _TeamMainPage)
 {
     this._TeamMainPage = _TeamMainPage;
 }
Esempio n. 6
0
 private void LoadParentWindows(TeamMainPage _TeamMainPage)
 {
     this._TeamMainPage = _TeamMainPage;
     _TeamMainPage._MainMenuWindow.WindowLogic.SetPage(this);
 }