private void SetupControls()
        {
            this.mnuServiceTypes = new GeneralTypeMenu(
                DomainModel.ServiceTypes.GetAll());
            this.mnuServiceTypes.ClickAction = OnNewServiceTypeClicked;

            this.editToolbar.ShowDelete     = false;
            this.editToolbar.ShowEdit       = false;
            this.editToolbar.AddContextMenu = this.mnuServiceTypes;

            if (DomainModel.Application.ResourceManager != null)
            {
                this.editToolbar.Title = DomainModel.
                                         Application.ResourceManager.GetText("lbl_services");
            }

            if (Presentation.View.Theme != null)
            {
                this.BackColor             = Presentation.View.Theme.TourGroupItemBackColor;
                this.editToolbar.BackColor = this.BackColor;
            }

            this.tslServices = new TourServiceListView();
            this.tlpMain.Controls.Add(this.tslServices, 0, 1);

            this.Dock             = DockStyle.Fill;
            this.tlpMain.Dock     = DockStyle.Fill;
            this.tslServices.Dock = DockStyle.Fill;
        }
        private void SetupControls()
        {
            if (Presentation.View.Theme != null)
            {
                this.BackColor = Presentation.View.Theme.TourGroupItemBackColor;
            }

            this.mnuSignupType             = new GeneralTypeMenu(DomainModel.SignUpTypes.GetAll());
            this.mnuSignupType.ClickAction = OnSignupTypeMenu;

            this.mnuGroupState             = new GeneralTypeMenu(DomainModel.TourStates.GetAll());
            this.mnuGroupState.ClickAction = OnGroupStateMenu;

            this.btnClose.BackgroundImageLayout = ImageLayout.Zoom;
            this.btnClose.BackgroundImage       = DomainModel.Application.ResourceManager.GetImage("close");
        }