Exemplo n.º 1
0
        public void SummarySettingsAliasProperty_GetSet()
        {
            var instance = new SummarySettings();

            instance.Alias = "alias";
            Assert.AreEqual("alias", instance.Alias);
        }
Exemplo n.º 2
0
        public void SummarySettingsSummariesProperty_GetSet()
        {
            var instance = new SummarySettings();

            instance.Analyzers = new List <AnalyzerSettings>();
            Assert.IsNotNull(instance.Analyzers);
        }
Exemplo n.º 3
0
        public void SummarySettingsNameProperty_GetSet()
        {
            var instance = new SummarySettings();

            instance.Name = "name";
            Assert.AreEqual("name", instance.Name);
        }
Exemplo n.º 4
0
        public void SummarySettingsTypeProperty_GetSet()
        {
            var instance = new SummarySettings();

            instance.Type = "type";
            Assert.AreEqual("type", instance.Type);
        }
Exemplo n.º 5
0
		protected override void CreateChildControls()
		{

			var settings = new SummarySettings(SummaryMode.Words, WordLength, false);
			Text = SummaryParser.GetSummary(Text, settings);
			base.CreateChildControls();
		}
Exemplo n.º 6
0
        protected override void CreateChildControls()
        {
            var settings = new SummarySettings(SummaryMode.Words, WordLength, false);

            Text = SummaryParser.GetSummary(Text, settings);
            base.CreateChildControls();
        }
        private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)

        {
            try
            {
                UltraGridColumn columnToSummarize = e.Layout.Bands[0].Columns[13];
                SummarySettings summary           = e.Layout.Bands[0].Summaries.Add("GrandTotal", SummaryType.Sum, columnToSummarize);
                summary.DisplayFormat         = "Total Stock = {0}";
                summary.Appearance.TextHAlign = Infragistics.Win.HAlign.Right;

                columnToSummarize             = e.Layout.Bands[0].Columns[14];
                summary                       = e.Layout.Bands[0].Summaries.Add("PriceAvg", SummaryType.Sum, columnToSummarize);
                summary.DisplayFormat         = "Total Pedidos = {0}";
                summary.Appearance.TextHAlign = Infragistics.Win.HAlign.Right;

                columnToSummarize             = e.Layout.Bands[0].Columns[10];
                summary                       = e.Layout.Bands[0].Summaries.Add("Promedio ", SummaryType.Average, columnToSummarize);
                summary.DisplayFormat         = "Promedio PVP= {0:c}";
                summary.Appearance.TextHAlign = Infragistics.Win.HAlign.Right;

                this.ultraGrid1.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;

                e.Layout.Override.SummaryDisplayArea = SummaryDisplayAreas.BottomFixed;

                e.Layout.Bands[0].Summaries.Add(SummaryType.Sum, e.Layout.Bands[0].Columns[59]);
            }
            catch (Exception ex)
            {
                Log_Error_bus.Log_Error(ex.ToString());
            }
        }
Exemplo n.º 8
0
 private ISummary CreateBaseSummary(SummarySettings settings)
 {
     return(new BaseSummary()
     {
         Name = settings.Name,
         Alias = settings.Alias
     });
 }
Exemplo n.º 9
0
 object ICustomSummaryCalculator.EndCustomSummary(SummarySettings summarySettings, RowsCollection rows)
 {
     if (decimal.Compare(this.totalsati, decimal.Zero) > 0)
     {
         return(DB.RoundUP(decimal.Divide(decimal.Multiply(DB.RoundUP(decimal.Divide(this.totalbruto, this.totalsati)), 85M), 100M)));
     }
     return(0);
 }
Exemplo n.º 10
0
        public static void AddGridSummary(UltraGrid grid, SummaryType st, string strFormat, string strColName)
        {
            //添加汇总
            SummarySettings summary = grid.DisplayLayout.Bands[0].Summaries.Add(
                st,
                grid.DisplayLayout.Bands[0].Columns[strColName]);

            summary.DisplayFormat = strFormat;
        }
