예제 #1
0
        /// <summary>
        /// Activates the smart part within the workspace.
        /// </summary>
        /// <param name="smartPart">The smart part to activate</param>
        protected virtual void OnActivate(Control smartPart)
        {
            DockableControlPane pane = this.PaneFromSmartPart(smartPart);

            pane.Show();
            pane.Activate();
        }
예제 #2
0
 private void AddNewChart_Click(object sender, EventArgs eventArgs)
 {
     DockableControlPane histchartpane = new DockableControlPane(new Random().Next(100).ToString(), "Hist Series Chart", new HistSeriesChartView() { ViewModel = new HistSeriesChartViewModel() });
     //histchartpane.Size = new System.Drawing.Size(10, 10);
     var histAreaPane = new DockAreaPane(DockedLocation.DockedTop);
     //histAreaPane.Size = new System.Drawing.Size(10, 10);
     histAreaPane.Panes.Add(histchartpane);
     ultraDockManager1.DockAreas.Add(histAreaPane);
 }
예제 #3
0
        private DockableControlPane CreatePane(Control smartPart, UltraDockSmartPartInfo smartPartInfo)
        {
            // create a pane to represent the smart part control
            DockableControlPane pane = new DockableControlPane(Guid.NewGuid().ToString(), smartPart);

            // keep track of the smart part to pane key relationship
            this.composer.Add(pane.Key, smartPart);

            // apply the smart part info
            this.ApplySmartPartInfoHelper(pane, smartPartInfo);

            // find out where this should be if we don't have a group
            DockedLocation location = smartPartInfo.DefaultLocation;

            // get the default pane style
            ChildPaneStyle paneStyle = smartPartInfo.DefaultPaneStyle;

            // store the key of the new groups
            string preferredGroupKey = smartPartInfo.PreferredGroup;

            // see if the group that this would like to belong to exists
            DockableGroupPane groupPane = this.FindGroup(preferredGroupKey);

            if (groupPane == null)
            {
                // create a dock area that should house the control pane
                DockAreaPane newDockArea = new DockAreaPane(location);
                newDockArea.Key            = preferredGroupKey;
                newDockArea.ChildPaneStyle = paneStyle;

                Size paneSize = smartPartInfo.PreferredSize == Size.Empty ? smartPart.Size : smartPartInfo.PreferredSize;

                switch (location)
                {
                case DockedLocation.DockedLeft:
                case DockedLocation.DockedRight:
                    paneSize.Width += this.SplitterBarWidth;
                    break;

                case DockedLocation.DockedTop:
                case DockedLocation.DockedBottom:
                    paneSize.Height += this.SplitterBarWidth;
                    break;
                }

                newDockArea.Size = paneSize;

                newDockArea.Panes.Add(pane);
                this.DockAreas.Add(newDockArea);
            }
            else             // just add it to the group that already exists
            {
                groupPane.Panes.Add(pane);
            }

            return(pane);
        }
예제 #4
0
        /// <summary>
        /// Shows the smart part in the workspace.
        /// </summary>
        /// <param name="smartPart">The smart part to show</param>
        /// <param name="smartPartInfo">The associated smart part info for the smart part being shown.</param>
        protected virtual void OnShow(Control smartPart, UltraDockSmartPartInfo smartPartInfo)
        {
            DockableControlPane pane = this.PaneFromControl(smartPart);

            if (pane == null)
            {
                pane = this.CreatePane(smartPart, smartPartInfo);
            }

            // only force the pane to be visible if its not
            // being created because we're synchronizing with the
            // control panes
            if (this.verifyingSmartParts == false)
            {
                pane.Show();
            }
        }
예제 #5
0
        private void handleProjectModifiedStatus()
        {
            DockableControlPane pane = _view.dockManager.ControlPanes[MainPresenter.DockedPaneKeys.Files];

            if (Novel8rProjectHandler.Instance.IsModified())
            {
                if (!pane.Text.EndsWith(" *", StringComparison.OrdinalIgnoreCase))
                {
                    pane.Text += " *";
                }
            }
            else
            {
                if (pane.Text.EndsWith(" *", StringComparison.OrdinalIgnoreCase))
                {
                    pane.Text = pane.Text.Substring(0, pane.Text.Length - 2);
                }
            }
        }
예제 #6
0
        private void ApplySmartPartInfoHelper(DockableControlPane pane, UltraDockSmartPartInfo smartPartInfo)
        {
            pane.Text           = smartPartInfo.Title;
            pane.ToolTipCaption = smartPartInfo.Description;
            pane.ToolTipTab     = smartPartInfo.Description;

            if (smartPartInfo.PreferredSize != Size.Empty)
            {
                pane.Size = smartPartInfo.PreferredSize;
            }

            Image img = smartPartInfo.Image;

            if (img != null)
            {
                pane.Settings.TabAppearance.Image = img;
            }
            else if (pane.HasSettings && pane.Settings.HasTabAppearance)
            {
                pane.Settings.TabAppearance.Image = null;
            }
        }
예제 #7
0
    private void InitializeComponent()
    {
        this.components = new Container();
        DockAreaPane        pane5 = new DockAreaPane(DockedLocation.DockedTop, new Guid("9fcab504-0a13-42fd-9f58-78a46d130c05"));
        DockableControlPane pane  = new DockableControlPane(new Guid("11c9b829-bcf6-4c91-b17e-caaed5331d68"), new Guid("00000000-0000-0000-0000-000000000000"), -1, new Guid("9fcab504-0a13-42fd-9f58-78a46d130c05"), -1);
        DockAreaPane        pane6 = new DockAreaPane(DockedLocation.DockedLeft, new Guid("578c4d27-d187-4281-b90b-e82f7988eed6"));
        DockableControlPane pane2 = new DockableControlPane(new Guid("4aad70a1-238f-4a30-9368-6a54b171578c"), new Guid("00000000-0000-0000-0000-000000000000"), -1, new Guid("578c4d27-d187-4281-b90b-e82f7988eed6"), -1);
        DockAreaPane        pane7 = new DockAreaPane(DockedLocation.DockedLeft, new Guid("c089ddbf-7c00-4a50-9d19-413910c2f81f"));
        DockableControlPane pane3 = new DockableControlPane(new Guid("34b7c2cc-8313-46a9-9f6b-f4b1b936b9b7"), new Guid("00000000-0000-0000-0000-000000000000"), -1, new Guid("c089ddbf-7c00-4a50-9d19-413910c2f81f"), -1);
        DockAreaPane        pane8 = new DockAreaPane(DockedLocation.DockedLeft, new Guid("2a475fef-9517-44d0-8aeb-3bd980f41054"));
        DockableControlPane pane4 = new DockableControlPane(new Guid("300898e4-f79d-4e84-93d2-bd00e4edda2a"), new Guid("00000000-0000-0000-0000-000000000000"), -1, new Guid("2a475fef-9517-44d0-8aeb-3bd980f41054"), -1);

        this.Panel4              = new Panel();
        this.UltraGrid3          = new UltraGrid();
        this.Panel2              = new Panel();
        this.UltraGrid1          = new UltraGrid();
        this.Panel1              = new Panel();
        this.UltraButton2        = new UltraButton();
        this.UltraButton1        = new UltraButton();
        this.Panel3              = new Panel();
        this.UltraGrid2          = new UltraGrid();
        this.DatasetKratkaRekap1 = new datasetKratkaRekap();
        this.DsIPObrazac1        = new dsIPObrazac();
        this.UltraDockManager1   = new UltraDockManager(this.components);
        this._RazmjestajSredstavaUnpinnedTabAreaLeft   = new UnpinnedTabArea();
        this._RazmjestajSredstavaUnpinnedTabAreaRight  = new UnpinnedTabArea();
        this._RazmjestajSredstavaUnpinnedTabAreaTop    = new UnpinnedTabArea();
        this._RazmjestajSredstavaUnpinnedTabAreaBottom = new UnpinnedTabArea();
        this._RazmjestajSredstavaAutoHideControl       = new AutoHideControl();
        this.WindowDockingArea1 = new WindowDockingArea();
        this.DockableWindow1    = new DockableWindow();
        this.WindowDockingArea2 = new WindowDockingArea();
        this.DockableWindow2    = new DockableWindow();
        this.WindowDockingArea3 = new WindowDockingArea();
        this.DockableWindow3    = new DockableWindow();
        this.WindowDockingArea4 = new WindowDockingArea();
        this.DockableWindow4    = new DockableWindow();
        this.Panel4.SuspendLayout();
        ((ISupportInitialize)this.UltraGrid3).BeginInit();
        this.Panel2.SuspendLayout();
        ((ISupportInitialize)this.UltraGrid1).BeginInit();
        this.Panel1.SuspendLayout();
        this.Panel3.SuspendLayout();
        ((ISupportInitialize)this.UltraGrid2).BeginInit();
        this.DatasetKratkaRekap1.BeginInit();
        this.DsIPObrazac1.BeginInit();
        ((ISupportInitialize)this.UltraDockManager1).BeginInit();
        this.WindowDockingArea1.SuspendLayout();
        this.DockableWindow1.SuspendLayout();
        this.WindowDockingArea2.SuspendLayout();
        this.DockableWindow2.SuspendLayout();
        this.WindowDockingArea3.SuspendLayout();
        this.DockableWindow3.SuspendLayout();
        this.WindowDockingArea4.SuspendLayout();
        this.DockableWindow4.SuspendLayout();
        this.SuspendLayout();
        this.Panel4.Controls.Add(this.UltraGrid3);
        this.Panel4.Location     = new System.Drawing.Point(0, 20);
        this.Panel4.Name         = "Panel4";
        this.Panel4.Size         = new System.Drawing.Size(0x39b, 0x148);
        this.Panel4.TabIndex     = 15;
        this.UltraGrid3.Dock     = DockStyle.Fill;
        this.UltraGrid3.Location = new System.Drawing.Point(0, 0);
        this.UltraGrid3.Name     = "UltraGrid3";
        this.UltraGrid3.Size     = new System.Drawing.Size(0x39b, 0x148);
        this.UltraGrid3.TabIndex = 2;
        this.Panel2.Controls.Add(this.UltraGrid1);
        this.Panel2.Location     = new System.Drawing.Point(0, 20);
        this.Panel2.Name         = "Panel2";
        this.Panel2.Size         = new System.Drawing.Size(0x1b5, 220);
        this.Panel2.TabIndex     = 14;
        this.UltraGrid1.Dock     = DockStyle.Fill;
        this.UltraGrid1.Location = new System.Drawing.Point(0, 0);
        this.UltraGrid1.Name     = "UltraGrid1";
        this.UltraGrid1.Size     = new System.Drawing.Size(0x1b5, 220);
        this.UltraGrid1.TabIndex = 0;
        this.Panel1.Controls.Add(this.UltraButton2);
        this.Panel1.Controls.Add(this.UltraButton1);
        this.Panel1.Location       = new System.Drawing.Point(0, 20);
        this.Panel1.Name           = "Panel1";
        this.Panel1.Size           = new System.Drawing.Size(0x69, 220);
        this.Panel1.TabIndex       = 4;
        this.UltraButton2.Location = new System.Drawing.Point(10, 0x2c);
        this.UltraButton2.Name     = "UltraButton2";
        this.UltraButton2.Size     = new System.Drawing.Size(0x4b, 0x17);
        this.UltraButton2.TabIndex = 3;
        this.UltraButton2.Text     = "Prebaci dio";
        this.UltraButton1.Location = new System.Drawing.Point(10, 15);
        this.UltraButton1.Name     = "UltraButton1";
        this.UltraButton1.Size     = new System.Drawing.Size(0x4b, 0x17);
        this.UltraButton1.TabIndex = 2;
        this.UltraButton1.Text     = "Prebaci sve";
        this.Panel3.AutoSize       = true;
        this.Panel3.Controls.Add(this.UltraGrid2);
        this.Panel3.Location                             = new System.Drawing.Point(0, 20);
        this.Panel3.Name                                 = "Panel3";
        this.Panel3.Size                                 = new System.Drawing.Size(0x16c, 220);
        this.Panel3.TabIndex                             = 6;
        this.UltraGrid2.Dock                             = DockStyle.Fill;
        this.UltraGrid2.Location                         = new System.Drawing.Point(0, 0);
        this.UltraGrid2.Name                             = "UltraGrid2";
        this.UltraGrid2.Size                             = new System.Drawing.Size(0x16c, 220);
        this.UltraGrid2.TabIndex                         = 1;
        this.DatasetKratkaRekap1.DataSetName             = "datasetKratkaRekap";
        this.DatasetKratkaRekap1.SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
        this.DsIPObrazac1.DataSetName                    = "dsIPObrazac";
        this.DsIPObrazac1.SchemaSerializationMode        = SchemaSerializationMode.IncludeSchema;
        pane5.DockedBefore                               = new Guid("578c4d27-d187-4281-b90b-e82f7988eed6");
        pane.Control = this.Panel4;
        pane.OriginalControlBounds = new Rectangle(0xeb, 0x23, 0x196, 0x4e);
        pane.Size = new System.Drawing.Size(100, 100);
        pane.Text = "POPIS OSNOVNIH SREDSTAVA";
        pane5.Panes.AddRange(new DockablePaneBase[] { pane });
        pane5.Size                  = new System.Drawing.Size(0x39b, 0x15c);
        pane6.DockedBefore          = new Guid("c089ddbf-7c00-4a50-9d19-413910c2f81f");
        pane2.Control               = this.Panel2;
        pane2.OriginalControlBounds = new Rectangle(0x102, 0x7c, 0x196, 0xa6);
        pane2.Size                  = new System.Drawing.Size(100, 100);
        pane2.Text                  = "STANJE PO LOKACIJAMA";
        pane6.Panes.AddRange(new DockablePaneBase[] { pane2 });
        pane6.Size                  = new System.Drawing.Size(0x1b5, 240);
        pane7.DockedBefore          = new Guid("2a475fef-9517-44d0-8aeb-3bd980f41054");
        pane3.Control               = this.Panel1;
        pane3.OriginalControlBounds = new Rectangle(0x56, 0x6a, 0x73, 0xb8);
        pane3.Size                  = new System.Drawing.Size(100, 100);
        pane3.Text                  = "...";
        pane7.Panes.AddRange(new DockablePaneBase[] { pane3 });
        pane7.Size                  = new System.Drawing.Size(0x69, 240);
        pane8.Maximized             = true;
        pane4.Control               = this.Panel3;
        pane4.Maximized             = true;
        pane4.OriginalControlBounds = new Rectangle(0x298, 30, 0x196, 0x158);
        pane4.Size                  = new System.Drawing.Size(100, 100);
        pane4.Text                  = "RASPOLOŽIVE LOKACIJE";
        pane8.Panes.AddRange(new DockablePaneBase[] { pane4 });
        pane8.Size = new System.Drawing.Size(0x16c, 240);
        this.UltraDockManager1.DockAreas.AddRange(new DockAreaPane[] { pane5, pane6, pane7, pane8 });
        this.UltraDockManager1.HostControl   = this;
        this.UltraDockManager1.UseAppStyling = false;
        this.UltraDockManager1.UseFlatMode   = DefaultableBoolean.False;
        this.UltraDockManager1.WindowStyle   = WindowStyle.VisualStudio2008;
        this._RazmjestajSredstavaUnpinnedTabAreaLeft.Dock       = DockStyle.Left;
        this._RazmjestajSredstavaUnpinnedTabAreaLeft.Font       = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
        this._RazmjestajSredstavaUnpinnedTabAreaLeft.Location   = new System.Drawing.Point(0, 0);
        this._RazmjestajSredstavaUnpinnedTabAreaLeft.Name       = "_RazmjestajSredstavaUnpinnedTabAreaLeft";
        this._RazmjestajSredstavaUnpinnedTabAreaLeft.Owner      = this.UltraDockManager1;
        this._RazmjestajSredstavaUnpinnedTabAreaLeft.Size       = new System.Drawing.Size(0, 0x251);
        this._RazmjestajSredstavaUnpinnedTabAreaLeft.TabIndex   = 7;
        this._RazmjestajSredstavaUnpinnedTabAreaRight.Dock      = DockStyle.Right;
        this._RazmjestajSredstavaUnpinnedTabAreaRight.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
        this._RazmjestajSredstavaUnpinnedTabAreaRight.Location  = new System.Drawing.Point(0x39b, 0);
        this._RazmjestajSredstavaUnpinnedTabAreaRight.Name      = "_RazmjestajSredstavaUnpinnedTabAreaRight";
        this._RazmjestajSredstavaUnpinnedTabAreaRight.Owner     = this.UltraDockManager1;
        this._RazmjestajSredstavaUnpinnedTabAreaRight.Size      = new System.Drawing.Size(0, 0x251);
        this._RazmjestajSredstavaUnpinnedTabAreaRight.TabIndex  = 8;
        this._RazmjestajSredstavaUnpinnedTabAreaTop.Dock        = DockStyle.Top;
        this._RazmjestajSredstavaUnpinnedTabAreaTop.Font        = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
        this._RazmjestajSredstavaUnpinnedTabAreaTop.Location    = new System.Drawing.Point(0, 0);
        this._RazmjestajSredstavaUnpinnedTabAreaTop.Name        = "_RazmjestajSredstavaUnpinnedTabAreaTop";
        this._RazmjestajSredstavaUnpinnedTabAreaTop.Owner       = this.UltraDockManager1;
        this._RazmjestajSredstavaUnpinnedTabAreaTop.Size        = new System.Drawing.Size(0x39b, 0);
        this._RazmjestajSredstavaUnpinnedTabAreaTop.TabIndex    = 9;
        this._RazmjestajSredstavaUnpinnedTabAreaBottom.Dock     = DockStyle.Bottom;
        this._RazmjestajSredstavaUnpinnedTabAreaBottom.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
        this._RazmjestajSredstavaUnpinnedTabAreaBottom.Location = new System.Drawing.Point(0, 0x251);
        this._RazmjestajSredstavaUnpinnedTabAreaBottom.Name     = "_RazmjestajSredstavaUnpinnedTabAreaBottom";
        this._RazmjestajSredstavaUnpinnedTabAreaBottom.Owner    = this.UltraDockManager1;
        this._RazmjestajSredstavaUnpinnedTabAreaBottom.Size     = new System.Drawing.Size(0x39b, 0);
        this._RazmjestajSredstavaUnpinnedTabAreaBottom.TabIndex = 10;
        this._RazmjestajSredstavaAutoHideControl.Font           = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
        this._RazmjestajSredstavaAutoHideControl.Location       = new System.Drawing.Point(0, 0);
        this._RazmjestajSredstavaAutoHideControl.Name           = "_RazmjestajSredstavaAutoHideControl";
        this._RazmjestajSredstavaAutoHideControl.Owner          = this.UltraDockManager1;
        this._RazmjestajSredstavaAutoHideControl.Size           = new System.Drawing.Size(0, 0x179);
        this._RazmjestajSredstavaAutoHideControl.TabIndex       = 11;
        this.WindowDockingArea1.Controls.Add(this.DockableWindow1);
        this.WindowDockingArea1.Dock     = DockStyle.Top;
        this.WindowDockingArea1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
        this.WindowDockingArea1.Location = new System.Drawing.Point(0, 0);
        this.WindowDockingArea1.Name     = "WindowDockingArea1";
        this.WindowDockingArea1.Owner    = this.UltraDockManager1;
        this.WindowDockingArea1.Size     = new System.Drawing.Size(0x39b, 0x161);
        this.WindowDockingArea1.TabIndex = 0x10;
        this.DockableWindow1.Controls.Add(this.Panel4);
        this.DockableWindow1.Location = new System.Drawing.Point(0, 0);
        this.DockableWindow1.Name     = "DockableWindow1";
        this.DockableWindow1.Owner    = this.UltraDockManager1;
        this.DockableWindow1.Size     = new System.Drawing.Size(0x39b, 0x15c);
        this.DockableWindow1.TabIndex = 20;
        this.WindowDockingArea2.Controls.Add(this.DockableWindow2);
        this.WindowDockingArea2.Dock     = DockStyle.Left;
        this.WindowDockingArea2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
        this.WindowDockingArea2.Location = new System.Drawing.Point(0, 0x161);
        this.WindowDockingArea2.Name     = "WindowDockingArea2";
        this.WindowDockingArea2.Owner    = this.UltraDockManager1;
        this.WindowDockingArea2.Size     = new System.Drawing.Size(0x1ba, 240);
        this.WindowDockingArea2.TabIndex = 0x11;
        this.DockableWindow2.Controls.Add(this.Panel2);
        this.DockableWindow2.Location = new System.Drawing.Point(0, 0);
        this.DockableWindow2.Name     = "DockableWindow2";
        this.DockableWindow2.Owner    = this.UltraDockManager1;
        this.DockableWindow2.Size     = new System.Drawing.Size(0x1b5, 240);
        this.DockableWindow2.TabIndex = 0x15;
        this.WindowDockingArea3.Controls.Add(this.DockableWindow3);
        this.WindowDockingArea3.Dock     = DockStyle.Left;
        this.WindowDockingArea3.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
        this.WindowDockingArea3.Location = new System.Drawing.Point(0x1ba, 0x161);
        this.WindowDockingArea3.Name     = "WindowDockingArea3";
        this.WindowDockingArea3.Owner    = this.UltraDockManager1;
        this.WindowDockingArea3.Size     = new System.Drawing.Size(110, 240);
        this.WindowDockingArea3.TabIndex = 0x12;
        this.DockableWindow3.Controls.Add(this.Panel1);
        this.DockableWindow3.Location = new System.Drawing.Point(0, 0);
        this.DockableWindow3.Name     = "DockableWindow3";
        this.DockableWindow3.Owner    = this.UltraDockManager1;
        this.DockableWindow3.Size     = new System.Drawing.Size(0x69, 240);
        this.DockableWindow3.TabIndex = 0x16;
        this.WindowDockingArea4.Controls.Add(this.DockableWindow4);
        this.WindowDockingArea4.Dock     = DockStyle.Left;
        this.WindowDockingArea4.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
        this.WindowDockingArea4.Location = new System.Drawing.Point(0x228, 0x161);
        this.WindowDockingArea4.Name     = "WindowDockingArea4";
        this.WindowDockingArea4.Owner    = this.UltraDockManager1;
        this.WindowDockingArea4.Size     = new System.Drawing.Size(0x171, 240);
        this.WindowDockingArea4.TabIndex = 0x13;
        this.DockableWindow4.Controls.Add(this.Panel3);
        this.DockableWindow4.Location = new System.Drawing.Point(0, 0);
        this.DockableWindow4.Name     = "DockableWindow4";
        this.DockableWindow4.Owner    = this.UltraDockManager1;
        this.DockableWindow4.Size     = new System.Drawing.Size(0x16c, 240);
        this.DockableWindow4.TabIndex = 0x17;
        this.Controls.Add(this._RazmjestajSredstavaAutoHideControl);
        this.Controls.Add(this.WindowDockingArea4);
        this.Controls.Add(this.WindowDockingArea3);
        this.Controls.Add(this.WindowDockingArea2);
        this.Controls.Add(this.WindowDockingArea1);
        this.Controls.Add(this._RazmjestajSredstavaUnpinnedTabAreaTop);
        this.Controls.Add(this._RazmjestajSredstavaUnpinnedTabAreaBottom);
        this.Controls.Add(this._RazmjestajSredstavaUnpinnedTabAreaLeft);
        this.Controls.Add(this._RazmjestajSredstavaUnpinnedTabAreaRight);
        this.Name = "TablicniRazmjestajSredstava";
        this.Size = new System.Drawing.Size(0x39b, 0x251);


        this.UltraGrid3.InitializeLayout += new InitializeLayoutEventHandler(this.UltraGrid3_InitializeLayout);
        this.UltraGrid2.InitializeLayout += new InitializeLayoutEventHandler(this.UltraGrid2_InitializeLayout);
        this.UltraGrid1.InitializeLayout += new InitializeLayoutEventHandler(this.UltraGrid1_InitializeLayout);
        this.UltraButton2.Click          += new EventHandler(this.UltraButton2_Click);
        this.UltraButton1.Click          += new EventHandler(this.UltraButton1_Click);


        this.Panel4.ResumeLayout(false);
        ((ISupportInitialize)this.UltraGrid3).EndInit();
        this.Panel2.ResumeLayout(false);
        ((ISupportInitialize)this.UltraGrid1).EndInit();
        this.Panel1.ResumeLayout(false);
        this.Panel3.ResumeLayout(false);
        ((ISupportInitialize)this.UltraGrid2).EndInit();
        this.DatasetKratkaRekap1.EndInit();
        this.DsIPObrazac1.EndInit();
        ((ISupportInitialize)this.UltraDockManager1).EndInit();
        this.WindowDockingArea1.ResumeLayout(false);
        this.DockableWindow1.ResumeLayout(false);
        this.WindowDockingArea2.ResumeLayout(false);
        this.DockableWindow2.ResumeLayout(false);
        this.WindowDockingArea3.ResumeLayout(false);
        this.DockableWindow3.ResumeLayout(false);
        this.WindowDockingArea4.ResumeLayout(false);
        this.DockableWindow4.ResumeLayout(false);
        this.DockableWindow4.PerformLayout();
        this.ResumeLayout(false);
    }
