コード例 #1
0
        public override void InitializeLayout()
        {
            base.InitializeLayout();
            Function.LogDebug("ComputerPedView InitializeLayout");

            this.Position = this.GetLaunchPosition();
            this.Window.DisableResizing();
            pedView = new ComputerPedView(this, Entity);
        }
コード例 #2
0
        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();
        }
コード例 #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();
        }