Exemplo n.º 11
0
        public void Sumar(decimal pros, decimal pros85)
        {
            UltraGridBand band = this.UltraGrid1.DisplayLayout.Bands[0];

            band.Summaries.Clear();


            SummarySettings settings = band.Summaries.Add("Ukupnobruto", SummaryType.Custom, new OrderTotalsSummary(), band.Columns["iznosbruto"], SummaryPosition.UseSummaryPositionColumn, band.Columns["iznosbruto"]);

            settings.DisplayFormat            = "{0:N2}";
            settings.Appearance.TextHAlign    = HAlign.Right;
            settings.SummaryPosition          = SummaryPosition.UseSummaryPositionColumn;
            settings.Appearance.FontData.Bold = DefaultableBoolean.True;
            settings.Appearance.ForeColor     = Color.Black;
            settings.Appearance.BackColor     = Color.WhiteSmoke;
            band.SummaryFooterCaption         = "Prosjek";


            SummarySettings settings2 = band.Summaries.Add("satiukupno", SummaryType.Custom, new SatiUkupnoSumar(), band.Columns["satiukupno"], SummaryPosition.UseSummaryPositionColumn, band.Columns["satiukupno"]);

            settings2.DisplayFormat            = "{0:N2}";
            settings2.Appearance.TextHAlign    = HAlign.Right;
            settings2.SummaryPosition          = SummaryPosition.UseSummaryPositionColumn;
            settings2.Appearance.FontData.Bold = DefaultableBoolean.True;
            settings2.Appearance.ForeColor     = Color.Black;
            settings2.Appearance.BackColor     = Color.WhiteSmoke;


            SummarySettings settings3 = band.Summaries.Add("PROSJECNASATNICA", SummaryType.Custom, new pROSJEKsATI(), band.Columns["PROSJECNASATNICA"], SummaryPosition.UseSummaryPositionColumn, band.Columns["PROSJECNASATNICA"]);

            settings3.DisplayFormat            = "{0:N2}";
            settings3.Appearance.TextHAlign    = HAlign.Right;
            settings3.SummaryPosition          = SummaryPosition.UseSummaryPositionColumn;
            settings3.Appearance.FontData.Bold = DefaultableBoolean.True;
            settings3.Appearance.ForeColor     = Color.Black;
            settings3.Appearance.BackColor     = Color.WhiteSmoke;


            SummarySettings settings4 = band.Summaries.Add("PROSJECNASATNICA_85POSTO", SummaryType.Custom, new pROSJEKsATI85(), band.Columns["PROSJECNASATNICA_85POSTO"], SummaryPosition.UseSummaryPositionColumn, band.Columns["PROSJECNASATNICA_85POSTO"]);

            settings4.DisplayFormat            = "{0:N2}";
            settings4.Appearance.TextHAlign    = HAlign.Right;
            settings4.SummaryPosition          = SummaryPosition.UseSummaryPositionColumn;
            settings4.Appearance.FontData.Bold = DefaultableBoolean.True;
            settings4.Appearance.ForeColor     = Color.Black;
            settings4.Appearance.BackColor     = Color.WhiteSmoke;



            this.UltraGrid1.DisplayLayout.Override.SummaryFooterAppearance.FontData.Bold    = DefaultableBoolean.True;
            this.UltraGrid1.DisplayLayout.Override.SummaryFooterAppearance.BackColor        = Color.White;
            this.UltraGrid1.DisplayLayout.Override.SummaryFooterAppearance.ForeColor        = Color.Black;
            this.UltraGrid1.DisplayLayout.Override.SummaryFooterCaptionVisible              = DefaultableBoolean.True;
            this.UltraGrid1.DisplayLayout.Override.SummaryFooterCaptionAppearance.BackColor = Color.Red;
            this.UltraGrid1.DisplayLayout.Override.SummaryFooterCaptionAppearance.ForeColor = Color.White;
        }
Exemplo n.º 12
0
        private ISummary CreateSummary(SummarySettings settings)
        {
            var summary = CreateSummaryObject(settings);

            if (summary != null)
            {
                summary.Analyzers = GetAnalyzers(settings.Analyzers);
            }
            return(summary);
        }
    public void AggregateCustomSummary(SummarySettings summarySettings, UltraGridRow row)
    {
        object myString = row.GetCellValue(summarySettings.SourceColumn);

        if ((myString is DBNull) || String.IsNullOrEmpty(myString.ToString()))
        {
            return;
        }
        total++;
    }
