Example #1
0
        public override void InitializeLayout()
        {
            base.InitializeLayout();
            Function.LogDebug("ComputerPedView InitializeLayout");

            this.Position = this.GetLaunchPosition();
            this.Window.DisableResizing();
            pedView = new ComputerPedView(this, Entity);
        }
        internal void InitializeLayout()
        {
            Function.LogDebug("Creating ComputerPedView");

            pedView                 = new ComputerPedView(this, DetailedEntity, PedViewQuickActionSelected);
            pedView.Dock            = Pos.Fill;
            tabcontrol_details      = new TabControl(this);
            tabcontrol_details.Dock = Pos.Fill;

            arrestsContainer = new DockBase(this);
            arrestsContainer.Hide();

            trafficCitationContainer = new DockBase(this);
            trafficCitationContainer.Hide();

            var details = tabcontrol_details.AddPage("Details", pedView);

            details.UserData = Page.PED_DETAILS;
            details.Clicked += PageTabClicked;

            AddArrestReportsTab();
            AddTrafficCitationsTab();
        }
Example #3
0
        public override void InitializeLayout()
        {
            base.InitializeLayout();
            this.Position           = this.GetLaunchPosition();
            pedView                 = new ComputerPedView(this, Entity, PedViewQuickActionSelected);
            pedView.Dock            = Pos.Fill;
            tabcontrol_details      = new TabControl(this);
            tabcontrol_details.Dock = Pos.Fill;

            arrestsContainer = new DockBase(this);
            arrestsContainer.Hide();

            trafficCitationContainer = new DockBase(this);
            trafficCitationContainer.Hide();

            var details = tabcontrol_details.AddPage("Details", pedView);

            details.UserData = Page.PED_DETAILS;
            details.Clicked += PageTabClicked;


            AddArrestReportsTab();
            AddTrafficCitationsTab();
        }