예제 #8
0
        private void InitializeComponent()
        {
            this.components = new Container();
            EditorButton button     = new EditorButton("zaposlenik");
            Guid         internalId = new Guid("e230d3ae-cd86-4b13-aa19-126aab4fc95a");
            DockAreaPane pane2      = new DockAreaPane(DockedLocation.DockedTop, internalId);

            internalId = new Guid("92f6b63e-efa0-435d-af25-7decacd7f421");
            Guid floatingParentId    = new Guid("00000000-0000-0000-0000-000000000000");
            Guid dockedParentId      = new Guid("e230d3ae-cd86-4b13-aa19-126aab4fc95a");
            DockableControlPane pane = new DockableControlPane(internalId, floatingParentId, -1, dockedParentId, -1);

            this.UltraGroupBox1                        = new UltraGroupBox();
            this.UltraTextEditor1                      = new UltraTextEditor();
            this.UltraLabel2                           = new UltraLabel();
            this.UltraLabel1                           = new UltraLabel();
            this.UltraCombo2                           = new UltraCombo();
            this.UltraCombo1                           = new UltraCombo();
            this.S_OD_BOLOVANJE_FONDDataSet1           = new S_OD_BOLOVANJE_FONDDataSet();
            this.UltraDockManager1                     = new UltraDockManager(this.components);
            this._ProsjekgodisnjiUnpinnedTabAreaLeft   = new UnpinnedTabArea();
            this._ProsjekgodisnjiUnpinnedTabAreaRight  = new UnpinnedTabArea();
            this._ProsjekgodisnjiUnpinnedTabAreaTop    = new UnpinnedTabArea();
            this._ProsjekgodisnjiUnpinnedTabAreaBottom = new UnpinnedTabArea();
            this._ProsjekgodisnjiAutoHideControl       = new AutoHideControl();
            this.WindowDockingArea1                    = new WindowDockingArea();
            this.DockableWindow1                       = new DockableWindow();
            this.UltraGridExcelExporter1               = new UltraGridExcelExporter(this.components);
            this.CrystalReportViewer1                  = new CrystalReportViewer();
            ((ISupportInitialize)this.UltraGroupBox1).BeginInit();
            this.UltraGroupBox1.SuspendLayout();
            ((ISupportInitialize)this.UltraTextEditor1).BeginInit();
            ((ISupportInitialize)this.UltraCombo2).BeginInit();
            ((ISupportInitialize)this.UltraCombo1).BeginInit();
            this.S_OD_BOLOVANJE_FONDDataSet1.BeginInit();
            ((ISupportInitialize)this.UltraDockManager1).BeginInit();
            this.WindowDockingArea1.SuspendLayout();
            this.DockableWindow1.SuspendLayout();
            this.SuspendLayout();
            this.UltraGroupBox1.Controls.Add(this.UltraTextEditor1);
            this.UltraGroupBox1.Controls.Add(this.UltraLabel2);
            this.UltraGroupBox1.Controls.Add(this.UltraLabel1);
            this.UltraGroupBox1.Controls.Add(this.UltraCombo2);
            this.UltraGroupBox1.Controls.Add(this.UltraCombo1);
            System.Drawing.Point point = new System.Drawing.Point(0, 0x12);
            this.UltraGroupBox1.Location = point;
            this.UltraGroupBox1.Name     = "UltraGroupBox1";
            Size size = new System.Drawing.Size(0x40d, 0x7c);

            this.UltraGroupBox1.Size     = size;
            this.UltraGroupBox1.TabIndex = 1;
            this.UltraGroupBox1.Text     = "Odabir razdoblja (godina i mjesec na koji se plaća odnosi)  i zaposlenika ";
            button.Key  = "zaposlenik";
            button.Text = "Zaposlenik";
            this.UltraTextEditor1.ButtonsRight.Add(button);
            point = new System.Drawing.Point(0x15, 0x59);
            this.UltraTextEditor1.Location = point;
            this.UltraTextEditor1.Name     = "UltraTextEditor1";
            this.UltraTextEditor1.ReadOnly = true;
            size = new System.Drawing.Size(0x191, 0x15);
            this.UltraTextEditor1.Size     = size;
            this.UltraTextEditor1.TabIndex = 11;
            this.UltraTextEditor1.Text     = "Odaberite zaposlenika";
            point = new System.Drawing.Point(0x15, 60);
            this.UltraLabel2.Location = point;
            this.UltraLabel2.Name     = "UltraLabel2";
            size = new System.Drawing.Size(0xb8, 0x17);
            this.UltraLabel2.Size     = size;
            this.UltraLabel2.TabIndex = 10;
            this.UltraLabel2.Text     = "Do godine i mjeseca obračuna";
            point = new System.Drawing.Point(0x15, 0x20);
            this.UltraLabel1.Location = point;
            this.UltraLabel1.Name     = "UltraLabel1";
            size = new System.Drawing.Size(0xb8, 0x17);
            this.UltraLabel1.Size            = size;
            this.UltraLabel1.TabIndex        = 9;
            this.UltraLabel1.Text            = "Od godine i mjeseca obračuna";
            this.UltraCombo2.CharacterCasing = CharacterCasing.Normal;
            this.UltraCombo2.DisplayLayout.Override.AllowAddNew = AllowAddNew.TemplateOnBottom;
            this.UltraCombo2.DisplayLayout.Override.AllowDelete = DefaultableBoolean.True;
            this.UltraCombo2.DisplayLayout.Override.AllowUpdate = DefaultableBoolean.True;
            point = new System.Drawing.Point(0xde, 0x38);
            this.UltraCombo2.Location = point;
            this.UltraCombo2.Name     = "UltraCombo2";
            size = new System.Drawing.Size(200, 0x16);
            this.UltraCombo2.Size            = size;
            this.UltraCombo2.TabIndex        = 7;
            this.UltraCombo2.Text            = "UltraCombo2";
            this.UltraCombo1.CharacterCasing = CharacterCasing.Normal;
            this.UltraCombo1.DisplayLayout.Override.AllowAddNew = AllowAddNew.TemplateOnBottom;
            this.UltraCombo1.DisplayLayout.Override.AllowDelete = DefaultableBoolean.True;
            this.UltraCombo1.DisplayLayout.Override.AllowUpdate = DefaultableBoolean.True;
            this.UltraCombo1.LimitToList = true;
            point = new System.Drawing.Point(0xde, 0x1c);
            this.UltraCombo1.Location = point;
            this.UltraCombo1.Name     = "UltraCombo1";
            size = new System.Drawing.Size(200, 0x16);
            this.UltraCombo1.Size     = size;
            this.UltraCombo1.TabIndex = 6;
            this.UltraCombo1.Text     = "UltraCombo1";
            this.S_OD_BOLOVANJE_FONDDataSet1.DataSetName = "S_OD_BOLOVANJE_FONDDataSet";
            pane.Control = this.UltraGroupBox1;
            Rectangle rectangle = new Rectangle(-15, -15, 200, 110);

            pane.OriginalControlBounds = rectangle;
            size      = new System.Drawing.Size(100, 100);
            pane.Size = size;
            pane.Text = "...";
            pane2.Panes.AddRange(new DockablePaneBase[] { pane });
            size       = new System.Drawing.Size(0x40d, 0x8e);
            pane2.Size = size;
            this.UltraDockManager1.DockAreas.AddRange(new DockAreaPane[] { pane2 });
            this.UltraDockManager1.HostControl            = this;
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.Dock = DockStyle.Left;
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            point = new System.Drawing.Point(0, 0);
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.Location = point;
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.Name     = "_ProsjekgodisnjiUnpinnedTabAreaLeft";
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0, 0x235);
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.Size     = size;
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.TabIndex = 2;
            this._ProsjekgodisnjiUnpinnedTabAreaRight.Dock    = DockStyle.Right;
            this._ProsjekgodisnjiUnpinnedTabAreaRight.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            point = new System.Drawing.Point(0x40d, 0);
            this._ProsjekgodisnjiUnpinnedTabAreaRight.Location = point;
            this._ProsjekgodisnjiUnpinnedTabAreaRight.Name     = "_ProsjekgodisnjiUnpinnedTabAreaRight";
            this._ProsjekgodisnjiUnpinnedTabAreaRight.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0, 0x235);
            this._ProsjekgodisnjiUnpinnedTabAreaRight.Size     = size;
            this._ProsjekgodisnjiUnpinnedTabAreaRight.TabIndex = 3;
            this._ProsjekgodisnjiUnpinnedTabAreaTop.Dock       = DockStyle.Top;
            this._ProsjekgodisnjiUnpinnedTabAreaTop.Font       = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            point = new System.Drawing.Point(0, 0);
            this._ProsjekgodisnjiUnpinnedTabAreaTop.Location = point;
            this._ProsjekgodisnjiUnpinnedTabAreaTop.Name     = "_ProsjekgodisnjiUnpinnedTabAreaTop";
            this._ProsjekgodisnjiUnpinnedTabAreaTop.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0x40d, 0);
            this._ProsjekgodisnjiUnpinnedTabAreaTop.Size     = size;
            this._ProsjekgodisnjiUnpinnedTabAreaTop.TabIndex = 4;
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.Dock  = DockStyle.Bottom;
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            point = new System.Drawing.Point(0, 0x235);
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.Location = point;
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.Name     = "_ProsjekgodisnjiUnpinnedTabAreaBottom";
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0x40d, 0);
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.Size     = size;
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.TabIndex = 5;
            this._ProsjekgodisnjiAutoHideControl.Font           = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            point = new System.Drawing.Point(0, 0);
            this._ProsjekgodisnjiAutoHideControl.Location = point;
            this._ProsjekgodisnjiAutoHideControl.Name     = "_ProsjekgodisnjiAutoHideControl";
            this._ProsjekgodisnjiAutoHideControl.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0, 0);
            this._ProsjekgodisnjiAutoHideControl.Size     = size;
            this._ProsjekgodisnjiAutoHideControl.TabIndex = 6;
            this.WindowDockingArea1.Controls.Add(this.DockableWindow1);
            this.WindowDockingArea1.Dock = DockStyle.Top;
            this.WindowDockingArea1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            point = new System.Drawing.Point(0, 0);
            this.WindowDockingArea1.Location = point;
            this.WindowDockingArea1.Name     = "WindowDockingArea1";
            this.WindowDockingArea1.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0x40d, 0x93);
            this.WindowDockingArea1.Size     = size;
            this.WindowDockingArea1.TabIndex = 7;
            this.DockableWindow1.Controls.Add(this.UltraGroupBox1);
            point = new System.Drawing.Point(0, 0);
            this.DockableWindow1.Location = point;
            this.DockableWindow1.Name     = "DockableWindow1";
            this.DockableWindow1.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0x40d, 0x8e);
            this.DockableWindow1.Size                 = size;
            this.DockableWindow1.TabIndex             = 9;
            this.CrystalReportViewer1.ActiveViewIndex = -1;
            this.CrystalReportViewer1.BorderStyle     = BorderStyle.FixedSingle;
            this.CrystalReportViewer1.Cursor          = Cursors.Default;
            this.CrystalReportViewer1.Dock            = DockStyle.Fill;
            point = new System.Drawing.Point(0, 0x93);
            this.CrystalReportViewer1.Location                 = point;
            this.CrystalReportViewer1.Name                     = "CrystalReportViewer1";
            this.CrystalReportViewer1.ShowGotoPageButton       = false;
            this.CrystalReportViewer1.ShowGroupTreeButton      = false;
            this.CrystalReportViewer1.ShowParameterPanelButton = false;
            this.CrystalReportViewer1.ShowTextSearchButton     = false;
            size = new System.Drawing.Size(0x40d, 0x1a2);
            this.CrystalReportViewer1.Size          = size;
            this.CrystalReportViewer1.TabIndex      = 8;
            this.CrystalReportViewer1.ToolPanelView = ToolPanelViewType.None;
            this.Controls.Add(this._ProsjekgodisnjiAutoHideControl);
            this.Controls.Add(this.CrystalReportViewer1);
            this.Controls.Add(this.WindowDockingArea1);
            this.Controls.Add(this._ProsjekgodisnjiUnpinnedTabAreaTop);
            this.Controls.Add(this._ProsjekgodisnjiUnpinnedTabAreaBottom);
            this.Controls.Add(this._ProsjekgodisnjiUnpinnedTabAreaLeft);
            this.Controls.Add(this._ProsjekgodisnjiUnpinnedTabAreaRight);
            this.Name = "ProsjekPlace";
            size      = new System.Drawing.Size(0x40d, 0x235);
            this.Size = size;
            ((ISupportInitialize)this.UltraGroupBox1).EndInit();
            this.UltraGroupBox1.ResumeLayout(false);
            this.UltraGroupBox1.PerformLayout();
            ((ISupportInitialize)this.UltraTextEditor1).EndInit();
            ((ISupportInitialize)this.UltraCombo2).EndInit();
            ((ISupportInitialize)this.UltraCombo1).EndInit();
            this.S_OD_BOLOVANJE_FONDDataSet1.EndInit();
            ((ISupportInitialize)this.UltraDockManager1).EndInit();
            this.WindowDockingArea1.ResumeLayout(false);
            this.DockableWindow1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
