private void joinedPartiesBtn_Click(object sender, EventArgs e)
        {
            Hide();
            var form2 = new JoinedPartiesForm();

            form2.Closed += (s, args) => Close();
            form2.Show();
        }
        private void btnJoinParty_Click(object sender, EventArgs e)
        {
            var index       = PartiesDataGridView.CurrentCell.RowIndex;
            var selectedRow = PartiesDataGridView.Rows[index];
            var a           = Convert.ToInt64(selectedRow.Cells["ID"].Value);
            var userAtParty = new WCFService.UsersAtParty
            {
                userID          = _dataStorage.UserId,
                partyID         = a,
                adminPrivileges = false,
                status          = 0
            };

            _service.CreateUserAtParty(userAtParty);
            Hide();
            var form2 = new JoinedPartiesForm();

            form2.Closed += (s, args) => Close();
            form2.Show();
        }