Exemplo n.º 14
0
 private ISummary CreateSummaryObject(SummarySettings settings)
 {
     if (string.IsNullOrEmpty(settings.Type))
     {
         return(CreateBaseSummary(settings));
     }
     else
     {
         return(CreateSummaryByType(settings));
     }
 }
Exemplo n.º 15
0
        private ISummary CreateSummaryByType(SummarySettings settings)
        {
            var type = Type.GetType(settings.Type);

            if (type != null)
            {
                var summary = (ISummary)Activator.CreateInstance(type);
                summary.Name  = settings.Name;
                summary.Alias = settings.Alias;
                return(summary);
            }
            return(null);
        }
Exemplo n.º 16
0
        void ICustomSummaryCalculator.AggregateCustomSummary(SummarySettings summarySettings, UltraGridRow row)
        {
            object objectValue = RuntimeHelpers.GetObjectValue(row.GetCellValue(summarySettings.SourceColumn.Band.Columns["satiukupno"]));

            if (objectValue != DBNull.Value)
            {
                try
                {
                    decimal num = Convert.ToDecimal(RuntimeHelpers.GetObjectValue(objectValue));
                    this.totals = decimal.Add(this.totals, num);
                }
                catch (System.Exception exception1)
                {
                    throw exception1;
                }
            }
        }
Exemplo n.º 17
0
        private void grdData_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
        {
            e.Layout.AutoFitStyle = Infragistics.Win.UltraWinGrid.AutoFitStyle.ResizeAllColumns;
            e.Layout.Bands[0].Columns["d_Monto"].Format = "#,##0.00";
            e.Layout.Bands[0].Columns["Igv"].Format     = "#,##0.00";
            e.Layout.Bands[0].Columns["Total"].Format   = "#,##0.00";

            // Sumarizado

            UltraGridColumn columnToSummarize = e.Layout.Bands[0].Columns["d_Monto"];
            SummarySettings summary           = e.Layout.Bands[0].Summaries.Add("SubTotal", SummaryType.Sum, columnToSummarize);

            summary.DisplayFormat         = "{0:C}";
            summary.Appearance.TextHAlign = HAlign.Right;
            summary.SummaryDisplayArea    = SummaryDisplayAreas.BottomFixed | SummaryDisplayAreas.GroupByRowsFooter;



            UltraGridColumn columnToSummarize2 = e.Layout.Bands[0].Columns["Igv"];
            SummarySettings summary2           = e.Layout.Bands[0].Summaries.Add("Igv", SummaryType.Sum, columnToSummarize2);

            summary2.DisplayFormat         = "{0:C}";
            summary2.Appearance.TextHAlign = HAlign.Right;
            summary2.SummaryDisplayArea    = SummaryDisplayAreas.BottomFixed | SummaryDisplayAreas.GroupByRowsFooter;

            UltraGridColumn columnToSummarize3 = e.Layout.Bands[0].Columns["Total"];
            SummarySettings summary3           = e.Layout.Bands[0].Summaries.Add("Total", SummaryType.Sum, columnToSummarize3);

            summary3.DisplayFormat         = "{0:C}";
            summary3.Appearance.TextHAlign = HAlign.Right;
            summary3.SummaryDisplayArea    = SummaryDisplayAreas.BottomFixed | SummaryDisplayAreas.GroupByRowsFooter;

            e.Layout.Override.GroupBySummaryValueAppearance.BackColor  = SystemColors.Window;
            e.Layout.Override.GroupBySummaryValueAppearance.TextHAlign = HAlign.Right;

            //e.Layout.Bands[0].SummaryFooterCaption = "Total:";
            e.Layout.Override.SummaryFooterCaptionVisible = DefaultableBoolean.False;
            e.Layout.Override.SummaryFooterSpacingAfter   = 5;
            e.Layout.Override.SummaryFooterSpacingBefore  = 5;
        }
 public void BeginCustomSummary(SummarySettings summarySettings, RowsCollection rows)
 {
     total = 0;
 }
 public object EndCustomSummary(SummarySettings summarySettings, RowsCollection rows)
 {
     return(total);
 }
 // Called for each row in band of this summary
 public void AggregateCustomSummary(SummarySettings summarySettings, UltraGridRow row)
 {
 }