예제 #9
0
        private void InitializeComponent()
        {
            this.components = new Container();
            EditorButton button = new EditorButton("zaposlenik");

            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            UltraGridBand   band     = new UltraGridBand("S_OD_BOLOVANJE_FOND", -1);
            UltraGridColumn column   = new UltraGridColumn("IDRADNIK");
            UltraGridColumn column7  = new UltraGridColumn("PREZIME");
            UltraGridColumn column8  = new UltraGridColumn("IME");
            UltraGridColumn column9  = new UltraGridColumn("JMBG");
            UltraGridColumn column10 = new UltraGridColumn("MJESECOBRACUNA");
            UltraGridColumn column11 = new UltraGridColumn("GODINAOBRACUNA");
            UltraGridColumn column12 = new UltraGridColumn("KOLONA4");
            UltraGridColumn column13 = new UltraGridColumn("KOLONA5");
            UltraGridColumn column14 = new UltraGridColumn("KOLONA6");
            UltraGridColumn column2  = new UltraGridColumn("KOLONA8");
            UltraGridColumn column3  = new UltraGridColumn("SATIUKUPNO");
            UltraGridColumn column4  = new UltraGridColumn("ukupnobruto");
            UltraGridColumn column5  = new UltraGridColumn("netoplaca");
            UltraGridColumn column6  = new UltraGridColumn("FONDMJESECA");

            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            Guid         internalId = new Guid("e230d3ae-cd86-4b13-aa19-126aab4fc95a");
            DockAreaPane pane2      = new DockAreaPane(DockedLocation.DockedTop, internalId);

            internalId = new Guid("92f6b63e-efa0-435d-af25-7decacd7f421");
            Guid floatingParentId    = new Guid("00000000-0000-0000-0000-000000000000");
            Guid dockedParentId      = new Guid("e230d3ae-cd86-4b13-aa19-126aab4fc95a");
            DockableControlPane pane = new DockableControlPane(internalId, floatingParentId, -1, dockedParentId, -1);

            this.UltraGroupBox1                        = new UltraGroupBox();
            this.UltraTextEditor1                      = new UltraTextEditor();
            this.UltraLabel2                           = new UltraLabel();
            this.UltraLabel1                           = new UltraLabel();
            this.UltraCombo2                           = new UltraCombo();
            this.UltraCombo1                           = new UltraCombo();
            this.UltraGrid1                            = new UltraGrid();
            this.S_OD_BOLOVANJE_FONDDataSet1           = new S_OD_BOLOVANJE_FONDDataSet();
            this.UltraDockManager1                     = new UltraDockManager(this.components);
            this._ProsjekgodisnjiUnpinnedTabAreaLeft   = new UnpinnedTabArea();
            this._ProsjekgodisnjiUnpinnedTabAreaRight  = new UnpinnedTabArea();
            this._ProsjekgodisnjiUnpinnedTabAreaTop    = new UnpinnedTabArea();
            this._ProsjekgodisnjiUnpinnedTabAreaBottom = new UnpinnedTabArea();
            this._ProsjekgodisnjiAutoHideControl       = new AutoHideControl();
            this.WindowDockingArea1                    = new WindowDockingArea();
            this.DockableWindow1                       = new DockableWindow();
            this.UltraGridExcelExporter1               = new UltraGridExcelExporter(this.components);
            ((ISupportInitialize)this.UltraGroupBox1).BeginInit();
            this.UltraGroupBox1.SuspendLayout();
            ((ISupportInitialize)this.UltraTextEditor1).BeginInit();
            ((ISupportInitialize)this.UltraCombo2).BeginInit();
            ((ISupportInitialize)this.UltraCombo1).BeginInit();
            ((ISupportInitialize)this.UltraGrid1).BeginInit();
            this.S_OD_BOLOVANJE_FONDDataSet1.BeginInit();
            ((ISupportInitialize)this.UltraDockManager1).BeginInit();
            this.WindowDockingArea1.SuspendLayout();
            this.DockableWindow1.SuspendLayout();
            this.SuspendLayout();
            this.UltraGroupBox1.Controls.Add(this.UltraTextEditor1);
            this.UltraGroupBox1.Controls.Add(this.UltraLabel2);
            this.UltraGroupBox1.Controls.Add(this.UltraLabel1);
            this.UltraGroupBox1.Controls.Add(this.UltraCombo2);
            this.UltraGroupBox1.Controls.Add(this.UltraCombo1);
            System.Drawing.Point point = new System.Drawing.Point(0, 0x12);
            this.UltraGroupBox1.Location = point;
            this.UltraGroupBox1.Name     = "UltraGroupBox1";
            Size size = new System.Drawing.Size(0x40d, 0x80);

            this.UltraGroupBox1.Size     = size;
            this.UltraGroupBox1.TabIndex = 1;
            this.UltraGroupBox1.Text     = "Odabir razdoblja (godina i mjesec na koji se plaća odnosi)  i zaposlenika ";
            button.Key  = "zaposlenik";
            button.Text = "Zaposlenik";
            this.UltraTextEditor1.ButtonsRight.Add(button);
            point = new System.Drawing.Point(0x15, 0x59);
            this.UltraTextEditor1.Location = point;
            this.UltraTextEditor1.Name     = "UltraTextEditor1";
            size = new System.Drawing.Size(0x191, 0x15);
            this.UltraTextEditor1.Size     = size;
            this.UltraTextEditor1.TabIndex = 11;
            this.UltraTextEditor1.Text     = "Odaberite zaposlenika";
            point = new System.Drawing.Point(0x15, 60);
            this.UltraLabel2.Location = point;
            this.UltraLabel2.Name     = "UltraLabel2";
            size = new System.Drawing.Size(0xb8, 0x17);
            this.UltraLabel2.Size     = size;
            this.UltraLabel2.TabIndex = 10;
            this.UltraLabel2.Text     = "Do godine i mjeseca obračuna";
            point = new System.Drawing.Point(0x15, 0x20);
            this.UltraLabel1.Location = point;
            this.UltraLabel1.Name     = "UltraLabel1";
            size = new System.Drawing.Size(0xb8, 0x17);
            this.UltraLabel1.Size            = size;
            this.UltraLabel1.TabIndex        = 9;
            this.UltraLabel1.Text            = "Od godine i mjeseca obračuna";
            this.UltraCombo2.CharacterCasing = CharacterCasing.Normal;
            this.UltraCombo2.DisplayLayout.Override.AllowAddNew = AllowAddNew.TemplateOnBottom;
            this.UltraCombo2.DisplayLayout.Override.AllowDelete = DefaultableBoolean.True;
            this.UltraCombo2.DisplayLayout.Override.AllowUpdate = DefaultableBoolean.True;
            point = new System.Drawing.Point(0xde, 0x38);
            this.UltraCombo2.Location = point;
            this.UltraCombo2.Name     = "UltraCombo2";
            size = new System.Drawing.Size(200, 0x16);
            this.UltraCombo2.Size            = size;
            this.UltraCombo2.TabIndex        = 7;
            this.UltraCombo2.Text            = "UltraCombo2";
            this.UltraCombo1.CharacterCasing = CharacterCasing.Normal;
            this.UltraCombo1.DisplayLayout.Override.AllowAddNew = AllowAddNew.TemplateOnBottom;
            this.UltraCombo1.DisplayLayout.Override.AllowDelete = DefaultableBoolean.True;
            this.UltraCombo1.DisplayLayout.Override.AllowUpdate = DefaultableBoolean.True;
            this.UltraCombo1.LimitToList = true;
            point = new System.Drawing.Point(0xde, 0x1c);
            this.UltraCombo1.Location = point;
            this.UltraCombo1.Name     = "UltraCombo1";
            size = new System.Drawing.Size(200, 0x16);
            this.UltraCombo1.Size      = size;
            this.UltraCombo1.TabIndex  = 6;
            this.UltraCombo1.Text      = "UltraCombo1";
            this.UltraGrid1.DataMember = "S_OD_BOLOVANJE_FOND";
            this.UltraGrid1.DataSource = this.S_OD_BOLOVANJE_FONDDataSet1;
            appearance.BackColor       = Color.White;
            this.UltraGrid1.DisplayLayout.Appearance = appearance;
            column.AutoCompleteMode         = Infragistics.Win.AutoCompleteMode.Append;
            column.Header.VisiblePosition   = 0;
            column7.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            column7.Header.VisiblePosition  = 1;
            column8.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            column8.Header.VisiblePosition  = 2;
            column9.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            column9.Header.VisiblePosition  = 3;
            column10.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column10.Header.VisiblePosition = 4;
            column11.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column11.Header.VisiblePosition = 5;
            column12.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column12.Header.VisiblePosition = 6;
            column13.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column13.Header.VisiblePosition = 7;
            column14.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column14.Header.VisiblePosition = 8;
            column2.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            column2.Header.VisiblePosition  = 9;
            column3.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            column3.Header.VisiblePosition  = 10;
            column4.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            column4.Header.VisiblePosition  = 11;
            column5.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            column5.Header.VisiblePosition  = 12;
            column6.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            column6.Header.VisiblePosition  = 13;
            band.Columns.AddRange(new object[] { column, column7, column8, column9, column10, column11, column12, column13, column14, column2, column3, column4, column5, column6 });
            this.UltraGrid1.DisplayLayout.BandsSerializer.Add(band);
            this.UltraGrid1.DisplayLayout.Override.AllowAddNew     = AllowAddNew.TemplateOnBottom;
            this.UltraGrid1.DisplayLayout.Override.AllowDelete     = DefaultableBoolean.True;
            this.UltraGrid1.DisplayLayout.Override.AllowUpdate     = DefaultableBoolean.True;
            this.UltraGrid1.DisplayLayout.Override.BorderStyleCell = UIElementBorderStyle.None;
            appearance2.BackColor = Color.Transparent;
            this.UltraGrid1.DisplayLayout.Override.CardAreaAppearance = appearance2;
            this.UltraGrid1.DisplayLayout.Override.CellPadding        = 3;
            appearance3.TextHAlignAsString = "Left";
            this.UltraGrid1.DisplayLayout.Override.HeaderAppearance = appearance3;
            appearance4.BorderColor        = Color.LightGray;
            appearance4.TextVAlignAsString = "Middle";
            this.UltraGrid1.DisplayLayout.Override.RowAppearance = appearance4;
            appearance5.BackColor   = Color.LightSteelBlue;
            appearance5.BorderColor = Color.Black;
            appearance5.ForeColor   = Color.Black;
            this.UltraGrid1.DisplayLayout.Override.SelectedRowAppearance = appearance5;
            this.UltraGrid1.DisplayLayout.RowConnectorStyle = RowConnectorStyle.None;
            this.UltraGrid1.Dock = DockStyle.Fill;
            point = new System.Drawing.Point(0, 0x97);
            this.UltraGrid1.Location = point;
            this.UltraGrid1.Name     = "UltraGrid1";
            size = new System.Drawing.Size(0x40d, 0x19e);
            this.UltraGrid1.Size     = size;
            this.UltraGrid1.TabIndex = 0;
            this.S_OD_BOLOVANJE_FONDDataSet1.DataSetName = "S_OD_BOLOVANJE_FONDDataSet";
            pane.Control = this.UltraGroupBox1;
            System.Drawing.Rectangle rectangle = new System.Drawing.Rectangle(-15, -15, 200, 110);
            pane.OriginalControlBounds = rectangle;
            size      = new System.Drawing.Size(100, 100);
            pane.Size = size;
            pane.Text = "...";
            pane2.Panes.AddRange(new DockablePaneBase[] { pane });
            size       = new System.Drawing.Size(0x40d, 0x92);
            pane2.Size = size;
            this.UltraDockManager1.DockAreas.AddRange(new DockAreaPane[] { pane2 });
            this.UltraDockManager1.HostControl            = this;
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.Dock = DockStyle.Left;
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            point = new System.Drawing.Point(0, 0);
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.Location = point;
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.Name     = "_ProsjekgodisnjiUnpinnedTabAreaLeft";
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0, 0x235);
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.Size     = size;
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.TabIndex = 2;
            this._ProsjekgodisnjiUnpinnedTabAreaRight.Dock    = DockStyle.Right;
            this._ProsjekgodisnjiUnpinnedTabAreaRight.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            point = new System.Drawing.Point(0x40d, 0);
            this._ProsjekgodisnjiUnpinnedTabAreaRight.Location = point;
            this._ProsjekgodisnjiUnpinnedTabAreaRight.Name     = "_ProsjekgodisnjiUnpinnedTabAreaRight";
            this._ProsjekgodisnjiUnpinnedTabAreaRight.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0, 0x235);
            this._ProsjekgodisnjiUnpinnedTabAreaRight.Size     = size;
            this._ProsjekgodisnjiUnpinnedTabAreaRight.TabIndex = 3;
            this._ProsjekgodisnjiUnpinnedTabAreaTop.Dock       = DockStyle.Top;
            this._ProsjekgodisnjiUnpinnedTabAreaTop.Font       = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            point = new System.Drawing.Point(0, 0);
            this._ProsjekgodisnjiUnpinnedTabAreaTop.Location = point;
            this._ProsjekgodisnjiUnpinnedTabAreaTop.Name     = "_ProsjekgodisnjiUnpinnedTabAreaTop";
            this._ProsjekgodisnjiUnpinnedTabAreaTop.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0x40d, 0);
            this._ProsjekgodisnjiUnpinnedTabAreaTop.Size     = size;
            this._ProsjekgodisnjiUnpinnedTabAreaTop.TabIndex = 4;
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.Dock  = DockStyle.Bottom;
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            point = new System.Drawing.Point(0, 0x235);
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.Location = point;
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.Name     = "_ProsjekgodisnjiUnpinnedTabAreaBottom";
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0x40d, 0);
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.Size     = size;
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.TabIndex = 5;
            this._ProsjekgodisnjiAutoHideControl.Font           = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            point = new System.Drawing.Point(0, 0);
            this._ProsjekgodisnjiAutoHideControl.Location = point;
            this._ProsjekgodisnjiAutoHideControl.Name     = "_ProsjekgodisnjiAutoHideControl";
            this._ProsjekgodisnjiAutoHideControl.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0, 0);
            this._ProsjekgodisnjiAutoHideControl.Size     = size;
            this._ProsjekgodisnjiAutoHideControl.TabIndex = 6;
            this.WindowDockingArea1.Controls.Add(this.DockableWindow1);
            this.WindowDockingArea1.Dock = DockStyle.Top;
            this.WindowDockingArea1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            point = new System.Drawing.Point(0, 0);
            this.WindowDockingArea1.Location = point;
            this.WindowDockingArea1.Name     = "WindowDockingArea1";
            this.WindowDockingArea1.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0x40d, 0x97);
            this.WindowDockingArea1.Size     = size;
            this.WindowDockingArea1.TabIndex = 7;
            this.DockableWindow1.Controls.Add(this.UltraGroupBox1);
            point = new System.Drawing.Point(0, 0);
            this.DockableWindow1.Location = point;
            this.DockableWindow1.Name     = "DockableWindow1";
            this.DockableWindow1.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0x40d, 0x92);
            this.DockableWindow1.Size     = size;
            this.DockableWindow1.TabIndex = 8;
            this.Controls.Add(this._ProsjekgodisnjiAutoHideControl);
            this.Controls.Add(this.UltraGrid1);
            this.Controls.Add(this.WindowDockingArea1);
            this.Controls.Add(this._ProsjekgodisnjiUnpinnedTabAreaTop);
            this.Controls.Add(this._ProsjekgodisnjiUnpinnedTabAreaBottom);
            this.Controls.Add(this._ProsjekgodisnjiUnpinnedTabAreaLeft);
            this.Controls.Add(this._ProsjekgodisnjiUnpinnedTabAreaRight);
            this.Name = "FondProsjekBolovanje";
            size      = new System.Drawing.Size(0x40d, 0x235);
            this.Size = size;
            ((ISupportInitialize)this.UltraGroupBox1).EndInit();
            this.UltraGroupBox1.ResumeLayout(false);
            this.UltraGroupBox1.PerformLayout();
            ((ISupportInitialize)this.UltraTextEditor1).EndInit();
            ((ISupportInitialize)this.UltraCombo2).EndInit();
            ((ISupportInitialize)this.UltraCombo1).EndInit();
            ((ISupportInitialize)this.UltraGrid1).EndInit();
            this.S_OD_BOLOVANJE_FONDDataSet1.EndInit();
            ((ISupportInitialize)this.UltraDockManager1).EndInit();
            this.WindowDockingArea1.ResumeLayout(false);
            this.DockableWindow1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
예제 #10
0
        private void InitializeComponent()
        {
            this.components = new Container();
            Infragistics.Win.Appearance appearance  = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            Guid         internalId = new Guid("e230d3ae-cd86-4b13-aa19-126aab4fc95a");
            DockAreaPane pane2      = new DockAreaPane(DockedLocation.DockedTop, internalId);

            internalId = new Guid("92f6b63e-efa0-435d-af25-7decacd7f421");
            Guid floatingParentId    = new Guid("00000000-0000-0000-0000-000000000000");
            Guid dockedParentId      = new Guid("e230d3ae-cd86-4b13-aa19-126aab4fc95a");
            DockableControlPane pane = new DockableControlPane(internalId, floatingParentId, -1, dockedParentId, -1);

            this.UltraGroupBox1      = new UltraGroupBox();
            this.UltraLabel3         = new UltraLabel();
            this.UltraLabel2         = new UltraLabel();
            this.UltraLabel1         = new UltraLabel();
            this.UltraNumericEditor1 = new UltraNumericEditor();
            this.UltraCombo2         = new UltraCombo();
            this.UltraCombo1         = new UltraCombo();
            this.UltraGrid1          = new UltraGrid();
            this.UltraDockManager1   = new UltraDockManager(this.components);
            this._ProsjekgodisnjiUnpinnedTabAreaLeft   = new UnpinnedTabArea();
            this._ProsjekgodisnjiUnpinnedTabAreaRight  = new UnpinnedTabArea();
            this._ProsjekgodisnjiUnpinnedTabAreaTop    = new UnpinnedTabArea();
            this._ProsjekgodisnjiUnpinnedTabAreaBottom = new UnpinnedTabArea();
            this._ProsjekgodisnjiAutoHideControl       = new AutoHideControl();
            this.WindowDockingArea1      = new WindowDockingArea();
            this.DockableWindow1         = new DockableWindow();
            this.UltraGridExcelExporter1 = new UltraGridExcelExporter(this.components);
            ((ISupportInitialize)this.UltraGroupBox1).BeginInit();
            this.UltraGroupBox1.SuspendLayout();
            ((ISupportInitialize)this.UltraNumericEditor1).BeginInit();
            ((ISupportInitialize)this.UltraCombo2).BeginInit();
            ((ISupportInitialize)this.UltraCombo1).BeginInit();
            ((ISupportInitialize)this.UltraGrid1).BeginInit();
            ((ISupportInitialize)this.UltraDockManager1).BeginInit();
            this.WindowDockingArea1.SuspendLayout();
            this.DockableWindow1.SuspendLayout();
            this.SuspendLayout();
            this.UltraGroupBox1.Controls.Add(this.UltraLabel3);
            this.UltraGroupBox1.Controls.Add(this.UltraLabel2);
            this.UltraGroupBox1.Controls.Add(this.UltraLabel1);
            this.UltraGroupBox1.Controls.Add(this.UltraNumericEditor1);
            this.UltraGroupBox1.Controls.Add(this.UltraCombo2);
            this.UltraGroupBox1.Controls.Add(this.UltraCombo1);
            System.Drawing.Point point = new System.Drawing.Point(0, 0x12);
            this.UltraGroupBox1.Location = point;
            this.UltraGroupBox1.Name     = "UltraGroupBox1";
            Size size = new System.Drawing.Size(0x40d, 0x85);

            this.UltraGroupBox1.Size     = size;
            this.UltraGroupBox1.TabIndex = 1;
            this.UltraGroupBox1.Text     = "Odabir razdoblja za izračun prosjeka i broja sati u mjesecu za koji se računa prosjek";
            point = new System.Drawing.Point(0x11, 0x5e);
            this.UltraLabel3.Location = point;
            this.UltraLabel3.Name     = "UltraLabel3";
            size = new System.Drawing.Size(0xcd, 0x17);
            this.UltraLabel3.Size     = size;
            this.UltraLabel3.TabIndex = 5;
            this.UltraLabel3.Text     = "Broj sati u mjesecu godišnjeg odmora";
            point = new System.Drawing.Point(0x11, 0x42);
            this.UltraLabel2.Location = point;
            this.UltraLabel2.Name     = "UltraLabel2";
            size = new System.Drawing.Size(0xb8, 0x17);
            this.UltraLabel2.Size     = size;
            this.UltraLabel2.TabIndex = 4;
            this.UltraLabel2.Text     = "Do godine i mjeseca obračuna";
            point = new System.Drawing.Point(0x11, 0x26);
            this.UltraLabel1.Location = point;
            this.UltraLabel1.Name     = "UltraLabel1";
            size = new System.Drawing.Size(0xb8, 0x17);
            this.UltraLabel1.Size     = size;
            this.UltraLabel1.TabIndex = 3;
            this.UltraLabel1.Text     = "Od godine i mjeseca obračuna";
            point = new System.Drawing.Point(0xe4, 90);
            this.UltraNumericEditor1.Location = point;
            this.UltraNumericEditor1.MaxValue = 200;
            this.UltraNumericEditor1.MinValue = 0;
            this.UltraNumericEditor1.Name     = "UltraNumericEditor1";
            size = new System.Drawing.Size(200, 0x15);
            this.UltraNumericEditor1.Size          = size;
            this.UltraNumericEditor1.SpinIncrement = 1;
            this.UltraNumericEditor1.TabIndex      = 2;
            this.UltraCombo2.CharacterCasing       = CharacterCasing.Normal;
            this.UltraCombo2.DisplayLayout.Override.AllowAddNew = AllowAddNew.TemplateOnBottom;
            this.UltraCombo2.DisplayLayout.Override.AllowDelete = DefaultableBoolean.True;
            this.UltraCombo2.DisplayLayout.Override.AllowUpdate = DefaultableBoolean.True;
            point = new System.Drawing.Point(0xe4, 0x3e);
            this.UltraCombo2.Location = point;
            this.UltraCombo2.Name     = "UltraCombo2";
            size = new System.Drawing.Size(200, 0x16);
            this.UltraCombo2.Size            = size;
            this.UltraCombo2.TabIndex        = 1;
            this.UltraCombo2.Text            = "UltraCombo2";
            this.UltraCombo1.CharacterCasing = CharacterCasing.Normal;
            this.UltraCombo1.DisplayLayout.Override.AllowAddNew = AllowAddNew.TemplateOnBottom;
            this.UltraCombo1.DisplayLayout.Override.AllowDelete = DefaultableBoolean.True;
            this.UltraCombo1.DisplayLayout.Override.AllowUpdate = DefaultableBoolean.True;
            this.UltraCombo1.LimitToList = true;
            point = new System.Drawing.Point(0xe4, 0x22);
            this.UltraCombo1.Location = point;
            this.UltraCombo1.Name     = "UltraCombo1";
            size = new System.Drawing.Size(200, 0x16);
            this.UltraCombo1.Size     = size;
            this.UltraCombo1.TabIndex = 0;
            this.UltraCombo1.Text     = "UltraCombo1";
            appearance.BackColor      = Color.White;
            this.UltraGrid1.DisplayLayout.Appearance               = appearance;
            this.UltraGrid1.DisplayLayout.Override.AllowAddNew     = AllowAddNew.TemplateOnBottom;
            this.UltraGrid1.DisplayLayout.Override.AllowDelete     = DefaultableBoolean.True;
            this.UltraGrid1.DisplayLayout.Override.AllowUpdate     = DefaultableBoolean.True;
            this.UltraGrid1.DisplayLayout.Override.BorderStyleCell = UIElementBorderStyle.None;
            appearance2.BackColor = Color.Transparent;
            this.UltraGrid1.DisplayLayout.Override.CardAreaAppearance = appearance2;
            this.UltraGrid1.DisplayLayout.Override.CellPadding        = 3;
            appearance3.TextHAlignAsString = "Left";
            this.UltraGrid1.DisplayLayout.Override.HeaderAppearance = appearance3;
            appearance4.BorderColor        = Color.LightGray;
            appearance4.TextVAlignAsString = "Middle";
            this.UltraGrid1.DisplayLayout.Override.RowAppearance = appearance4;
            appearance5.BackColor   = Color.LightSteelBlue;
            appearance5.BorderColor = Color.Black;
            appearance5.ForeColor   = Color.Black;
            this.UltraGrid1.DisplayLayout.Override.SelectedRowAppearance = appearance5;
            this.UltraGrid1.DisplayLayout.RowConnectorStyle = RowConnectorStyle.None;
            this.UltraGrid1.Dock = DockStyle.Fill;
            point = new System.Drawing.Point(0, 0x9c);
            this.UltraGrid1.Location = point;
            this.UltraGrid1.Name     = "UltraGrid1";
            size = new System.Drawing.Size(0x40d, 0x199);
            this.UltraGrid1.Size     = size;
            this.UltraGrid1.TabIndex = 0;
            pane.Control             = this.UltraGroupBox1;
            Rectangle rectangle = new Rectangle(-15, -15, 200, 110);

            pane.OriginalControlBounds = rectangle;
            size      = new System.Drawing.Size(100, 100);
            pane.Size = size;
            pane.Text = "....";
            pane2.Panes.AddRange(new DockablePaneBase[] { pane });
            size       = new System.Drawing.Size(0x40d, 0x97);
            pane2.Size = size;
            this.UltraDockManager1.DockAreas.AddRange(new DockAreaPane[] { pane2 });
            this.UltraDockManager1.HostControl            = this;
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.Dock = DockStyle.Left;
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            point = new System.Drawing.Point(0, 0);
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.Location = point;
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.Name     = "_ProsjekgodisnjiUnpinnedTabAreaLeft";
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0, 0x235);
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.Size     = size;
            this._ProsjekgodisnjiUnpinnedTabAreaLeft.TabIndex = 2;
            this._ProsjekgodisnjiUnpinnedTabAreaRight.Dock    = DockStyle.Right;
            this._ProsjekgodisnjiUnpinnedTabAreaRight.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            point = new System.Drawing.Point(0x40d, 0);
            this._ProsjekgodisnjiUnpinnedTabAreaRight.Location = point;
            this._ProsjekgodisnjiUnpinnedTabAreaRight.Name     = "_ProsjekgodisnjiUnpinnedTabAreaRight";
            this._ProsjekgodisnjiUnpinnedTabAreaRight.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0, 0x235);
            this._ProsjekgodisnjiUnpinnedTabAreaRight.Size     = size;
            this._ProsjekgodisnjiUnpinnedTabAreaRight.TabIndex = 3;
            this._ProsjekgodisnjiUnpinnedTabAreaTop.Dock       = DockStyle.Top;
            this._ProsjekgodisnjiUnpinnedTabAreaTop.Font       = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            point = new System.Drawing.Point(0, 0);
            this._ProsjekgodisnjiUnpinnedTabAreaTop.Location = point;
            this._ProsjekgodisnjiUnpinnedTabAreaTop.Name     = "_ProsjekgodisnjiUnpinnedTabAreaTop";
            this._ProsjekgodisnjiUnpinnedTabAreaTop.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0x40d, 0);
            this._ProsjekgodisnjiUnpinnedTabAreaTop.Size     = size;
            this._ProsjekgodisnjiUnpinnedTabAreaTop.TabIndex = 4;
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.Dock  = DockStyle.Bottom;
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            point = new System.Drawing.Point(0, 0x235);
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.Location = point;
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.Name     = "_ProsjekgodisnjiUnpinnedTabAreaBottom";
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0x40d, 0);
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.Size     = size;
            this._ProsjekgodisnjiUnpinnedTabAreaBottom.TabIndex = 5;
            this._ProsjekgodisnjiAutoHideControl.Font           = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            point = new System.Drawing.Point(0, 0);
            this._ProsjekgodisnjiAutoHideControl.Location = point;
            this._ProsjekgodisnjiAutoHideControl.Name     = "_ProsjekgodisnjiAutoHideControl";
            this._ProsjekgodisnjiAutoHideControl.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0, 0);
            this._ProsjekgodisnjiAutoHideControl.Size     = size;
            this._ProsjekgodisnjiAutoHideControl.TabIndex = 6;
            this.WindowDockingArea1.Controls.Add(this.DockableWindow1);
            this.WindowDockingArea1.Dock = DockStyle.Top;
            this.WindowDockingArea1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            point = new System.Drawing.Point(0, 0);
            this.WindowDockingArea1.Location = point;
            this.WindowDockingArea1.Name     = "WindowDockingArea1";
            this.WindowDockingArea1.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0x40d, 0x9c);
            this.WindowDockingArea1.Size     = size;
            this.WindowDockingArea1.TabIndex = 7;
            this.DockableWindow1.Controls.Add(this.UltraGroupBox1);
            point = new System.Drawing.Point(0, 0);
            this.DockableWindow1.Location = point;
            this.DockableWindow1.Name     = "DockableWindow1";
            this.DockableWindow1.Owner    = this.UltraDockManager1;
            size = new System.Drawing.Size(0x40d, 0x97);
            this.DockableWindow1.Size     = size;
            this.DockableWindow1.TabIndex = 8;
            this.Controls.Add(this._ProsjekgodisnjiAutoHideControl);
            this.Controls.Add(this.UltraGrid1);
            this.Controls.Add(this.WindowDockingArea1);
            this.Controls.Add(this._ProsjekgodisnjiUnpinnedTabAreaTop);
            this.Controls.Add(this._ProsjekgodisnjiUnpinnedTabAreaBottom);
            this.Controls.Add(this._ProsjekgodisnjiUnpinnedTabAreaLeft);
            this.Controls.Add(this._ProsjekgodisnjiUnpinnedTabAreaRight);
            this.Name = "Prosjekgodisnji";
            size      = new System.Drawing.Size(0x40d, 0x235);
            this.Size = size;
            ((ISupportInitialize)this.UltraGroupBox1).EndInit();
            this.UltraGroupBox1.ResumeLayout(false);
            this.UltraGroupBox1.PerformLayout();
            ((ISupportInitialize)this.UltraNumericEditor1).EndInit();
            ((ISupportInitialize)this.UltraCombo2).EndInit();
            ((ISupportInitialize)this.UltraCombo1).EndInit();
            ((ISupportInitialize)this.UltraGrid1).EndInit();
            ((ISupportInitialize)this.UltraDockManager1).EndInit();
            this.WindowDockingArea1.ResumeLayout(false);
            this.DockableWindow1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