Exemplo n.º 21
0
        private void dgvDatos_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
        {
            Infragistics.Win.UltraWinGrid.UltraGridBand band = (sender as UltraGrid).DisplayLayout.Bands[0];
            band.Groups.Clear();
            e.Layout.Bands[0].Summaries.Clear();

            //e.Layout.Bands[0].Columns["ItemCode"].Header.Caption = "Ruta";
            //e.Layout.Bands[0].Columns["ItemCode"].Width = 100;
            e.Layout.Bands[0].Columns["ItemCode"].Hidden         = true;
            e.Layout.Bands[0].Columns["ItemName"].Header.Caption = "Ruta";
            e.Layout.Bands[0].Columns["ItemName"].Width          = 200;

            e.Layout.Bands[0].Columns["ValorFacturado"].Header.Caption            = "Valor Facturado";
            e.Layout.Bands[0].Columns["ValorFacturado"].Format                    = "N2";
            e.Layout.Bands[0].Columns["ValorFacturado"].CellAppearance.TextHAlign = HAlign.Right;
            SummarySettings summarym1 = band.Summaries.Add("ValorFacturado", SummaryType.Sum, band.Columns["ValorFacturado"], SummaryPosition.UseSummaryPositionColumn);

            summarym1.DisplayFormat = "{0:c}"; summarym1.Appearance.TextHAlign = HAlign.Right; summarym1.Appearance.BackColor = Color.BurlyWood;
            e.Layout.Bands[0].Columns["ValorFacturado"].Width = 110;

            e.Layout.Bands[0].Columns["KilometrosRecorridos"].Header.Caption            = "Kilometros Recorridos *";
            e.Layout.Bands[0].Columns["KilometrosRecorridos"].Format                    = "N";
            e.Layout.Bands[0].Columns["KilometrosRecorridos"].CellAppearance.TextHAlign = HAlign.Right;
            SummarySettings summarym2 = band.Summaries.Add("KilometrosRecorridos", SummaryType.Sum, band.Columns["KilometrosRecorridos"], SummaryPosition.UseSummaryPositionColumn);

            summarym2.DisplayFormat = "{0:c}"; summarym2.Appearance.TextHAlign = HAlign.Right; summarym2.Appearance.BackColor = Color.BurlyWood;
            e.Layout.Bands[0].Columns["KilometrosRecorridos"].Width = 110;

            e.Layout.Bands[0].Columns["Combustible"].Header.Caption            = "Combustible (Tarjeta)**";
            e.Layout.Bands[0].Columns["Combustible"].Format                    = "N2";
            e.Layout.Bands[0].Columns["Combustible"].CellAppearance.TextHAlign = HAlign.Right;
            e.Layout.Bands[0].Columns["Combustible"].Width = 110;

            e.Layout.Bands[0].Columns["Casetas"].Header.Caption            = "Casetas (Tarjeta)**";
            e.Layout.Bands[0].Columns["Casetas"].Format                    = "N2";
            e.Layout.Bands[0].Columns["Casetas"].CellAppearance.TextHAlign = HAlign.Right;
            e.Layout.Bands[0].Columns["Casetas"].Width = 110;

            e.Layout.Bands[0].Columns["CostoOperador"].Header.Caption            = "Costo del Operador";
            e.Layout.Bands[0].Columns["CostoOperador"].Format                    = "N2";
            e.Layout.Bands[0].Columns["CostoOperador"].CellAppearance.TextHAlign = HAlign.Right;
            e.Layout.Bands[0].Columns["CostoOperador"].Width = 110;

            e.Layout.Bands[0].Columns["CostoPropMto"].Header.Caption            = "Costo proporcional de Mantenimiento";
            e.Layout.Bands[0].Columns["CostoPropMto"].Format                    = "N2";
            e.Layout.Bands[0].Columns["CostoPropMto"].CellAppearance.TextHAlign = HAlign.Right;
            e.Layout.Bands[0].Columns["CostoPropMto"].Width = 130;

            e.Layout.Bands[0].Columns["CostoPropDep"].Header.Caption            = "Costo proporcional por Depreciación";
            e.Layout.Bands[0].Columns["CostoPropDep"].Format                    = "N2";
            e.Layout.Bands[0].Columns["CostoPropDep"].CellAppearance.TextHAlign = HAlign.Right;
            e.Layout.Bands[0].Columns["CostoPropDep"].Width = 130;

            e.Layout.Bands[0].Columns["CostoTotal"].Header.Caption            = "Costo total del viaje";
            e.Layout.Bands[0].Columns["CostoTotal"].Format                    = "N2";
            e.Layout.Bands[0].Columns["CostoTotal"].CellAppearance.TextHAlign = HAlign.Right;
            e.Layout.Bands[0].Columns["CostoTotal"].Width = 120;

            e.Layout.Bands[0].Columns["UtilidadNeta"].Header.Caption            = "Utilidad Neta";
            e.Layout.Bands[0].Columns["UtilidadNeta"].Format                    = "P2";
            e.Layout.Bands[0].Columns["UtilidadNeta"].CellAppearance.TextHAlign = HAlign.Right;
            e.Layout.Bands[0].Columns["UtilidadNeta"].Width = 110;

            foreach (var item in e.Layout.Bands[0].Columns)
            {
                item.CellActivation = Activation.NoEdit;
            }
            e.Layout.Bands[0].Override.HeaderAppearance.BackColor  = Color.MidnightBlue;
            e.Layout.Bands[0].Override.HeaderAppearance.BackColor2 = Color.MidnightBlue;
            e.Layout.Bands[0].Override.HeaderAppearance.ForeColor  = Color.White;
            e.Layout.Bands[0].SummaryFooterCaption = "";

            e.Layout.Override.AllowMultiCellOperations          = AllowMultiCellOperation.Copy;
            e.Layout.Override.SummaryDisplayArea                = SummaryDisplayAreas.Bottom;// SummaryDisplayAreas.Top;
            e.Layout.Override.SummaryFooterAppearance.BackColor = Color.BurlyWood;
            e.Layout.Override.SummaryFooterCaptionVisible       = DefaultableBoolean.False;
        }