예제 #11
0
        private void InitializeComponent()
        {
            this.components = new Container();
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance  = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            UltraGridBand   band     = new UltraGridBand("SP_LISTA_IZNOSA_RADNIKA", -1);
            UltraGridColumn column   = new UltraGridColumn("IDRADNIK");
            UltraGridColumn column10 = new UltraGridColumn("PREZIME");
            UltraGridColumn column11 = new UltraGridColumn("IME");
            UltraGridColumn column12 = new UltraGridColumn("satibruto");
            UltraGridColumn column13 = new UltraGridColumn("ukupnobruto");

            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            UltraGridColumn             column14    = new UltraGridColumn("KOEFICIJENT");
            UltraGridColumn             column15    = new UltraGridColumn("ukupnodoprinosi");

            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
            UltraGridColumn             column16    = new UltraGridColumn("ukupnoporeziprirez");

            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
            UltraGridColumn             column17    = new UltraGridColumn("netoplaca");

            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
            UltraGridColumn             column2      = new UltraGridColumn("ukupnonetonaknade");

            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
            UltraGridColumn             column3      = new UltraGridColumn("netoprimanja");

            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
            UltraGridColumn             column4      = new UltraGridColumn("ukupnoobustave");

            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
            UltraGridColumn             column5      = new UltraGridColumn("UKUPNOZAISPLATU");

            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
            UltraGridColumn             column6      = new UltraGridColumn("ukupnoolaksice");

            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
            UltraGridColumn             column7      = new UltraGridColumn("UKUPNODOPRINOSINA");

            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
            UltraGridColumn             column8      = new UltraGridColumn("POREZKRIZNI");

            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
            UltraGridColumn             column9      = new UltraGridColumn("netoplacamanjekrizni");

            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
            DockAreaPane        pane2            = new DockAreaPane(DockedLocation.DockedTop, new Guid("17370e15-8546-4b2c-a95d-3e8bc54df39a"));
            Guid                floatingParentId = new Guid("00000000-0000-0000-0000-000000000000");
            Guid                dockedParentId   = new Guid("17370e15-8546-4b2c-a95d-3e8bc54df39a");
            DockableControlPane pane             = new DockableControlPane(new Guid("85626e07-f839-4f38-96b7-5f7acb8b4b20"), floatingParentId, -1, dockedParentId, -1);

            this.UltraGroupBox1                    = new UltraGroupBox();
            this.GroupBox1                         = new GroupBox();
            this.sifraObracuna                     = new UltraMaskedEdit();
            this.radiobtnObracun                   = new RadioButton();
            this.GroupBox2                         = new GroupBox();
            this.radiobtnSortiranjeSifra           = new RadioButton();
            this.radiobtnSortiranjePrezime         = new RadioButton();
            this.GroupBox3                         = new GroupBox();
            this.radiobtnPapirUspravno             = new RadioButton();
            this.radiobtnPolozeniIspis             = new RadioButton();
            this.SP_LISTA_IZNOSA_RADNIKADataSet1   = new SP_LISTA_IZNOSA_RADNIKADataSet();
            this.gridPregledEkran                  = new UltraGrid();
            this.UltraDockManager1                 = new UltraDockManager(this.components);
            this._ListaIznosaUnpinnedTabAreaLeft   = new UnpinnedTabArea();
            this._ListaIznosaUnpinnedTabAreaRight  = new UnpinnedTabArea();
            this._ListaIznosaUnpinnedTabAreaTop    = new UnpinnedTabArea();
            this._ListaIznosaUnpinnedTabAreaBottom = new UnpinnedTabArea();
            this._ListaIznosaAutoHideControl       = new AutoHideControl();
            this.WindowDockingArea1                = new WindowDockingArea();
            this.DockableWindow1                   = new DockableWindow();
            ((ISupportInitialize)this.UltraGroupBox1).BeginInit();
            this.UltraGroupBox1.SuspendLayout();
            this.GroupBox1.SuspendLayout();
            this.GroupBox2.SuspendLayout();
            this.GroupBox3.SuspendLayout();
            this.SP_LISTA_IZNOSA_RADNIKADataSet1.BeginInit();
            ((ISupportInitialize)this.gridPregledEkran).BeginInit();
            ((ISupportInitialize)this.UltraDockManager1).BeginInit();
            this.WindowDockingArea1.SuspendLayout();
            this.DockableWindow1.SuspendLayout();
            this.SuspendLayout();
            appearance2.BackColor          = Color.WhiteSmoke;
            this.UltraGroupBox1.Appearance = appearance2;
            this.UltraGroupBox1.Controls.Add(this.GroupBox1);
            this.UltraGroupBox1.Controls.Add(this.GroupBox2);
            this.UltraGroupBox1.Controls.Add(this.GroupBox3);
            this.UltraGroupBox1.Location = new System.Drawing.Point(0, 0x12);
            this.UltraGroupBox1.Name     = "UltraGroupBox1";
            this.UltraGroupBox1.Size     = new System.Drawing.Size(0x2db, 0xe2);
            this.UltraGroupBox1.TabIndex = 15;
            this.UltraGroupBox1.Text     = "Parametri ispisa";
            this.GroupBox1.Controls.Add(this.sifraObracuna);
            this.GroupBox1.Controls.Add(this.radiobtnObracun);
            this.GroupBox1.Font              = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            this.GroupBox1.Location          = new System.Drawing.Point(6, 0x13);
            this.GroupBox1.Name              = "GroupBox1";
            this.GroupBox1.Size              = new System.Drawing.Size(0x130, 0x33);
            this.GroupBox1.TabIndex          = 3;
            this.GroupBox1.TabStop           = false;
            this.GroupBox1.Text              = "Obračun ";
            appearance.BackColor             = Color.Yellow;
            this.sifraObracuna.Appearance    = appearance;
            this.sifraObracuna.DisplayStyle  = EmbeddableElementDisplayStyle.Office2007;
            this.sifraObracuna.EditAs        = EditAsType.String;
            this.sifraObracuna.Location      = new System.Drawing.Point(120, 0x10);
            this.sifraObracuna.Name          = "sifraObracuna";
            this.sifraObracuna.PromptChar    = ' ';
            this.sifraObracuna.ReadOnly      = true;
            this.sifraObracuna.Size          = new System.Drawing.Size(100, 20);
            this.sifraObracuna.TabIndex      = 2;
            this.sifraObracuna.TabNavigation = MaskedEditTabNavigation.NextControl;
            this.sifraObracuna.TabStop       = false;
            this.radiobtnObracun.Checked     = true;
            this.radiobtnObracun.Font        = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            this.radiobtnObracun.Location    = new System.Drawing.Point(10, 0x10);
            this.radiobtnObracun.Name        = "radiobtnObracun";
            this.radiobtnObracun.Size        = new System.Drawing.Size(0x70, 20);
            this.radiobtnObracun.TabIndex    = 0;
            this.radiobtnObracun.TabStop     = true;
            this.radiobtnObracun.Text        = "&Broj obračuna:";
            this.GroupBox2.Controls.Add(this.radiobtnSortiranjeSifra);
            this.GroupBox2.Controls.Add(this.radiobtnSortiranjePrezime);
            this.GroupBox2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            this.GroupBox2.Location = new System.Drawing.Point(6, 0x48);
            this.GroupBox2.Name     = "GroupBox2";
            this.GroupBox2.Size     = new System.Drawing.Size(0x130, 0x2a);
            this.GroupBox2.TabIndex = 4;
            this.GroupBox2.TabStop  = false;
            this.GroupBox2.Text     = "Poredak";
            this.radiobtnSortiranjeSifra.Checked    = true;
            this.radiobtnSortiranjeSifra.Location   = new System.Drawing.Point(8, 0x10);
            this.radiobtnSortiranjeSifra.Name       = "radiobtnSortiranjeSifra";
            this.radiobtnSortiranjeSifra.Size       = new System.Drawing.Size(0x72, 20);
            this.radiobtnSortiranjeSifra.TabIndex   = 0;
            this.radiobtnSortiranjeSifra.TabStop    = true;
            this.radiobtnSortiranjeSifra.Text       = "&Šifra radnika";
            this.radiobtnSortiranjePrezime.Location = new System.Drawing.Point(0xb6, 0x10);
            this.radiobtnSortiranjePrezime.Name     = "radiobtnSortiranjePrezime";
            this.radiobtnSortiranjePrezime.Size     = new System.Drawing.Size(0x74, 20);
            this.radiobtnSortiranjePrezime.TabIndex = 1;
            this.radiobtnSortiranjePrezime.Text     = "&Prezime i ime";
            this.GroupBox3.Controls.Add(this.radiobtnPapirUspravno);
            this.GroupBox3.Controls.Add(this.radiobtnPolozeniIspis);
            this.GroupBox3.Font                = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            this.GroupBox3.Location            = new System.Drawing.Point(6, 0x77);
            this.GroupBox3.Name                = "GroupBox3";
            this.GroupBox3.Size                = new System.Drawing.Size(0x130, 0x67);
            this.GroupBox3.TabIndex            = 5;
            this.GroupBox3.TabStop             = false;
            this.GroupBox3.Text                = "Orijentacija papira";
            this.radiobtnPapirUspravno.Checked = true;
            //this.radiobtnPapirUspravno.Image = My.Resources.Resources.portrait;
            this.radiobtnPapirUspravno.Location          = new System.Drawing.Point(8, 0x10);
            this.radiobtnPapirUspravno.Name              = "radiobtnPapirUspravno";
            this.radiobtnPapirUspravno.Size              = new System.Drawing.Size(0x72, 0x51);
            this.radiobtnPapirUspravno.TabIndex          = 0;
            this.radiobtnPapirUspravno.TabStop           = true;
            this.radiobtnPapirUspravno.Text              = "&Uspravno";
            this.radiobtnPapirUspravno.TextAlign         = ContentAlignment.BottomCenter;
            this.radiobtnPapirUspravno.TextImageRelation = TextImageRelation.ImageAboveText;
            //this.radiobtnPolozeniIspis.Image = My.Resources.Resources.landscape;
            this.radiobtnPolozeniIspis.Location              = new System.Drawing.Point(0xab, 0x10);
            this.radiobtnPolozeniIspis.Name                  = "radiobtnPolozeniIspis";
            this.radiobtnPolozeniIspis.Size                  = new System.Drawing.Size(0x74, 0x51);
            this.radiobtnPolozeniIspis.TabIndex              = 1;
            this.radiobtnPolozeniIspis.Text                  = "P&oloženo";
            this.radiobtnPolozeniIspis.TextAlign             = ContentAlignment.BottomCenter;
            this.radiobtnPolozeniIspis.TextImageRelation     = TextImageRelation.ImageAboveText;
            this.SP_LISTA_IZNOSA_RADNIKADataSet1.DataSetName = "SP_LISTA_IZNOSA_RADNIKADataSet";
            this.gridPregledEkran.DataMember                 = "SP_LISTA_IZNOSA_RADNIKA";
            this.gridPregledEkran.DataSource                 = this.SP_LISTA_IZNOSA_RADNIKADataSet1;
            appearance3.BackColor = Color.White;
            this.gridPregledEkran.DisplayLayout.Appearance = appearance3;
            column.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column.Header.Caption         = "Šifra";
            column.Header.VisiblePosition = 0;
            column.Width = 0x34;
            column10.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column10.Header.VisiblePosition = 1;
            column11.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column11.Header.VisiblePosition = 2;
            column11.Width                  = 0x58;
            column12.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column12.Header.Caption         = "Sati";
            column12.Header.VisiblePosition = 3;
            column12.Width                  = 0x37;
            column13.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            appearance4.TextHAlignAsString  = "Right";
            column13.CellAppearance         = appearance4;
            appearance5.TextHAlignAsString  = "Right";
            column13.Header.Appearance      = appearance5;
            column13.Header.Caption         = "Bruto";
            column13.Header.TextOrientation = new TextOrientationInfo(0, TextFlowDirection.Horizontal);
            column13.Header.VisiblePosition = 5;
            column13.MaskInput              = "{LOC} n,nnn,nnn.nn";
            column14.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column14.Header.VisiblePosition = 4;
            column15.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            appearance6.TextHAlignAsString  = "Right";
            column15.CellAppearance         = appearance6;
            appearance7.TextHAlignAsString  = "Right";
            column15.Header.Appearance      = appearance7;
            column15.Header.Caption         = "Doprinosi";
            column15.Header.TextOrientation = new TextOrientationInfo(0, TextFlowDirection.Horizontal);
            column15.Header.VisiblePosition = 6;
            column15.MaskInput              = "{LOC} n,nnn,nnn.nn";
            column16.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            appearance8.TextHAlignAsString  = "Right";
            column16.CellAppearance         = appearance8;
            appearance9.TextHAlignAsString  = "Right";
            column16.Header.Appearance      = appearance9;
            column16.Header.Caption         = "Porez i prirez";
            column16.Header.TextOrientation = new TextOrientationInfo(0, TextFlowDirection.Horizontal);
            column16.Header.VisiblePosition = 8;
            column16.MaskInput              = "{LOC} n,nnn,nnn.nn";
            column17.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            appearance10.TextHAlignAsString = "Right";
            column17.CellAppearance         = appearance10;
            appearance11.TextHAlignAsString = "Right";
            column17.Header.Appearance      = appearance11;
            column17.Header.Caption         = "Neto plaća";
            column17.Header.TextOrientation = new TextOrientationInfo(0, TextFlowDirection.Horizontal);
            column17.Header.VisiblePosition = 9;
            column17.MaskInput              = "{LOC} n,nnn,nnn.nn";
            column2.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            appearance13.TextHAlignAsString = "Right";
            column2.CellAppearance          = appearance13;
            appearance14.TextHAlignAsString = "Right";
            column2.Header.Appearance       = appearance14;
            column2.Header.Caption          = "Neto naknade";
            column2.Header.TextOrientation  = new TextOrientationInfo(0, TextFlowDirection.Horizontal);
            column2.Header.VisiblePosition  = 11;
            column2.MaskInput               = "{LOC} n,nnn,nnn.nn";
            column3.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            appearance15.TextHAlignAsString = "Right";
            column3.CellAppearance          = appearance15;
            appearance16.TextHAlignAsString = "Right";
            column3.Header.Appearance       = appearance16;
            column3.Header.Caption          = "Neto primanja";
            column3.Header.TextOrientation  = new TextOrientationInfo(0, TextFlowDirection.Horizontal);
            column3.Header.VisiblePosition  = 13;
            column3.MaskInput               = "{LOC} n,nnn,nnn.nn";
            column4.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            appearance17.TextHAlignAsString = "Right";
            column4.CellAppearance          = appearance17;
            appearance18.TextHAlignAsString = "Right";
            column4.Header.Appearance       = appearance18;
            column4.Header.Caption          = "Obustave";
            column4.Header.TextOrientation  = new TextOrientationInfo(0, TextFlowDirection.Horizontal);
            column4.Header.VisiblePosition  = 14;
            column4.MaskInput               = "{LOC} n,nnn,nnn.nn";
            column5.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            appearance19.TextHAlignAsString = "Right";
            column5.CellAppearance          = appearance19;
            appearance20.TextHAlignAsString = "Right";
            column5.Header.Appearance       = appearance20;
            column5.Header.Caption          = "Za isplatu";
            column5.Header.TextOrientation  = new TextOrientationInfo(0, TextFlowDirection.Horizontal);
            column5.Header.VisiblePosition  = 15;
            column5.MaskInput               = "{LOC} n,nnn,nnn.nn";
            column6.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            appearance21.TextHAlignAsString = "Right";
            column6.CellAppearance          = appearance21;
            appearance22.TextHAlignAsString = "Right";
            column6.Header.Appearance       = appearance22;
            column6.Header.Caption          = "Olakšice";
            column6.Header.TextOrientation  = new TextOrientationInfo(0, TextFlowDirection.Horizontal);
            column6.Header.VisiblePosition  = 7;
            column6.MaskInput               = "{LOC} n,nnn,nnn.nn";
            column7.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            appearance24.TextHAlignAsString = "Right";
            column7.CellAppearance          = appearance24;
            appearance25.TextHAlignAsString = "Right";
            column7.Header.Appearance       = appearance25;
            column7.Header.Caption          = "Doprinosi na";
            column7.Header.TextOrientation  = new TextOrientationInfo(0, TextFlowDirection.Horizontal);
            column7.Header.VisiblePosition  = 0x10;
            column7.MaskInput               = "{LOC} n,nnn,nnn.nn";
            column8.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            appearance26.TextHAlignAsString = "Right";
            column8.CellAppearance          = appearance26;
            appearance27.TextHAlignAsString = "Right";
            column8.Header.Appearance       = appearance27;
            column8.Header.Caption          = "Pos.por.";
            column8.Header.TextOrientation  = new TextOrientationInfo(0, TextFlowDirection.Horizontal);
            column8.Header.VisiblePosition  = 10;
            column8.MaskInput               = "{LOC} n,nnn,nnn.nn";
            column9.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            appearance28.TextHAlignAsString = "Right";
            column9.CellAppearance          = appearance28;
            appearance29.TextHAlignAsString = "Right";
            column9.Header.Appearance       = appearance29;
            column9.Header.Caption          = "Neto - pos.por";
            column9.Header.TextOrientation  = new TextOrientationInfo(0, TextFlowDirection.Horizontal);
            column9.Header.VisiblePosition  = 12;
            column9.MaskInput               = "{LOC} n,nnn,nnn.nn";
            band.Columns.AddRange(new object[] {
                column, column10, column11, column12, column13, column14, column15, column16, column17, column2, column3, column4, column5, column6, column7, column8,
                column9
            });
            this.gridPregledEkran.DisplayLayout.BandsSerializer.Add(band);
            this.gridPregledEkran.DisplayLayout.Override.AllowAddNew     = AllowAddNew.No;
            this.gridPregledEkran.DisplayLayout.Override.AllowDelete     = DefaultableBoolean.False;
            this.gridPregledEkran.DisplayLayout.Override.AllowUpdate     = DefaultableBoolean.False;
            this.gridPregledEkran.DisplayLayout.Override.BorderStyleCell = UIElementBorderStyle.None;
            appearance12.BackColor = Color.Transparent;
            this.gridPregledEkran.DisplayLayout.Override.CardAreaAppearance = appearance12;
            this.gridPregledEkran.DisplayLayout.Override.CellClickAction    = CellClickAction.RowSelect;
            this.gridPregledEkran.DisplayLayout.Override.CellPadding        = 3;
            this.gridPregledEkran.DisplayLayout.Override.ColumnAutoSizeMode = ColumnAutoSizeMode.AllRowsInBand;
            appearance23.TextHAlignAsString = "Left";
            this.gridPregledEkran.DisplayLayout.Override.HeaderAppearance  = appearance23;
            this.gridPregledEkran.DisplayLayout.Override.HeaderClickAction = HeaderClickAction.SortMulti;
            appearance30.BorderColor        = Color.LightGray;
            appearance30.TextVAlignAsString = "Middle";
            this.gridPregledEkran.DisplayLayout.Override.RowAppearance = appearance30;
            this.gridPregledEkran.DisplayLayout.Override.RowSelectors  = DefaultableBoolean.False;
            appearance31.BackColor   = Color.LightSteelBlue;
            appearance31.BorderColor = Color.Black;
            appearance31.ForeColor   = Color.Black;
            this.gridPregledEkran.DisplayLayout.Override.SelectedRowAppearance = appearance31;
            this.gridPregledEkran.DisplayLayout.Override.SelectTypeCell        = SelectType.None;
            this.gridPregledEkran.DisplayLayout.Override.SelectTypeCol         = SelectType.None;
            this.gridPregledEkran.DisplayLayout.Override.SelectTypeRow         = SelectType.Single;
            this.gridPregledEkran.DisplayLayout.RowConnectorStyle = RowConnectorStyle.None;
            this.gridPregledEkran.DisplayLayout.ScrollBounds      = ScrollBounds.ScrollToFill;
            this.gridPregledEkran.DisplayLayout.ScrollStyle       = ScrollStyle.Immediate;
            this.gridPregledEkran.DisplayLayout.TabNavigation     = TabNavigation.NextControl;
            this.gridPregledEkran.DisplayLayout.ViewStyle         = ViewStyle.SingleBand;
            this.gridPregledEkran.Dock        = DockStyle.Fill;
            this.gridPregledEkran.Font        = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0xee);
            this.gridPregledEkran.Location    = new System.Drawing.Point(0, 0xf9);
            this.gridPregledEkran.Name        = "gridPregledEkran";
            this.gridPregledEkran.Size        = new System.Drawing.Size(0x2db, 240);
            this.gridPregledEkran.TabIndex    = 14;
            this.gridPregledEkran.UseFlatMode = DefaultableBoolean.True;
            pane.Control = this.UltraGroupBox1;
            Rectangle rectangle = new Rectangle(3, 3, 0x142, 0xb2);

            pane.OriginalControlBounds = rectangle;
            pane.Size = new System.Drawing.Size(100, 100);
            pane2.Panes.AddRange(new DockablePaneBase[] { pane });
            pane2.Size = new System.Drawing.Size(0x2db, 0xf4);
            this.UltraDockManager1.DockAreas.AddRange(new DockAreaPane[] { pane2 });
            this.UltraDockManager1.HostControl              = this;
            this.UltraDockManager1.UseAppStyling            = false;
            this.UltraDockManager1.WindowStyle              = WindowStyle.Office2007;
            this._ListaIznosaUnpinnedTabAreaLeft.Dock       = DockStyle.Left;
            this._ListaIznosaUnpinnedTabAreaLeft.Font       = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            this._ListaIznosaUnpinnedTabAreaLeft.Location   = new System.Drawing.Point(0, 0);
            this._ListaIznosaUnpinnedTabAreaLeft.Name       = "_ListaIznosaUnpinnedTabAreaLeft";
            this._ListaIznosaUnpinnedTabAreaLeft.Owner      = this.UltraDockManager1;
            this._ListaIznosaUnpinnedTabAreaLeft.Size       = new System.Drawing.Size(0, 0x1e9);
            this._ListaIznosaUnpinnedTabAreaLeft.TabIndex   = 0x10;
            this._ListaIznosaUnpinnedTabAreaRight.Dock      = DockStyle.Right;
            this._ListaIznosaUnpinnedTabAreaRight.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            this._ListaIznosaUnpinnedTabAreaRight.Location  = new System.Drawing.Point(0x2db, 0);
            this._ListaIznosaUnpinnedTabAreaRight.Name      = "_ListaIznosaUnpinnedTabAreaRight";
            this._ListaIznosaUnpinnedTabAreaRight.Owner     = this.UltraDockManager1;
            this._ListaIznosaUnpinnedTabAreaRight.Size      = new System.Drawing.Size(0, 0x1e9);
            this._ListaIznosaUnpinnedTabAreaRight.TabIndex  = 0x11;
            this._ListaIznosaUnpinnedTabAreaTop.Dock        = DockStyle.Top;
            this._ListaIznosaUnpinnedTabAreaTop.Font        = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            this._ListaIznosaUnpinnedTabAreaTop.Location    = new System.Drawing.Point(0, 0);
            this._ListaIznosaUnpinnedTabAreaTop.Name        = "_ListaIznosaUnpinnedTabAreaTop";
            this._ListaIznosaUnpinnedTabAreaTop.Owner       = this.UltraDockManager1;
            this._ListaIznosaUnpinnedTabAreaTop.Size        = new System.Drawing.Size(0x2db, 0);
            this._ListaIznosaUnpinnedTabAreaTop.TabIndex    = 0x12;
            this._ListaIznosaUnpinnedTabAreaBottom.Dock     = DockStyle.Bottom;
            this._ListaIznosaUnpinnedTabAreaBottom.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            this._ListaIznosaUnpinnedTabAreaBottom.Location = new System.Drawing.Point(0, 0x1e9);
            this._ListaIznosaUnpinnedTabAreaBottom.Name     = "_ListaIznosaUnpinnedTabAreaBottom";
            this._ListaIznosaUnpinnedTabAreaBottom.Owner    = this.UltraDockManager1;
            this._ListaIznosaUnpinnedTabAreaBottom.Size     = new System.Drawing.Size(0x2db, 0);
            this._ListaIznosaUnpinnedTabAreaBottom.TabIndex = 0x13;
            this._ListaIznosaAutoHideControl.Font           = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            this._ListaIznosaAutoHideControl.Location       = new System.Drawing.Point(0, 0);
            this._ListaIznosaAutoHideControl.Name           = "_ListaIznosaAutoHideControl";
            this._ListaIznosaAutoHideControl.Owner          = this.UltraDockManager1;
            this._ListaIznosaAutoHideControl.Size           = new System.Drawing.Size(0, 0x1e9);
            this._ListaIznosaAutoHideControl.TabIndex       = 20;
            this.WindowDockingArea1.Controls.Add(this.DockableWindow1);
            this.WindowDockingArea1.Dock     = DockStyle.Top;
            this.WindowDockingArea1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            this.WindowDockingArea1.Location = new System.Drawing.Point(0, 0);
            this.WindowDockingArea1.Name     = "WindowDockingArea1";
            this.WindowDockingArea1.Owner    = this.UltraDockManager1;
            this.WindowDockingArea1.Size     = new System.Drawing.Size(0x2db, 0xf9);
            this.WindowDockingArea1.TabIndex = 0x15;
            this.DockableWindow1.Controls.Add(this.UltraGroupBox1);
            this.DockableWindow1.Location = new System.Drawing.Point(0, 0);
            this.DockableWindow1.Name     = "DockableWindow1";
            this.DockableWindow1.Owner    = this.UltraDockManager1;
            this.DockableWindow1.Size     = new System.Drawing.Size(0x2db, 0xf4);
            this.DockableWindow1.TabIndex = 0x16;
            this.Controls.Add(this._ListaIznosaAutoHideControl);
            this.Controls.Add(this.gridPregledEkran);
            this.Controls.Add(this.WindowDockingArea1);
            this.Controls.Add(this._ListaIznosaUnpinnedTabAreaTop);
            this.Controls.Add(this._ListaIznosaUnpinnedTabAreaBottom);
            this.Controls.Add(this._ListaIznosaUnpinnedTabAreaLeft);
            this.Controls.Add(this._ListaIznosaUnpinnedTabAreaRight);
            this.Name = "ListaIznosa";
            this.Size = new System.Drawing.Size(0x2db, 0x1e9);

            this.UltraGroupBox1.Click += new EventHandler(this.UltraGroupBox1_Click);

            ((ISupportInitialize)this.UltraGroupBox1).EndInit();
            this.UltraGroupBox1.ResumeLayout(false);
            this.GroupBox1.ResumeLayout(false);
            this.GroupBox1.PerformLayout();
            this.GroupBox2.ResumeLayout(false);
            this.GroupBox3.ResumeLayout(false);
            this.SP_LISTA_IZNOSA_RADNIKADataSet1.EndInit();
            ((ISupportInitialize)this.gridPregledEkran).EndInit();
            ((ISupportInitialize)this.UltraDockManager1).EndInit();
            this.WindowDockingArea1.ResumeLayout(false);
            this.DockableWindow1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
예제 #12
0
        /// <summary>
        /// Hides the smart part.
        /// </summary>
        protected virtual void OnHide(Control smartPart)
        {
            DockableControlPane pane = this.PaneFromSmartPart(smartPart);

            pane.Close();
        }
예제 #13
0
        /// <summary>
        /// Applies the smart part info to the smart part within the workspace.
        /// </summary>
        /// <param name="smartPart">The smart part to which the smart part info should be applied.</param>
        /// <param name="smartPartInfo">The smart part info to apply</param>
        protected virtual void OnApplySmartPartInfo(Control smartPart, UltraDockSmartPartInfo smartPartInfo)
        {
            DockableControlPane pane = this.PaneFromSmartPart(smartPart);

            this.ApplySmartPartInfoHelper(pane, smartPartInfo);
        }
예제 #14
0
    private void InitializeComponent()
    {
        this.components = new Container();
        DockAreaPane        pane4 = new DockAreaPane(DockedLocation.DockedLeft, new Guid("dc098a14-4d56-4545-9a76-3c79f64a7302"));
        DockableControlPane pane  = new DockableControlPane(new Guid("55485020-77e0-4b3b-accb-6f79f130b5a5"), new Guid("00000000-0000-0000-0000-000000000000"), -1, new Guid("dc098a14-4d56-4545-9a76-3c79f64a7302"), -1);
        DockAreaPane        pane5 = new DockAreaPane(DockedLocation.DockedLeft, new Guid("58f7a64d-73c2-44e9-bf77-a570edfc5c83"));
        DockableControlPane pane2 = new DockableControlPane(new Guid("b206ff85-b322-4143-a80b-db44a5df47ca"), new Guid("00000000-0000-0000-0000-000000000000"), -1, new Guid("58f7a64d-73c2-44e9-bf77-a570edfc5c83"), -1);
        DockAreaPane        pane6 = new DockAreaPane(DockedLocation.DockedLeft, new Guid("947599a1-d5a8-417d-9d14-d0117ccabcae"));
        DockableControlPane pane3 = new DockableControlPane(new Guid("eef19695-e0d1-4fc6-9d3b-8db1f89284cc"), new Guid("00000000-0000-0000-0000-000000000000"), -1, new Guid("947599a1-d5a8-417d-9d14-d0117ccabcae"), -1);

        this.Panel2              = new Panel();
        this.UltraGrid1          = new UltraGrid();
        this.Panel1              = new Panel();
        this.UltraButton2        = new UltraButton();
        this.UltraButton1        = new UltraButton();
        this.Panel3              = new Panel();
        this.UltraGrid2          = new UltraGrid();
        this.DatasetKratkaRekap1 = new datasetKratkaRekap();
        this.DsIPObrazac1        = new dsIPObrazac();
        this.UltraDockManager1   = new UltraDockManager(this.components);
        this._RazmjestajSredstavaUnpinnedTabAreaLeft   = new UnpinnedTabArea();
        this._RazmjestajSredstavaUnpinnedTabAreaRight  = new UnpinnedTabArea();
        this._RazmjestajSredstavaUnpinnedTabAreaTop    = new UnpinnedTabArea();
        this._RazmjestajSredstavaUnpinnedTabAreaBottom = new UnpinnedTabArea();
        this._RazmjestajSredstavaAutoHideControl       = new AutoHideControl();
        this.WindowDockingArea1 = new WindowDockingArea();
        this.DockableWindow1    = new DockableWindow();
        this.WindowDockingArea2 = new WindowDockingArea();
        this.DockableWindow2    = new DockableWindow();
        this.WindowDockingArea3 = new WindowDockingArea();
        this.DockableWindow3    = new DockableWindow();
        this.Panel2.SuspendLayout();
        ((ISupportInitialize)this.UltraGrid1).BeginInit();
        this.Panel1.SuspendLayout();
        this.Panel3.SuspendLayout();
        ((ISupportInitialize)this.UltraGrid2).BeginInit();
        this.DatasetKratkaRekap1.BeginInit();
        this.DsIPObrazac1.BeginInit();
        ((ISupportInitialize)this.UltraDockManager1).BeginInit();
        this.WindowDockingArea1.SuspendLayout();
        this.DockableWindow1.SuspendLayout();
        this.WindowDockingArea2.SuspendLayout();
        this.DockableWindow2.SuspendLayout();
        this.WindowDockingArea3.SuspendLayout();
        this.DockableWindow3.SuspendLayout();
        this.SuspendLayout();
        this.Panel2.Controls.Add(this.UltraGrid1);
        this.Panel2.Location     = new System.Drawing.Point(0, 20);
        this.Panel2.Name         = "Panel2";
        this.Panel2.Size         = new System.Drawing.Size(0x198, 0x165);
        this.Panel2.TabIndex     = 5;
        this.UltraGrid1.Location = new System.Drawing.Point(0, 0);
        this.UltraGrid1.Name     = "UltraGrid1";
        this.UltraGrid1.Size     = new System.Drawing.Size(0x197, 0x158);
        this.UltraGrid1.TabIndex = 0;
        this.UltraGrid1.Text     = "UltraGrid1";
        this.Panel1.Controls.Add(this.UltraButton2);
        this.Panel1.Controls.Add(this.UltraButton1);
        this.Panel1.Location       = new System.Drawing.Point(0, 20);
        this.Panel1.Name           = "Panel1";
        this.Panel1.Size           = new System.Drawing.Size(0x5e, 0x165);
        this.Panel1.TabIndex       = 4;
        this.UltraButton2.Location = new System.Drawing.Point(10, 0x2c);
        this.UltraButton2.Name     = "UltraButton2";
        this.UltraButton2.Size     = new System.Drawing.Size(0x4b, 0x17);
        this.UltraButton2.TabIndex = 3;
        this.UltraButton2.Text     = "Prebaci dio";
        this.UltraButton1.Location = new System.Drawing.Point(10, 15);
        this.UltraButton1.Name     = "UltraButton1";
        this.UltraButton1.Size     = new System.Drawing.Size(0x4b, 0x17);
        this.UltraButton1.TabIndex = 2;
        this.UltraButton1.Text     = "Prebaci sve";
        this.Panel3.Controls.Add(this.UltraGrid2);
        this.Panel3.Location                             = new System.Drawing.Point(0, 20);
        this.Panel3.Name                                 = "Panel3";
        this.Panel3.Size                                 = new System.Drawing.Size(0x195, 0x165);
        this.Panel3.TabIndex                             = 6;
        this.UltraGrid2.Location                         = new System.Drawing.Point(6, 0);
        this.UltraGrid2.Name                             = "UltraGrid2";
        this.UltraGrid2.Size                             = new System.Drawing.Size(0x18c, 0x158);
        this.UltraGrid2.TabIndex                         = 1;
        this.UltraGrid2.Text                             = "UltraGrid2";
        this.DatasetKratkaRekap1.DataSetName             = "datasetKratkaRekap";
        this.DatasetKratkaRekap1.SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
        this.DsIPObrazac1.DataSetName                    = "dsIPObrazac";
        this.DsIPObrazac1.SchemaSerializationMode        = SchemaSerializationMode.IncludeSchema;
        pane4.DockedBefore                               = new Guid("58f7a64d-73c2-44e9-bf77-a570edfc5c83");
        pane.Control = this.Panel2;
        pane.OriginalControlBounds  = new Rectangle(0x21, 15, 0x160, 150);
        pane.Settings.AllowClose    = DefaultableBoolean.False;
        pane.Settings.AllowFloating = DefaultableBoolean.False;
        pane.Settings.AllowMaximize = DefaultableBoolean.False;
        pane.Settings.AllowMinimize = DefaultableBoolean.False;
        pane.Settings.AllowPin      = DefaultableBoolean.False;
        pane.Size = new System.Drawing.Size(100, 100);
        pane.Text = "Smještaj po lokacijama";
        pane4.Panes.AddRange(new DockablePaneBase[] { pane });
        pane4.Size                   = new System.Drawing.Size(0x198, 0x179);
        pane5.DockedBefore           = new Guid("947599a1-d5a8-417d-9d14-d0117ccabcae");
        pane2.Control                = this.Panel1;
        pane2.OriginalControlBounds  = new Rectangle(0x1a2, 15, 0x73, 0xb8);
        pane2.Settings.AllowClose    = DefaultableBoolean.False;
        pane2.Settings.AllowFloating = DefaultableBoolean.False;
        pane2.Settings.AllowMaximize = DefaultableBoolean.False;
        pane2.Settings.AllowMinimize = DefaultableBoolean.False;
        pane2.Settings.AllowPin      = DefaultableBoolean.False;
        pane2.Size                   = new System.Drawing.Size(100, 100);
        pane5.Panes.AddRange(new DockablePaneBase[] { pane2 });
        pane5.Size    = new System.Drawing.Size(0x5e, 0x179);
        pane3.Control = this.Panel3;
        pane3.OriginalControlBounds  = new Rectangle(0x298, 30, 0x196, 0x158);
        pane3.Settings.AllowClose    = DefaultableBoolean.False;
        pane3.Settings.AllowFloating = DefaultableBoolean.False;
        pane3.Settings.AllowMaximize = DefaultableBoolean.False;
        pane3.Settings.AllowMinimize = DefaultableBoolean.False;
        pane3.Settings.AllowPin      = DefaultableBoolean.False;
        pane3.Size = new System.Drawing.Size(100, 100);
        pane3.Text = "Raspoložive lokacije";
        pane6.Panes.AddRange(new DockablePaneBase[] { pane3 });
        pane6.Size = new System.Drawing.Size(0x195, 0x179);
        this.UltraDockManager1.DockAreas.AddRange(new DockAreaPane[] { pane4, pane5, pane6 });
        this.UltraDockManager1.HostControl   = this;
        this.UltraDockManager1.UseAppStyling = false;
        this.UltraDockManager1.UseFlatMode   = DefaultableBoolean.False;
        this.UltraDockManager1.WindowStyle   = WindowStyle.VisualStudio2005;
        this._RazmjestajSredstavaUnpinnedTabAreaLeft.Dock       = DockStyle.Left;
        this._RazmjestajSredstavaUnpinnedTabAreaLeft.Font       = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
        this._RazmjestajSredstavaUnpinnedTabAreaLeft.Location   = new System.Drawing.Point(0, 0);
        this._RazmjestajSredstavaUnpinnedTabAreaLeft.Name       = "_RazmjestajSredstavaUnpinnedTabAreaLeft";
        this._RazmjestajSredstavaUnpinnedTabAreaLeft.Owner      = this.UltraDockManager1;
        this._RazmjestajSredstavaUnpinnedTabAreaLeft.Size       = new System.Drawing.Size(0, 0x179);
        this._RazmjestajSredstavaUnpinnedTabAreaLeft.TabIndex   = 7;
        this._RazmjestajSredstavaUnpinnedTabAreaRight.Dock      = DockStyle.Right;
        this._RazmjestajSredstavaUnpinnedTabAreaRight.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
        this._RazmjestajSredstavaUnpinnedTabAreaRight.Location  = new System.Drawing.Point(0x39b, 0);
        this._RazmjestajSredstavaUnpinnedTabAreaRight.Name      = "_RazmjestajSredstavaUnpinnedTabAreaRight";
        this._RazmjestajSredstavaUnpinnedTabAreaRight.Owner     = this.UltraDockManager1;
        this._RazmjestajSredstavaUnpinnedTabAreaRight.Size      = new System.Drawing.Size(0, 0x179);
        this._RazmjestajSredstavaUnpinnedTabAreaRight.TabIndex  = 8;
        this._RazmjestajSredstavaUnpinnedTabAreaTop.Dock        = DockStyle.Top;
        this._RazmjestajSredstavaUnpinnedTabAreaTop.Font        = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
        this._RazmjestajSredstavaUnpinnedTabAreaTop.Location    = new System.Drawing.Point(0, 0);
        this._RazmjestajSredstavaUnpinnedTabAreaTop.Name        = "_RazmjestajSredstavaUnpinnedTabAreaTop";
        this._RazmjestajSredstavaUnpinnedTabAreaTop.Owner       = this.UltraDockManager1;
        this._RazmjestajSredstavaUnpinnedTabAreaTop.Size        = new System.Drawing.Size(0x39b, 0);
        this._RazmjestajSredstavaUnpinnedTabAreaTop.TabIndex    = 9;
        this._RazmjestajSredstavaUnpinnedTabAreaBottom.Dock     = DockStyle.Bottom;
        this._RazmjestajSredstavaUnpinnedTabAreaBottom.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
        this._RazmjestajSredstavaUnpinnedTabAreaBottom.Location = new System.Drawing.Point(0, 0x179);
        this._RazmjestajSredstavaUnpinnedTabAreaBottom.Name     = "_RazmjestajSredstavaUnpinnedTabAreaBottom";
        this._RazmjestajSredstavaUnpinnedTabAreaBottom.Owner    = this.UltraDockManager1;
        this._RazmjestajSredstavaUnpinnedTabAreaBottom.Size     = new System.Drawing.Size(0x39b, 0);
        this._RazmjestajSredstavaUnpinnedTabAreaBottom.TabIndex = 10;
        this._RazmjestajSredstavaAutoHideControl.Font           = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
        this._RazmjestajSredstavaAutoHideControl.Location       = new System.Drawing.Point(0, 0);
        this._RazmjestajSredstavaAutoHideControl.Name           = "_RazmjestajSredstavaAutoHideControl";
        this._RazmjestajSredstavaAutoHideControl.Owner          = this.UltraDockManager1;
        this._RazmjestajSredstavaAutoHideControl.Size           = new System.Drawing.Size(0, 0x179);
        this._RazmjestajSredstavaAutoHideControl.TabIndex       = 11;
        this.WindowDockingArea1.Controls.Add(this.DockableWindow1);
        this.WindowDockingArea1.Dock     = DockStyle.Left;
        this.WindowDockingArea1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
        this.WindowDockingArea1.Location = new System.Drawing.Point(0, 0);
        this.WindowDockingArea1.Name     = "WindowDockingArea1";
        this.WindowDockingArea1.Owner    = this.UltraDockManager1;
        this.WindowDockingArea1.Size     = new System.Drawing.Size(0x19d, 0x179);
        this.WindowDockingArea1.TabIndex = 12;
        this.DockableWindow1.Controls.Add(this.Panel2);
        this.DockableWindow1.Location = new System.Drawing.Point(0, 0);
        this.DockableWindow1.Name     = "DockableWindow1";
        this.DockableWindow1.Owner    = this.UltraDockManager1;
        this.DockableWindow1.Size     = new System.Drawing.Size(0x198, 0x179);
        this.DockableWindow1.TabIndex = 15;
        this.WindowDockingArea2.Controls.Add(this.DockableWindow2);
        this.WindowDockingArea2.Dock     = DockStyle.Left;
        this.WindowDockingArea2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
        this.WindowDockingArea2.Location = new System.Drawing.Point(0x19d, 0);
        this.WindowDockingArea2.Name     = "WindowDockingArea2";
        this.WindowDockingArea2.Owner    = this.UltraDockManager1;
        this.WindowDockingArea2.Size     = new System.Drawing.Size(0x63, 0x179);
        this.WindowDockingArea2.TabIndex = 13;
        this.DockableWindow2.Controls.Add(this.Panel1);
        this.DockableWindow2.Location = new System.Drawing.Point(0, 0);
        this.DockableWindow2.Name     = "DockableWindow2";
        this.DockableWindow2.Owner    = this.UltraDockManager1;
        this.DockableWindow2.Size     = new System.Drawing.Size(0x5e, 0x179);
        this.DockableWindow2.TabIndex = 0x10;
        this.WindowDockingArea3.Controls.Add(this.DockableWindow3);
        this.WindowDockingArea3.Dock     = DockStyle.Left;
        this.WindowDockingArea3.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
        this.WindowDockingArea3.Location = new System.Drawing.Point(0x200, 0);
        this.WindowDockingArea3.Name     = "WindowDockingArea3";
        this.WindowDockingArea3.Owner    = this.UltraDockManager1;
        this.WindowDockingArea3.Size     = new System.Drawing.Size(410, 0x179);
        this.WindowDockingArea3.TabIndex = 14;
        this.DockableWindow3.Controls.Add(this.Panel3);
        this.DockableWindow3.Location = new System.Drawing.Point(0, 0);
        this.DockableWindow3.Name     = "DockableWindow3";
        this.DockableWindow3.Owner    = this.UltraDockManager1;
        this.DockableWindow3.Size     = new System.Drawing.Size(0x195, 0x179);
        this.DockableWindow3.TabIndex = 0x11;
        this.Controls.Add(this._RazmjestajSredstavaAutoHideControl);
        this.Controls.Add(this.WindowDockingArea3);
        this.Controls.Add(this.WindowDockingArea2);
        this.Controls.Add(this.WindowDockingArea1);
        this.Controls.Add(this._RazmjestajSredstavaUnpinnedTabAreaTop);
        this.Controls.Add(this._RazmjestajSredstavaUnpinnedTabAreaBottom);
        this.Controls.Add(this._RazmjestajSredstavaUnpinnedTabAreaLeft);
        this.Controls.Add(this._RazmjestajSredstavaUnpinnedTabAreaRight);
        this.Name = "RazmjestajSredstava";
        this.Size = new System.Drawing.Size(0x39b, 0x179);


        this.UltraGrid2.InitializeLayout += new InitializeLayoutEventHandler(this.UltraGrid2_InitializeLayout);
        this.UltraGrid1.InitializeLayout += new InitializeLayoutEventHandler(this.UltraGrid1_InitializeLayout);
        this.UltraButton2.Click          += new EventHandler(this.UltraButton2_Click);
        this.UltraButton1.Click          += new EventHandler(this.UltraButton1_Click);
        this.Panel1.Paint += new PaintEventHandler(this.Panel1_Paint);


        this.Panel2.ResumeLayout(false);
        ((ISupportInitialize)this.UltraGrid1).EndInit();
        this.Panel1.ResumeLayout(false);
        this.Panel3.ResumeLayout(false);
        ((ISupportInitialize)this.UltraGrid2).EndInit();
        this.DatasetKratkaRekap1.EndInit();
        this.DsIPObrazac1.EndInit();
        ((ISupportInitialize)this.UltraDockManager1).EndInit();
        this.WindowDockingArea1.ResumeLayout(false);
        this.DockableWindow1.ResumeLayout(false);
        this.WindowDockingArea2.ResumeLayout(false);
        this.DockableWindow2.ResumeLayout(false);
        this.WindowDockingArea3.ResumeLayout(false);
        this.DockableWindow3.ResumeLayout(false);
        this.ResumeLayout(false);
    }