Exemplo n.º 22
0
 void ICustomSummaryCalculator.BeginCustomSummary(SummarySettings summarySettings, RowsCollection rows)
 {
     this.totalsati  = new decimal();
     this.totalbruto = new decimal();
 }
Exemplo n.º 23
0
 object ICustomSummaryCalculator.EndCustomSummary(SummarySettings summarySettings, RowsCollection rows)
 {
     return(this.totals);
 }
Exemplo n.º 24
0
        private void InitializeComponent()
        {
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            UltraGridBand   band     = new UltraGridBand("GKSTAVKA", -1);
            UltraGridColumn column   = new UltraGridColumn("IDGKSTAVKA");
            UltraGridColumn column12 = new UltraGridColumn("IDAKTIVNOST");
            UltraGridColumn column19 = new UltraGridColumn("DATUMDOKUMENTA");
            UltraGridColumn column20 = new UltraGridColumn("BROJDOKUMENTA");
            UltraGridColumn column21 = new UltraGridColumn("BROJSTAVKE");
            UltraGridColumn column22 = new UltraGridColumn("IDDOKUMENT");
            UltraGridColumn column23 = new UltraGridColumn("NAZIVDOKUMENT");
            UltraGridColumn column24 = new UltraGridColumn("IDMJESTOTROSKA", -1, "MT");
            UltraGridColumn column25 = new UltraGridColumn("NAZIVMJESTOTROSKA");
            UltraGridColumn column2  = new UltraGridColumn("IDORGJED", -1, "OJ");
            UltraGridColumn column3  = new UltraGridColumn("NAZIVORGJED");
            UltraGridColumn column4  = new UltraGridColumn("IDKONTO", -1, "KONTO");
            UltraGridColumn column5  = new UltraGridColumn("NAZIVKONTO");
            UltraGridColumn column6  = new UltraGridColumn("NAZIVAKTIVNOST");
            UltraGridColumn column7  = new UltraGridColumn("OPIS");
            UltraGridColumn column8  = new UltraGridColumn("duguje");
            UltraGridColumn column9  = new UltraGridColumn("POTRAZUJE");
            UltraGridColumn column10 = new UltraGridColumn("DATUMPRIJAVE");
            UltraGridColumn column11 = new UltraGridColumn("IDPARTNER");
            UltraGridColumn column13 = new UltraGridColumn("NAZIVPARTNER");
            UltraGridColumn column14 = new UltraGridColumn("ZATVORENIIZNOS");
            UltraGridColumn column15 = new UltraGridColumn("GKDATUMVALUTE");
            UltraGridColumn column16 = new UltraGridColumn("statusgk");
            UltraGridColumn column17 = new UltraGridColumn("ORIGINALNIDOKUMENT");
            UltraGridColumn column18 = new UltraGridColumn("GKGODIDGODINE");
            SummarySettings settings = new SummarySettings(StringResources.OBRACUNELEMENTRAZDOBLJEODDescription, SummaryType.Sum, null, "duguje", 15, true, "GKSTAVKA", 0, SummaryPosition.UseSummaryPositionColumn, null, -1, false);

            Infragistics.Win.Appearance appearance  = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            SummarySettings             settings2   = new SummarySettings(StringResources.OBRACUNELEMENTRAZDOBLJEODDescription, SummaryType.Sum, null, "POTRAZUJE", 0x10, true, "GKSTAVKA", 0, SummaryPosition.UseSummaryPositionColumn, null, -1, false);

            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
            this.Panel1        = new Panel();
            this.Panel1.Paint += new PaintEventHandler(Panel1_Paint);
            this.UltraButton2  = new UltraButton();
            this.UltraButton1  = new UltraButton();

            this.UltraButton1.Click += new EventHandler(UltraButton1_Click);
            this.UltraButton2.Click += new EventHandler(UltraButton2_Click);

            this.UltraGrid1       = new UltraGrid();
            this.GkstavkaDataSet1 = new GKSTAVKADataSet();
            this.datumdok         = new UltraDateTimeEditor();
            this.UltraLabel1      = new UltraLabel();
            this.Panel1.SuspendLayout();
            ((ISupportInitialize)this.UltraGrid1).BeginInit();
            this.GkstavkaDataSet1.BeginInit();
            ((ISupportInitialize)this.datumdok).BeginInit();
            this.SuspendLayout();
            this.Panel1.Controls.Add(this.UltraLabel1);
            this.Panel1.Controls.Add(this.datumdok);
            this.Panel1.Controls.Add(this.UltraButton2);
            this.Panel1.Controls.Add(this.UltraButton1);
            this.Panel1.Location       = new System.Drawing.Point(3, 0x192);
            this.Panel1.Name           = "Panel1";
            this.Panel1.Size           = new System.Drawing.Size(0x3a8, 0x4d);
            this.Panel1.TabIndex       = 12;
            this.UltraButton2.Location = new System.Drawing.Point(0x2f3, 0x19);
            this.UltraButton2.Name     = "UltraButton2";
            this.UltraButton2.Size     = new System.Drawing.Size(0x4b, 0x17);
            this.UltraButton2.TabIndex = 1;
            this.UltraButton2.Text     = "Proknjiži";
            this.UltraButton1.Location = new System.Drawing.Point(0x34e, 0x19);
            this.UltraButton1.Name     = "UltraButton1";
            this.UltraButton1.Size     = new System.Drawing.Size(0x4b, 0x17);
            this.UltraButton1.TabIndex = 0;
            this.UltraButton1.Text     = "Odustani";
            this.UltraGrid1.DataMember = "GKSTAVKA";
            this.UltraGrid1.DataSource = this.GkstavkaDataSet1;
            appearance3.BackColor      = Color.White;
            this.UltraGrid1.DisplayLayout.Appearance = appearance3;
            column.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column.CellActivation         = Activation.Disabled;
            column.Header.VisiblePosition = 10;
            column.Hidden                   = true;
            column12.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column12.CellActivation         = Activation.Disabled;
            column12.Header.VisiblePosition = 11;
            column12.Hidden                 = true;
            column19.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column19.CellActivation         = Activation.Disabled;
            column19.Header.VisiblePosition = 12;
            column19.Hidden                 = true;
            column20.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column20.CellActivation         = Activation.Disabled;
            column20.Header.VisiblePosition = 13;
            column20.Hidden                 = true;
            column21.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column21.CellActivation         = Activation.Disabled;
            column21.Header.VisiblePosition = 14;
            column21.Hidden                 = true;
            column22.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column22.CellActivation         = Activation.Disabled;
            column22.Header.VisiblePosition = 15;
            column22.Hidden                 = true;
            column23.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column23.CellActivation         = Activation.Disabled;
            column23.Header.VisiblePosition = 0x10;
            column23.Hidden                 = true;
            column24.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column24.Header.VisiblePosition = 1;
            column24.Style                  = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownValidate;
            column25.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column25.CellActivation         = Activation.Disabled;
            column25.Header.VisiblePosition = 8;
            column25.Hidden                 = true;
            column25.Width                  = 0xab;
            column2.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            column2.Header.VisiblePosition  = 0;
            column2.Style                   = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownValidate;
            column2.Width                   = 0x3d;
            column3.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            column3.CellActivation          = Activation.Disabled;
            column3.Header.VisiblePosition  = 7;
            column3.Hidden                  = true;
            column3.Width                   = 0xe3;
            column4.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            column4.Header.VisiblePosition  = 2;
            column4.Style                   = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownValidate;
            column4.Width                   = 0x70;
            column5.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            column5.CellActivation          = Activation.Disabled;
            column5.Header.VisiblePosition  = 9;
            column5.Hidden                  = true;
            column6.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            column6.CellActivation          = Activation.Disabled;
            column6.Header.VisiblePosition  = 0x11;
            column6.Hidden                  = true;
            column7.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            column7.Header.Caption          = "Opis";
            column7.Header.VisiblePosition  = 3;
            column7.Width                   = 0x1a3;
            column8.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            column8.Header.Caption          = "Duguje";
            column8.Header.VisiblePosition  = 4;
            column8.MaskInput               = "-nnnnnnnnn.nn";
            column8.Width                   = 0x6b;
            column9.AutoCompleteMode        = Infragistics.Win.AutoCompleteMode.Append;
            column9.Header.Caption          = "Potražuje";
            column9.Header.VisiblePosition  = 5;
            column9.MaskInput               = "-nnnnnnnnn.nn";
            column9.Width                   = 110;
            column10.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column10.CellActivation         = Activation.NoEdit;
            column10.Header.VisiblePosition = 0x12;
            column10.Hidden                 = true;
            column11.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column11.Header.VisiblePosition = 0x13;
            column11.Hidden                 = true;
            column13.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column13.CellActivation         = Activation.NoEdit;
            column13.Header.VisiblePosition = 20;
            column13.Hidden                 = true;
            column14.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column14.CellActivation         = Activation.Disabled;
            column14.Header.Caption         = "Zatvoreno";
            column14.Header.VisiblePosition = 6;
            column14.Hidden                 = true;
            column14.MaskInput              = "nnnnnnnnn.nn";
            column15.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column15.CellActivation         = Activation.Disabled;
            column15.Header.VisiblePosition = 0x15;
            column15.Hidden                 = true;
            column16.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column16.CellActivation         = Activation.Disabled;
            column16.Header.VisiblePosition = 0x16;
            column16.Hidden                 = true;
            column17.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column17.CellActivation         = Activation.Disabled;
            column17.Header.VisiblePosition = 0x17;
            column17.Hidden                 = true;
            column18.AutoCompleteMode       = Infragistics.Win.AutoCompleteMode.Append;
            column18.CellActivation         = Activation.Disabled;
            column18.Header.VisiblePosition = 0x18;
            column18.Hidden                 = true;
            band.Columns.AddRange(new object[] {
                column, column12, column19, column20, column21, column22, column23, column24, column25, column2, column3, column4, column5, column6, column7, column8,
                column9, column10, column11, column13, column14, column15, column16, column17, column18
            });
            appearance.BackColor   = Color.FromArgb(0xff, 0xff, 0xc0);
            settings.Appearance    = appearance;
            settings.DisplayFormat = "{0:#,##0.00}";
            settings.GroupBySummaryValueAppearance = appearance2;
            settings.SummaryDisplayArea            = SummaryDisplayAreas.Top;
            appearance8.BackColor   = Color.FromArgb(0xff, 0xff, 0xc0);
            settings2.Appearance    = appearance8;
            settings2.DisplayFormat = "{0:#,##0.00}";
            settings2.GroupBySummaryValueAppearance = appearance9;
            settings2.SummaryDisplayArea            = SummaryDisplayAreas.Top;
            band.Summaries.AddRange(new SummarySettings[] { settings, settings2 });
            this.UltraGrid1.DisplayLayout.BandsSerializer.Add(band);
            this.UltraGrid1.DisplayLayout.Override.AllowAddNew     = AllowAddNew.No;
            this.UltraGrid1.DisplayLayout.Override.BorderStyleCell = UIElementBorderStyle.None;
            appearance4.BackColor = Color.Transparent;
            this.UltraGrid1.DisplayLayout.Override.CardAreaAppearance = appearance4;
            this.UltraGrid1.DisplayLayout.Override.CellPadding        = 3;
            appearance5.TextHAlignAsString = "Left";
            this.UltraGrid1.DisplayLayout.Override.HeaderAppearance = appearance5;
            appearance6.BorderColor        = Color.LightGray;
            appearance6.TextVAlignAsString = "Middle";
            this.UltraGrid1.DisplayLayout.Override.RowAppearance = appearance6;
            this.UltraGrid1.DisplayLayout.Override.RowSelectors  = DefaultableBoolean.True;
            appearance7.BackColor   = Color.LightSteelBlue;
            appearance7.BorderColor = Color.Black;
            appearance7.ForeColor   = Color.Black;
            this.UltraGrid1.DisplayLayout.Override.SelectedRowAppearance = appearance7;
            this.UltraGrid1.DisplayLayout.RowConnectorStyle = RowConnectorStyle.None;
            this.UltraGrid1.Font              = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0xee);
            this.UltraGrid1.Location          = new System.Drawing.Point(3, 5);
            this.UltraGrid1.Name              = "UltraGrid1";
            this.UltraGrid1.Size              = new System.Drawing.Size(0x3a8, 0x18b);
            this.UltraGrid1.TabIndex          = 11;
            this.UltraGrid1.UseAppStyling     = false;
            this.GkstavkaDataSet1.DataSetName = "GKSTAVKADataSet";
            this.datumdok.Location            = new System.Drawing.Point(0x8b, 0x1b);
            this.datumdok.Name             = "datumdok";
            this.datumdok.Size             = new System.Drawing.Size(0x90, 0x15);
            this.datumdok.TabIndex         = 2;
            this.datumdok.UseAppStyling    = false;
            this.UltraLabel1.Location      = new System.Drawing.Point(0x21, 0x1f);
            this.UltraLabel1.Name          = "UltraLabel1";
            this.UltraLabel1.Size          = new System.Drawing.Size(100, 0x17);
            this.UltraLabel1.TabIndex      = 3;
            this.UltraLabel1.Text          = "Datum dokumenta:";
            this.UltraLabel1.UseAppStyling = false;
            this.Controls.Add(this.Panel1);
            this.Controls.Add(this.UltraGrid1);
            this.Name = "PregledTemeljnice";
            this.Size = new System.Drawing.Size(0x3b5, 0x1e5);
            this.Panel1.ResumeLayout(false);
            this.Panel1.PerformLayout();
            ((ISupportInitialize)this.UltraGrid1).EndInit();
            this.GkstavkaDataSet1.EndInit();
            ((ISupportInitialize)this.datumdok).EndInit();
            this.ResumeLayout(false);
        }