예제 #15
0
        private void InitializeComponent()
        {
            this.components = new Container();
            DockAreaPane        pane3    = new DockAreaPane(DockedLocation.DockedTop, new Guid("3753a265-b1d1-4521-b5f7-4b433ec7309f"));
            DockableControlPane pane     = new DockableControlPane(new Guid("caef9f6c-f0d7-4717-a120-843e2e06a9a2"), new Guid("00000000-0000-0000-0000-000000000000"), -1, new Guid("3753a265-b1d1-4521-b5f7-4b433ec7309f"), -1);
            DockAreaPane        pane4    = new DockAreaPane(DockedLocation.DockedTop, new Guid("8a00ada4-90a0-4d1c-b58f-34510a8304dd"));
            DockableControlPane pane2    = new DockableControlPane(new Guid("a98745c7-8a2b-45df-8d20-3343dc9554d1"), new Guid("00000000-0000-0000-0000-000000000000"), -1, new Guid("8a00ada4-90a0-4d1c-b58f-34510a8304dd"), -1);
            UltraGridBand       band     = new UltraGridBand("S_DD_POTVRDA", -1);
            UltraGridColumn     column   = new UltraGridColumn("DDIDRADNIK");
            UltraGridColumn     column5  = new UltraGridColumn("DDPREZIME");
            UltraGridColumn     column6  = new UltraGridColumn("DDIME");
            UltraGridColumn     column7  = new UltraGridColumn("BRUTO");
            UltraGridColumn     column8  = new UltraGridColumn("IZDACI");
            UltraGridColumn     column9  = new UltraGridColumn("DOPRINOSIIZ");
            UltraGridColumn     column10 = new UltraGridColumn("POREZIPRIREZ");
            UltraGridColumn     column11 = new UltraGridColumn("NETO");
            UltraGridColumn     column12 = new UltraGridColumn("OPCINASTANOVANJAIDOPCINE");
            UltraGridColumn     column2  = new UltraGridColumn("DDDATUMOBRACUNA");
            UltraGridColumn     column3  = new UltraGridColumn("NAZIVKATEGORIJA");
            UltraGridColumn     column4  = new UltraGridColumn("POSTOTAKIZDATKA");

            this.Panel2            = new Panel();
            this.BindingSource1    = new BindingSource(this.components);
            this.UltraDockManager1 = new UltraDockManager(this.components);
            this._IP1SmartPartUnpinnedTabAreaLeft   = new UnpinnedTabArea();
            this._IP1SmartPartUnpinnedTabAreaRight  = new UnpinnedTabArea();
            this._IP1SmartPartUnpinnedTabAreaTop    = new UnpinnedTabArea();
            this._IP1SmartPartUnpinnedTabAreaBottom = new UnpinnedTabArea();
            this._IP1SmartPartAutoHideControl       = new AutoHideControl();
            this.WindowDockingArea1 = new WindowDockingArea();
            this.DockableWindow1    = new DockableWindow();
            this.UltraGrid1         = new UltraGrid();
            this.WindowDockingArea2 = new WindowDockingArea();
            this.DockableWindow2    = new DockableWindow();
            ((ISupportInitialize)this.BindingSource1).BeginInit();
            ((ISupportInitialize)this.UltraDockManager1).BeginInit();
            this.WindowDockingArea1.SuspendLayout();
            this.DockableWindow1.SuspendLayout();
            ((ISupportInitialize)this.UltraGrid1).BeginInit();
            this.WindowDockingArea2.SuspendLayout();
            this.DockableWindow2.SuspendLayout();
            this.SuspendLayout();
            this.Panel2.Location           = new System.Drawing.Point(0, 0x12);
            this.Panel2.Name               = "Panel2";
            this.Panel2.Size               = new System.Drawing.Size(0x42e, 3);
            this.Panel2.TabIndex           = 8;
            this.BindingSource1.DataSource = typeof(S_DD_POTVRDADataSet);
            this.BindingSource1.Position   = 0;
            pane3.DockedBefore             = new Guid("8a00ada4-90a0-4d1c-b58f-34510a8304dd");
            pane.OriginalControlBounds     = new Rectangle(20, 12, 200, 100);
            pane.Size = new System.Drawing.Size(100, 100);
            pane.Text = "Panel1";
            pane3.Panes.AddRange(new DockablePaneBase[] { pane });
            pane3.Size                  = new System.Drawing.Size(0x42e, 0x7c);
            pane4.ChildPaneStyle        = ChildPaneStyle.VerticalSplit;
            pane2.Control               = this.Panel2;
            pane2.OriginalControlBounds = new Rectangle(0x85, 0xd1, 820, 270);
            pane2.Size                  = new System.Drawing.Size(100, 100);
            pane2.Text                  = "Panel2";
            pane4.Panes.AddRange(new DockablePaneBase[] { pane2 });
            pane4.Size = new System.Drawing.Size(0x42e, 0x15);
            this.UltraDockManager1.DockAreas.AddRange(new DockAreaPane[] { pane3, pane4 });
            this.UltraDockManager1.HostControl               = this;
            this._IP1SmartPartUnpinnedTabAreaLeft.Dock       = DockStyle.Left;
            this._IP1SmartPartUnpinnedTabAreaLeft.Font       = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            this._IP1SmartPartUnpinnedTabAreaLeft.Location   = new System.Drawing.Point(0, 0);
            this._IP1SmartPartUnpinnedTabAreaLeft.Name       = "_IP1SmartPartUnpinnedTabAreaLeft";
            this._IP1SmartPartUnpinnedTabAreaLeft.Owner      = this.UltraDockManager1;
            this._IP1SmartPartUnpinnedTabAreaLeft.Size       = new System.Drawing.Size(0, 0x220);
            this._IP1SmartPartUnpinnedTabAreaLeft.TabIndex   = 0;
            this._IP1SmartPartUnpinnedTabAreaRight.Dock      = DockStyle.Right;
            this._IP1SmartPartUnpinnedTabAreaRight.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            this._IP1SmartPartUnpinnedTabAreaRight.Location  = new System.Drawing.Point(0x42e, 0);
            this._IP1SmartPartUnpinnedTabAreaRight.Name      = "_IP1SmartPartUnpinnedTabAreaRight";
            this._IP1SmartPartUnpinnedTabAreaRight.Owner     = this.UltraDockManager1;
            this._IP1SmartPartUnpinnedTabAreaRight.Size      = new System.Drawing.Size(0, 0x220);
            this._IP1SmartPartUnpinnedTabAreaRight.TabIndex  = 1;
            this._IP1SmartPartUnpinnedTabAreaTop.Dock        = DockStyle.Top;
            this._IP1SmartPartUnpinnedTabAreaTop.Font        = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            this._IP1SmartPartUnpinnedTabAreaTop.Location    = new System.Drawing.Point(0, 0);
            this._IP1SmartPartUnpinnedTabAreaTop.Name        = "_IP1SmartPartUnpinnedTabAreaTop";
            this._IP1SmartPartUnpinnedTabAreaTop.Owner       = this.UltraDockManager1;
            this._IP1SmartPartUnpinnedTabAreaTop.Size        = new System.Drawing.Size(0x42e, 0);
            this._IP1SmartPartUnpinnedTabAreaTop.TabIndex    = 2;
            this._IP1SmartPartUnpinnedTabAreaBottom.Dock     = DockStyle.Bottom;
            this._IP1SmartPartUnpinnedTabAreaBottom.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            this._IP1SmartPartUnpinnedTabAreaBottom.Location = new System.Drawing.Point(0, 0x220);
            this._IP1SmartPartUnpinnedTabAreaBottom.Name     = "_IP1SmartPartUnpinnedTabAreaBottom";
            this._IP1SmartPartUnpinnedTabAreaBottom.Owner    = this.UltraDockManager1;
            this._IP1SmartPartUnpinnedTabAreaBottom.Size     = new System.Drawing.Size(0x42e, 0);
            this._IP1SmartPartUnpinnedTabAreaBottom.TabIndex = 3;
            this._IP1SmartPartAutoHideControl.Font           = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            this._IP1SmartPartAutoHideControl.Location       = new System.Drawing.Point(0, 0);
            this._IP1SmartPartAutoHideControl.Name           = "_IP1SmartPartAutoHideControl";
            this._IP1SmartPartAutoHideControl.Owner          = this.UltraDockManager1;
            this._IP1SmartPartAutoHideControl.Size           = new System.Drawing.Size(0, 0);
            this._IP1SmartPartAutoHideControl.TabIndex       = 4;
            this.WindowDockingArea1.Controls.Add(this.DockableWindow1);
            this.WindowDockingArea1.Dock     = DockStyle.Top;
            this.WindowDockingArea1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            this.WindowDockingArea1.Location = new System.Drawing.Point(0, 0);
            this.WindowDockingArea1.Name     = "WindowDockingArea1";
            this.WindowDockingArea1.Owner    = this.UltraDockManager1;
            this.WindowDockingArea1.Size     = new System.Drawing.Size(0x42e, 0x81);
            this.WindowDockingArea1.TabIndex = 7;
            this.DockableWindow1.Location    = new System.Drawing.Point(0, 0);
            this.DockableWindow1.Name        = "DockableWindow1";
            this.DockableWindow1.Owner       = this.UltraDockManager1;
            this.DockableWindow1.Size        = new System.Drawing.Size(0x42e, 0x7c);
            this.DockableWindow1.TabIndex    = 10;
            this.UltraGrid1.DataSource       = this.BindingSource1;
            column.Header.VisiblePosition    = 0;
            column5.Header.VisiblePosition   = 1;
            column6.Header.VisiblePosition   = 2;
            column7.Header.VisiblePosition   = 3;
            column8.Header.VisiblePosition   = 4;
            column9.Header.VisiblePosition   = 5;
            column10.Header.VisiblePosition  = 6;
            column11.Header.VisiblePosition  = 7;
            column12.Header.VisiblePosition  = 8;
            column2.Header.VisiblePosition   = 9;
            column3.Header.VisiblePosition   = 10;
            column4.Header.VisiblePosition   = 11;
            band.Columns.AddRange(new object[] { column, column5, column6, column7, column8, column9, column10, column11, column12, column2, column3, column4 });
            this.UltraGrid1.DisplayLayout.BandsSerializer.Add(band);
            this.UltraGrid1.Dock     = DockStyle.Fill;
            this.UltraGrid1.Location = new System.Drawing.Point(0, 0x9b);
            this.UltraGrid1.Name     = "UltraGrid1";
            this.UltraGrid1.Size     = new System.Drawing.Size(0x42e, 0x185);
            this.UltraGrid1.TabIndex = 9;
            this.WindowDockingArea2.Controls.Add(this.DockableWindow2);
            this.WindowDockingArea2.Dock     = DockStyle.Top;
            this.WindowDockingArea2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            this.WindowDockingArea2.Location = new System.Drawing.Point(0, 0x81);
            this.WindowDockingArea2.Name     = "WindowDockingArea2";
            this.WindowDockingArea2.Owner    = this.UltraDockManager1;
            this.WindowDockingArea2.Size     = new System.Drawing.Size(0x42e, 0x1a);
            this.WindowDockingArea2.TabIndex = 9;
            this.DockableWindow2.Controls.Add(this.Panel2);
            this.DockableWindow2.Location = new System.Drawing.Point(0, 0);
            this.DockableWindow2.Name     = "DockableWindow2";
            this.DockableWindow2.Owner    = this.UltraDockManager1;
            this.DockableWindow2.Size     = new System.Drawing.Size(0x42e, 0x15);
            this.DockableWindow2.TabIndex = 11;
            this.Controls.Add(this._IP1SmartPartAutoHideControl);
            this.Controls.Add(this.UltraGrid1);
            this.Controls.Add(this.WindowDockingArea2);
            this.Controls.Add(this.WindowDockingArea1);
            this.Controls.Add(this._IP1SmartPartUnpinnedTabAreaTop);
            this.Controls.Add(this._IP1SmartPartUnpinnedTabAreaBottom);
            this.Controls.Add(this._IP1SmartPartUnpinnedTabAreaLeft);
            this.Controls.Add(this._IP1SmartPartUnpinnedTabAreaRight);
            this.Name = "PotvrdaSmartPart";
            this.Size = new System.Drawing.Size(0x42e, 0x220);
            ((ISupportInitialize)this.BindingSource1).EndInit();
            ((ISupportInitialize)this.UltraDockManager1).EndInit();
            this.WindowDockingArea1.ResumeLayout(false);
            this.DockableWindow1.ResumeLayout(false);
            ((ISupportInitialize)this.UltraGrid1).EndInit();
            this.WindowDockingArea2.ResumeLayout(false);
            this.DockableWindow2.ResumeLayout(false);
            this.ResumeLayout(false);
        }
예제 #16
0
파일: MDISfera.cs 프로젝트: gipasoft/Sfera
        public Control AddControl(Control control, string caption, string key)
        {
            if (getRightPanel().Panes.Exists(key))
                ((DockableControlPane)getRightPanel().Panes[key]).Control.Dispose();

            var dockableControlPane1 = new DockableControlPane(control)
                                           {
                                               FlyoutSize = new Size(285, -1),
                                               OriginalControlBounds = new Rectangle(154, 1, 404, 290),
                                               Pinned = false,
                                               Size = new Size(100, 100),
                                               Text = caption,
                                               Key = key
                                           };
            getRightPanel().Panes.Add(dockableControlPane1);

            return control;
        }