Ejemplo n.º 1
0
        public void Initialize(DeklaritMode mode, DataRow parentRow, bool isCopy)
        {
            this.m_ParentRow      = parentRow;
            this.dsRADNIKDataSet1 = (RADNIKDataSet)this.m_ParentRow.Table.DataSet;
            this.bindingSourceRADNIKOdbitak.DataSource = DataSetUtil.GetSubTreeDataView(this.m_ParentRow, this.dsRADNIKDataSet1.Tables["RADNIKOdbitak"]);
            this.bindingSourceRADNIKOdbitak.DataMember = "";
            this.RegisterBindingSources();
            this.m_Mode        = mode;
            this.m_BaseMethods = new GenericFormClass(this.m_FrameworkDescription, this.m_FirstLevelName, "RADNIK", this.m_Mode, this.dsRADNIKDataSet1, this.dsRADNIKDataSet1.RADNIKOdbitak.Columns, this.Controls, this.m_DataGrids, this.m_AutoNumber);
            Binding binding = new Binding("Text", this.bindingSourceRADNIKOdbitak, "FAKTOROSOBNOGODBITKA", true);

            binding.Format += new ConvertEventHandler(this.m_BaseMethods.NumericFormat);
            if (this.labelFAKTOROSOBNOGODBITKA.DataBindings["Text"] != null)
            {
                this.labelFAKTOROSOBNOGODBITKA.DataBindings.Remove(this.labelFAKTOROSOBNOGODBITKA.DataBindings["Text"]);
            }
            this.labelFAKTOROSOBNOGODBITKA.DataBindings.Add(binding);
            this.m_BaseMethods.FormLoadStyle();
            if ((this.m_BaseMethods.IsUpdate() || this.m_BaseMethods.IsDelete()) || (this.m_BaseMethods.IsSelect() || isCopy))
            {
                this.m_CurrentRow = (RADNIKDataSet.RADNIKOdbitakRow)((DataRowView)this.bindingSourceRADNIKOdbitak.Current).Row;
                this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.ButtonsRight[0].Visible = false;
            }
            if (this.m_BaseMethods.IsInsert() && !isCopy)
            {
                this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.ButtonsRight[0].Visible = true;
                this.m_CurrentRow = (RADNIKDataSet.RADNIKOdbitakRow)((DataRowView)this.bindingSourceRADNIKOdbitak.AddNew()).Row;
                this.m_CurrentRow.SetParentRow(this.m_ParentRow);
            }
            this.SetFocusInFirstField();
        }
Ejemplo n.º 2
0
 public void Initialize(DeklaritMode mode, DataRow parentRow, bool isCopy)
 {
     this.m_ParentRow      = parentRow;
     this.dsRADNIKDataSet1 = (RADNIKDataSet)this.m_ParentRow.Table.DataSet;
     this.bindingSourceRADNIKBruto.DataSource = DataSetUtil.GetSubTreeDataView(this.m_ParentRow, this.dsRADNIKDataSet1.Tables["RADNIKBruto"]);
     this.bindingSourceRADNIKBruto.DataMember = "";
     this.RegisterBindingSources();
     this.m_Mode        = mode;
     this.m_BaseMethods = new GenericFormClass(this.m_FrameworkDescription, this.m_FirstLevelName, "RADNIK", this.m_Mode, this.dsRADNIKDataSet1, this.dsRADNIKDataSet1.RADNIKBruto.Columns, this.Controls, this.m_DataGrids, this.m_AutoNumber);
     this.m_BaseMethods.FormLoadStyle();
     if ((this.m_BaseMethods.IsUpdate() || this.m_BaseMethods.IsDelete()) || (this.m_BaseMethods.IsSelect() || isCopy))
     {
         this.m_CurrentRow = (RADNIKDataSet.RADNIKBrutoRow)((DataRowView)this.bindingSourceRADNIKBruto.Current).Row;
     }
     if (this.m_BaseMethods.IsInsert() && !isCopy)
     {
         this.m_CurrentRow = (RADNIKDataSet.RADNIKBrutoRow)((DataRowView)this.bindingSourceRADNIKBruto.AddNew()).Row;
         this.m_CurrentRow.SetParentRow(this.m_ParentRow);
     }
     this.FillProviderCombocomboBRUTOELEMENTIDELEMENT();
     if (this.m_BaseMethods.IsInsert())
     {
         this.comboBRUTOELEMENTIDELEMENT.SelectedIndex = -1;
     }
     if (this.comboBRUTOELEMENTIDELEMENT.DataBindings["Value"] != null)
     {
         this.comboBRUTOELEMENTIDELEMENT.DataBindings.Remove(this.comboBRUTOELEMENTIDELEMENT.DataBindings["Value"]);
     }
     this.comboBRUTOELEMENTIDELEMENT.DataBindings.Add(new Binding("Value", this.bindingSourceRADNIKBruto, "BRUTOELEMENTIDELEMENT"));
     this.SetFocusInFirstField();
 }
Ejemplo n.º 3
0
 public NetoUBrutoObracun()
 {
     base.Load    += new EventHandler(this.NetoUBrutoObracun_Load);
     this.ds       = new DataSet();
     this.dsradnik = new RADNIKDataSet();
     this.da       = new RADNIKDataAdapter();
     this.InitializeComponent();
 }
Ejemplo n.º 4
0
 public virtual void Fill()
 {
     this.PreFill();
     this.dsRADNIKDataSet1 = new RADNIKDataSet();
     this.m_StartRow       = 0;
     this.Cursor           = Cursors.WaitCursor;
     this.m_GridLoading    = true;
     ThreadPool.QueueUserWorkItem(new WaitCallback(this.FillDataThread), Thread.CurrentPrincipal);
 }
Ejemplo n.º 5
0
 public void Initialize(DeklaritMode mode, DataRow parentRow, bool isCopy)
 {
     this.m_ParentRow      = parentRow;
     this.dsRADNIKDataSet1 = (RADNIKDataSet)this.m_ParentRow.Table.DataSet;
     this.bindingSourceRADNIKLevel7.DataSource = DataSetUtil.GetSubTreeDataView(this.m_ParentRow, this.dsRADNIKDataSet1.Tables["RADNIKLevel7"]);
     this.bindingSourceRADNIKLevel7.DataMember = "";
     this.RegisterBindingSources();
     this.m_Mode        = mode;
     this.m_BaseMethods = new GenericFormClass(this.m_FrameworkDescription, this.m_FirstLevelName, "RADNIK", this.m_Mode, this.dsRADNIKDataSet1, this.dsRADNIKDataSet1.RADNIKLevel7.Columns, this.Controls, this.m_DataGrids, this.m_AutoNumber);
     this.m_BaseMethods.FormLoadStyle();
     if ((this.m_BaseMethods.IsUpdate() || this.m_BaseMethods.IsDelete()) || (this.m_BaseMethods.IsSelect() || isCopy))
     {
         this.m_CurrentRow = (RADNIKDataSet.RADNIKLevel7Row)((DataRowView)this.bindingSourceRADNIKLevel7.Current).Row;
     }
     if (this.m_BaseMethods.IsInsert() && !isCopy)
     {
         this.m_CurrentRow = (RADNIKDataSet.RADNIKLevel7Row)((DataRowView)this.bindingSourceRADNIKLevel7.AddNew()).Row;
         this.m_CurrentRow.SetParentRow(this.m_ParentRow);
     }
     this.SetFocusInFirstField();
 }
Ejemplo n.º 6
0
        public void UcitajHandler(object sender, EventArgs e)
        {
            IEnumerator   enumerator3 = null;
            SqlCommand    command     = new SqlCommand();
            SqlConnection connection  = new SqlConnection();

            command.CommandType         = CommandType.StoredProcedure;
            connection.ConnectionString = Configuration.ConnectionString;
            command.Connection          = connection;
            command.CommandText         = "S_PLACA_GODISNJI";
            SqlDataAdapter adapter = new SqlDataAdapter {
                SelectCommand = command
            };

            adapter.SelectCommand.Parameters.AddWithValue("@od", RuntimeHelpers.GetObjectValue(this.UltraCombo1.Value));
            adapter.SelectCommand.Parameters.AddWithValue("@do", RuntimeHelpers.GetObjectValue(this.UltraCombo2.Value));
            adapter.SelectCommand.Parameters.AddWithValue("@mjesecni", RuntimeHelpers.GetObjectValue(this.UltraNumericEditor1.Value));
            adapter.SelectCommand.Parameters.AddWithValue("@tjedni", 40);
            DataSet dataSet = new DataSet();

            adapter.Fill(dataSet);
            this.UltraGrid1.DataSource = dataSet;
            RADNIKDataSet set3 = new RADNIKDataSet();

            new RADNIKDataAdapter().Fill(set3);
            KORISNIKDataSet set2 = new KORISNIKDataSet();

            new KORISNIKDataAdapter().Fill(set2);
            if (Operators.ConditionalCompareObjectEqual(set2.KORISNIK.Rows[0]["STAZUKOEFICIJENTU"], false, false))
            {
                IEnumerator enumerator = null;
                try
                {
                    enumerator = set3.RADNIK.GetEnumerator();
                    while (enumerator.MoveNext())
                    {
                        int         num2        = 0;
                        int         num3        = 0;
                        int         num4        = 0;
                        IEnumerator enumerator2 = null;
                        DataRow     current     = (DataRow)enumerator.Current;
                        placa.UkupanRadniStaz(Conversions.ToInteger(current["GODINESTAZA"]), Conversions.ToInteger(current["MJESECISTAZA"]), Conversions.ToInteger(current["DANISTAZA"]), Conversions.ToDate(current["datumzadnjegzaposlenjapromjenefondasati"]), DateAndTime.Today, Conversions.ToInteger(current["tjednifondsatistaz"]), 40, Conversions.ToDecimal(Operators.DivideObject(current["BROJPRIZNATIHMJESECI"], 12)), ref num3, ref num4, ref num2);
                        decimal num = Conversions.ToDecimal(Operators.MultiplyObject(4.65, current["TJEDNIFONDSATI"]));
                        try
                        {
                            enumerator2 = dataSet.Tables[0].Rows.GetEnumerator();
                            while (enumerator2.MoveNext())
                            {
                                DataRow row3 = (DataRow)enumerator2.Current;
                                if (Operators.ConditionalCompareObjectEqual(row3["idradnik"], current["idradnik"], false))
                                {
                                    double number = Conversions.ToDouble(Operators.MultiplyObject(current["koeficijent"], 1.0 + ((((double)num3) / 2.0) / 100.0)));
                                    row3["koeficijent"] = DB.RoundUpDecimale(number, 3);
                                }
                            }
                            continue;
                        }
                        finally
                        {
                            if (enumerator2 is IDisposable)
                            {
                                (enumerator2 as IDisposable).Dispose();
                            }
                        }
                    }
                }
                finally
                {
                    if (enumerator is IDisposable)
                    {
                        (enumerator as IDisposable).Dispose();
                    }
                }
            }
            dataSet.Tables[0].Columns.Add("BROJ", Type.GetType("System.Int32"));
            dataSet.Tables[0].Columns.Add("ukupno", Type.GetType("System.Decimal"));
            dataSet.Tables[0].Columns.Add("prosjek", Type.GetType("System.Decimal"));
            dataSet.Tables[0].Columns.Add("prosjecnasatnicagodisnji", Type.GetType("System.Decimal"));
            dataSet.Tables[0].Columns.Add("placaredovna", Type.GetType("System.Decimal"));
            dataSet.Tables[0].Columns.Add("prosjecnasatnicaredovna", Type.GetType("System.Decimal"));
            dataSet.Tables[0].Columns.Add("satigodisnjeg", Type.GetType("System.Decimal"));
            dataSet.Tables[0].Columns.Add("satiredovnog", Type.GetType("System.Decimal"));
            dataSet.Tables[0].Columns.Add("brutogodisnjeg", Type.GetType("System.Decimal"), "satigodisnjeg*prosjecnasatnicagodisnji");
            dataSet.Tables[0].Columns.Add("brutoredovnog", Type.GetType("System.Decimal"), "satiredovnog*prosjecnasatnicaredovna");
            try
            {
                enumerator3 = dataSet.Tables[0].Rows.GetEnumerator();
                while (enumerator3.MoveNext())
                {
                    decimal num8    = 0;
                    DataRow row     = (DataRow)enumerator3.Current;
                    int     vNumber = 0;
                    int     num10   = dataSet.Tables[0].Columns.Count - 1;
                    for (int i = 0; i <= num10; i++)
                    {
                        if (dataSet.Tables[0].Columns[i].ColumnName.ToString().StartsWith("20") & (decimal.Compare(DB.N20(RuntimeHelpers.GetObjectValue(row[i])), decimal.Zero) > 0))
                        {
                            vNumber++;
                            num8 = decimal.Add(num8, DB.N20(RuntimeHelpers.GetObjectValue(row[i])));
                        }
                    }
                    row["satigodisnjeg"] = 0;
                    row["satiredovnog"]  = 0;
                    row["ukupno"]        = num8;
                    try
                    {
                        row["prosjek"] = DB.RoundUpDecimale(decimal.Divide(num8, DB.N20(vNumber)), 2);
                    }
                    catch { row["prosjek"] = 0; }

                    row["BROJ"] = vNumber;

                    try
                    {
                        row["prosjecnasatnicagodisnji"] = DB.RoundUpDecimale(decimal.Divide(decimal.Divide(num8, new decimal(vNumber)), DB.N20(RuntimeHelpers.GetObjectValue(row["sati"]))), 2);
                    }
                    catch (Exception) { row["prosjecnasatnicagodisnji"] = 0; }

                    try
                    {
                        row["prosjecnasatnicaredovna"] = DB.RoundUpDecimale(Operators.DivideObject(Operators.MultiplyObject(row["koeficijent"], 5108.84), DB.N20(RuntimeHelpers.GetObjectValue(row["sati"]))), 2);
                    }
                    catch (Exception) { row["prosjecnasatnicaredovna"] = 0; }

                    row["placaredovna"]  = DB.RoundUpDecimale(Operators.MultiplyObject(row["koeficijent"], 5108.84), 2);
                    row["satigodisnjeg"] = RuntimeHelpers.GetObjectValue(row["sati"]);
                    num8    = new decimal();
                    vNumber = 0;
                }
            }
            finally
            {
                if (enumerator3 is IDisposable)
                {
                    (enumerator3 as IDisposable).Dispose();
                }
            }
            dataSet.Tables[0].Columns.Add("ukupnopoobracunu", Type.GetType("System.Decimal"), "brutogodisnjeg+ brutoredovnog");
            dataSet.Tables[0].Columns.Add("razlika", Type.GetType("System.Decimal"), "ukupnopoobracunu- placaredovna");
            ColumnEnumerator enumerator4 = this.UltraGrid1.DisplayLayout.Bands[0].Columns.GetEnumerator();

            while (enumerator4.MoveNext())
            {
                UltraGridColumn column2 = enumerator4.Current;
                if (column2.DataType == Type.GetType("System.Decimal"))
                {
                    if (column2.Key != "koeficijent")
                    {
                        column2.MaskInput = "{double:9.2}";
                    }
                    else
                    {
                        column2.MaskInput = "{double:4.3}";
                    }
                }
            }
        }
Ejemplo n.º 7
0
        private void InitializeComponent()
        {
            this.components = new Container();
            ResourceManager manager = new ResourceManager(typeof(RADNIKFormRADNIKBrutoUserControl));

            this.contextMenu1             = new ContextMenu();
            this.SetNullItem              = new MenuItem();
            this.toolTip1                 = new System.Windows.Forms.ToolTip(this.components);
            this.errorProvider1           = new ErrorProvider();
            this.errorProviderValidator1  = new ErrorProviderValidator(this.components);
            this.bindingSourceRADNIKBruto = new BindingSource(this.components);
            ((ISupportInitialize)this.bindingSourceRADNIKBruto).BeginInit();
            this.layoutManagerformRADNIKBruto = new TableLayoutPanel();
            this.layoutManagerformRADNIKBruto.SuspendLayout();
            this.layoutManagerformRADNIKBruto.AutoSize     = true;
            this.layoutManagerformRADNIKBruto.Dock         = DockStyle.Fill;
            this.layoutManagerformRADNIKBruto.AutoSizeMode = AutoSizeMode.GrowAndShrink;
            this.layoutManagerformRADNIKBruto.AutoScroll   = false;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.layoutManagerformRADNIKBruto.Location = point;
            Size size = new System.Drawing.Size(0, 0);

            this.layoutManagerformRADNIKBruto.Size        = size;
            this.layoutManagerformRADNIKBruto.ColumnCount = 2;
            this.layoutManagerformRADNIKBruto.RowCount    = 6;
            this.layoutManagerformRADNIKBruto.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.layoutManagerformRADNIKBruto.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.layoutManagerformRADNIKBruto.RowStyles.Add(new RowStyle());
            this.layoutManagerformRADNIKBruto.RowStyles.Add(new RowStyle());
            this.layoutManagerformRADNIKBruto.RowStyles.Add(new RowStyle());
            this.layoutManagerformRADNIKBruto.RowStyles.Add(new RowStyle());
            this.layoutManagerformRADNIKBruto.RowStyles.Add(new RowStyle());
            this.layoutManagerformRADNIKBruto.RowStyles.Add(new RowStyle());
            this.label1BRUTOELEMENTIDELEMENT = new UltraLabel();
            this.comboBRUTOELEMENTIDELEMENT  = new PROVIDER_BRUTOComboBox();
            this.label1BRUTOSATNICA          = new UltraLabel();
            this.textBRUTOSATNICA            = new UltraNumericEditor();
            this.label1BRUTOSATI             = new UltraLabel();
            this.textBRUTOSATI       = new UltraNumericEditor();
            this.label1BRUTOPOSTOTAK = new UltraLabel();
            this.textBRUTOPOSTOTAK   = new UltraNumericEditor();
            this.label1BRUTOIZNOS    = new UltraLabel();
            this.textBRUTOIZNOS      = new UltraNumericEditor();
            ((ISupportInitialize)this.textBRUTOSATNICA).BeginInit();
            ((ISupportInitialize)this.textBRUTOSATI).BeginInit();
            ((ISupportInitialize)this.textBRUTOPOSTOTAK).BeginInit();
            ((ISupportInitialize)this.textBRUTOIZNOS).BeginInit();
            this.dsRADNIKDataSet1 = new RADNIKDataSet();
            this.dsRADNIKDataSet1.BeginInit();
            this.SuspendLayout();
            this.dsRADNIKDataSet1.DataSetName        = "dsRADNIK";
            this.dsRADNIKDataSet1.Locale             = new CultureInfo("hr-HR");
            this.bindingSourceRADNIKBruto.DataSource = this.dsRADNIKDataSet1;
            this.bindingSourceRADNIKBruto.DataMember = "RADNIKBruto";
            ((ISupportInitialize)this.bindingSourceRADNIKBruto).BeginInit();
            point = new System.Drawing.Point(0, 0);
            this.label1BRUTOELEMENTIDELEMENT.Location               = point;
            this.label1BRUTOELEMENTIDELEMENT.Name                   = "label1BRUTOELEMENTIDELEMENT";
            this.label1BRUTOELEMENTIDELEMENT.TabIndex               = 1;
            this.label1BRUTOELEMENTIDELEMENT.Tag                    = "labelBRUTOELEMENTIDELEMENT";
            this.label1BRUTOELEMENTIDELEMENT.Text                   = "Šifra:";
            this.label1BRUTOELEMENTIDELEMENT.StyleSetName           = "FieldUltraLabel";
            this.label1BRUTOELEMENTIDELEMENT.AutoSize               = true;
            this.label1BRUTOELEMENTIDELEMENT.Anchor                 = AnchorStyles.Left;
            this.label1BRUTOELEMENTIDELEMENT.Appearance.TextVAlign  = VAlign.Middle;
            this.label1BRUTOELEMENTIDELEMENT.Appearance.Image       = RuntimeHelpers.GetObjectValue(manager.GetObject("pictureBoxKey.Image"));
            this.label1BRUTOELEMENTIDELEMENT.Appearance.ImageHAlign = HAlign.Right;
            size = new System.Drawing.Size(7, 10);
            this.label1BRUTOELEMENTIDELEMENT.ImageSize            = size;
            this.label1BRUTOELEMENTIDELEMENT.Appearance.ForeColor = Color.Black;
            this.label1BRUTOELEMENTIDELEMENT.BackColor            = Color.Transparent;
            this.layoutManagerformRADNIKBruto.Controls.Add(this.label1BRUTOELEMENTIDELEMENT, 0, 0);
            this.layoutManagerformRADNIKBruto.SetColumnSpan(this.label1BRUTOELEMENTIDELEMENT, 1);
            this.layoutManagerformRADNIKBruto.SetRowSpan(this.label1BRUTOELEMENTIDELEMENT, 1);
            Padding padding = new Padding(3, 1, 5, 2);

            this.label1BRUTOELEMENTIDELEMENT.Margin = padding;
            size = new System.Drawing.Size(0, 0);
            this.label1BRUTOELEMENTIDELEMENT.MinimumSize = size;
            size = new System.Drawing.Size(0x2d, 0x17);
            this.label1BRUTOELEMENTIDELEMENT.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.comboBRUTOELEMENTIDELEMENT.Location                  = point;
            this.comboBRUTOELEMENTIDELEMENT.Name                      = "comboBRUTOELEMENTIDELEMENT";
            this.comboBRUTOELEMENTIDELEMENT.Tag                       = "BRUTOELEMENTIDELEMENT";
            this.comboBRUTOELEMENTIDELEMENT.TabIndex                  = 0;
            this.comboBRUTOELEMENTIDELEMENT.Anchor                    = AnchorStyles.Left;
            this.comboBRUTOELEMENTIDELEMENT.MouseEnter               += new EventHandler(this.mouseEnter_Text);
            this.comboBRUTOELEMENTIDELEMENT.DropDownStyle             = DropDownStyle.DropDown;
            this.comboBRUTOELEMENTIDELEMENT.ComboBox.DropDownStyle    = DropDownStyle.DropDown;
            this.comboBRUTOELEMENTIDELEMENT.ComboBox.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.Suggest;
            this.comboBRUTOELEMENTIDELEMENT.Enabled                   = true;
            this.comboBRUTOELEMENTIDELEMENT.FillAtStartup             = false;
            this.comboBRUTOELEMENTIDELEMENT.ShowPictureBox            = true;
            this.comboBRUTOELEMENTIDELEMENT.PictureBoxClicked        += new EventHandler(this.PictureBoxClickedBRUTOELEMENTIDELEMENT);
            this.comboBRUTOELEMENTIDELEMENT.ValueMember               = "IDELEMENT";
            this.comboBRUTOELEMENTIDELEMENT.SelectionChanged         += new EventHandler(this.SelectedIndexChangedBRUTOELEMENTIDELEMENT);
            this.layoutManagerformRADNIKBruto.Controls.Add(this.comboBRUTOELEMENTIDELEMENT, 1, 0);
            this.layoutManagerformRADNIKBruto.SetColumnSpan(this.comboBRUTOELEMENTIDELEMENT, 1);
            this.layoutManagerformRADNIKBruto.SetRowSpan(this.comboBRUTOELEMENTIDELEMENT, 1);
            padding = new Padding(0, 1, 3, 2);
            this.comboBRUTOELEMENTIDELEMENT.Margin = padding;
            size = new System.Drawing.Size(0x268, 0x17);
            this.comboBRUTOELEMENTIDELEMENT.MinimumSize = size;
            size = new System.Drawing.Size(0x268, 0x17);
            this.comboBRUTOELEMENTIDELEMENT.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.label1BRUTOSATNICA.Location              = point;
            this.label1BRUTOSATNICA.Name                  = "label1BRUTOSATNICA";
            this.label1BRUTOSATNICA.TabIndex              = 1;
            this.label1BRUTOSATNICA.Tag                   = "labelBRUTOSATNICA";
            this.label1BRUTOSATNICA.Text                  = "Satnica:";
            this.label1BRUTOSATNICA.StyleSetName          = "FieldUltraLabel";
            this.label1BRUTOSATNICA.AutoSize              = true;
            this.label1BRUTOSATNICA.Anchor                = AnchorStyles.Left;
            this.label1BRUTOSATNICA.Appearance.TextVAlign = VAlign.Middle;
            this.label1BRUTOSATNICA.Appearance.ForeColor  = Color.Black;
            this.label1BRUTOSATNICA.BackColor             = Color.Transparent;
            this.layoutManagerformRADNIKBruto.Controls.Add(this.label1BRUTOSATNICA, 0, 1);
            this.layoutManagerformRADNIKBruto.SetColumnSpan(this.label1BRUTOSATNICA, 1);
            this.layoutManagerformRADNIKBruto.SetRowSpan(this.label1BRUTOSATNICA, 1);
            padding = new Padding(3, 1, 5, 2);
            this.label1BRUTOSATNICA.Margin = padding;
            size = new System.Drawing.Size(0, 0);
            this.label1BRUTOSATNICA.MinimumSize = size;
            size = new System.Drawing.Size(0x41, 0x17);
            this.label1BRUTOSATNICA.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.textBRUTOSATNICA.Location    = point;
            this.textBRUTOSATNICA.Name        = "textBRUTOSATNICA";
            this.textBRUTOSATNICA.Tag         = "BRUTOSATNICA";
            this.textBRUTOSATNICA.TabIndex    = 0;
            this.textBRUTOSATNICA.Anchor      = AnchorStyles.Left;
            this.textBRUTOSATNICA.MouseEnter += new EventHandler(this.mouseEnter_Text);
            this.textBRUTOSATNICA.ReadOnly    = false;
            this.textBRUTOSATNICA.PromptChar  = ' ';
            this.textBRUTOSATNICA.Enter      += new EventHandler(this.numericEditor_Enter);
            this.textBRUTOSATNICA.DataBindings.Add(new Binding("Value", this.bindingSourceRADNIKBruto, "BRUTOSATNICA"));
            this.textBRUTOSATNICA.NumericType = NumericType.Double;
            this.textBRUTOSATNICA.MaxValue    = 79228162514264337593543950335M;
            this.textBRUTOSATNICA.MinValue    = -79228162514264337593543950335M;
            this.textBRUTOSATNICA.MaskInput   = "{LOC}-nnnn.nnnnnnnn";
            this.layoutManagerformRADNIKBruto.Controls.Add(this.textBRUTOSATNICA, 1, 1);
            this.layoutManagerformRADNIKBruto.SetColumnSpan(this.textBRUTOSATNICA, 1);
            this.layoutManagerformRADNIKBruto.SetRowSpan(this.textBRUTOSATNICA, 1);
            padding = new Padding(0, 1, 3, 2);
            this.textBRUTOSATNICA.Margin = padding;
            size = new System.Drawing.Size(0x66, 0x16);
            this.textBRUTOSATNICA.MinimumSize = size;
            size = new System.Drawing.Size(0x66, 0x16);
            this.textBRUTOSATNICA.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.label1BRUTOSATI.Location              = point;
            this.label1BRUTOSATI.Name                  = "label1BRUTOSATI";
            this.label1BRUTOSATI.TabIndex              = 1;
            this.label1BRUTOSATI.Tag                   = "labelBRUTOSATI";
            this.label1BRUTOSATI.Text                  = "Sati:";
            this.label1BRUTOSATI.StyleSetName          = "FieldUltraLabel";
            this.label1BRUTOSATI.AutoSize              = true;
            this.label1BRUTOSATI.Anchor                = AnchorStyles.Left;
            this.label1BRUTOSATI.Appearance.TextVAlign = VAlign.Middle;
            this.label1BRUTOSATI.Appearance.ForeColor  = Color.Black;
            this.label1BRUTOSATI.BackColor             = Color.Transparent;
            this.layoutManagerformRADNIKBruto.Controls.Add(this.label1BRUTOSATI, 0, 2);
            this.layoutManagerformRADNIKBruto.SetColumnSpan(this.label1BRUTOSATI, 1);
            this.layoutManagerformRADNIKBruto.SetRowSpan(this.label1BRUTOSATI, 1);
            padding = new Padding(3, 1, 5, 2);
            this.label1BRUTOSATI.Margin = padding;
            size = new System.Drawing.Size(0, 0);
            this.label1BRUTOSATI.MinimumSize = size;
            size = new System.Drawing.Size(0x2b, 0x17);
            this.label1BRUTOSATI.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.textBRUTOSATI.Location    = point;
            this.textBRUTOSATI.Name        = "textBRUTOSATI";
            this.textBRUTOSATI.Tag         = "BRUTOSATI";
            this.textBRUTOSATI.TabIndex    = 0;
            this.textBRUTOSATI.Anchor      = AnchorStyles.Left;
            this.textBRUTOSATI.MouseEnter += new EventHandler(this.mouseEnter_Text);
            this.textBRUTOSATI.ReadOnly    = false;
            this.textBRUTOSATI.PromptChar  = ' ';
            this.textBRUTOSATI.Enter      += new EventHandler(this.numericEditor_Enter);
            this.textBRUTOSATI.DataBindings.Add(new Binding("Value", this.bindingSourceRADNIKBruto, "BRUTOSATI"));
            this.textBRUTOSATI.NumericType = NumericType.Double;
            this.textBRUTOSATI.MaxValue    = 79228162514264337593543950335M;
            this.textBRUTOSATI.MinValue    = -79228162514264337593543950335M;
            this.textBRUTOSATI.MaskInput   = "{LOC}-nnn.nn";
            this.layoutManagerformRADNIKBruto.Controls.Add(this.textBRUTOSATI, 1, 2);
            this.layoutManagerformRADNIKBruto.SetColumnSpan(this.textBRUTOSATI, 1);
            this.layoutManagerformRADNIKBruto.SetRowSpan(this.textBRUTOSATI, 1);
            padding = new Padding(0, 1, 3, 2);
            this.textBRUTOSATI.Margin = padding;
            size = new System.Drawing.Size(0x37, 0x16);
            this.textBRUTOSATI.MinimumSize = size;
            size = new System.Drawing.Size(0x37, 0x16);
            this.textBRUTOSATI.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.label1BRUTOPOSTOTAK.Location              = point;
            this.label1BRUTOPOSTOTAK.Name                  = "label1BRUTOPOSTOTAK";
            this.label1BRUTOPOSTOTAK.TabIndex              = 1;
            this.label1BRUTOPOSTOTAK.Tag                   = "labelBRUTOPOSTOTAK";
            this.label1BRUTOPOSTOTAK.Text                  = "Postotak:";
            this.label1BRUTOPOSTOTAK.StyleSetName          = "FieldUltraLabel";
            this.label1BRUTOPOSTOTAK.AutoSize              = true;
            this.label1BRUTOPOSTOTAK.Anchor                = AnchorStyles.Left;
            this.label1BRUTOPOSTOTAK.Appearance.TextVAlign = VAlign.Middle;
            this.label1BRUTOPOSTOTAK.Appearance.ForeColor  = Color.Black;
            this.label1BRUTOPOSTOTAK.BackColor             = Color.Transparent;
            this.layoutManagerformRADNIKBruto.Controls.Add(this.label1BRUTOPOSTOTAK, 0, 3);
            this.layoutManagerformRADNIKBruto.SetColumnSpan(this.label1BRUTOPOSTOTAK, 1);
            this.layoutManagerformRADNIKBruto.SetRowSpan(this.label1BRUTOPOSTOTAK, 1);
            padding = new Padding(3, 1, 5, 2);
            this.label1BRUTOPOSTOTAK.Margin = padding;
            size = new System.Drawing.Size(0, 0);
            this.label1BRUTOPOSTOTAK.MinimumSize = size;
            size = new System.Drawing.Size(0x4a, 0x17);
            this.label1BRUTOPOSTOTAK.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.textBRUTOPOSTOTAK.Location    = point;
            this.textBRUTOPOSTOTAK.Name        = "textBRUTOPOSTOTAK";
            this.textBRUTOPOSTOTAK.Tag         = "BRUTOPOSTOTAK";
            this.textBRUTOPOSTOTAK.TabIndex    = 0;
            this.textBRUTOPOSTOTAK.Anchor      = AnchorStyles.Left;
            this.textBRUTOPOSTOTAK.MouseEnter += new EventHandler(this.mouseEnter_Text);
            this.textBRUTOPOSTOTAK.ReadOnly    = false;
            this.textBRUTOPOSTOTAK.PromptChar  = ' ';
            this.textBRUTOPOSTOTAK.Enter      += new EventHandler(this.numericEditor_Enter);
            this.textBRUTOPOSTOTAK.DataBindings.Add(new Binding("Value", this.bindingSourceRADNIKBruto, "BRUTOPOSTOTAK"));
            this.textBRUTOPOSTOTAK.NumericType = NumericType.Double;
            this.textBRUTOPOSTOTAK.MaxValue    = 79228162514264337593543950335M;
            this.textBRUTOPOSTOTAK.MinValue    = -79228162514264337593543950335M;
            this.textBRUTOPOSTOTAK.MaskInput   = "{LOC}-nnn.nn";
            this.layoutManagerformRADNIKBruto.Controls.Add(this.textBRUTOPOSTOTAK, 1, 3);
            this.layoutManagerformRADNIKBruto.SetColumnSpan(this.textBRUTOPOSTOTAK, 1);
            this.layoutManagerformRADNIKBruto.SetRowSpan(this.textBRUTOPOSTOTAK, 1);
            padding = new Padding(0, 1, 3, 2);
            this.textBRUTOPOSTOTAK.Margin = padding;
            size = new System.Drawing.Size(0x37, 0x16);
            this.textBRUTOPOSTOTAK.MinimumSize = size;
            size = new System.Drawing.Size(0x37, 0x16);
            this.textBRUTOPOSTOTAK.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.label1BRUTOIZNOS.Location              = point;
            this.label1BRUTOIZNOS.Name                  = "label1BRUTOIZNOS";
            this.label1BRUTOIZNOS.TabIndex              = 1;
            this.label1BRUTOIZNOS.Tag                   = "labelBRUTOIZNOS";
            this.label1BRUTOIZNOS.Text                  = "Iznos:";
            this.label1BRUTOIZNOS.StyleSetName          = "FieldUltraLabel";
            this.label1BRUTOIZNOS.AutoSize              = true;
            this.label1BRUTOIZNOS.Anchor                = AnchorStyles.Left;
            this.label1BRUTOIZNOS.Appearance.TextVAlign = VAlign.Middle;
            this.label1BRUTOIZNOS.Appearance.ForeColor  = Color.Black;
            this.label1BRUTOIZNOS.BackColor             = Color.Transparent;
            this.layoutManagerformRADNIKBruto.Controls.Add(this.label1BRUTOIZNOS, 0, 4);
            this.layoutManagerformRADNIKBruto.SetColumnSpan(this.label1BRUTOIZNOS, 1);
            this.layoutManagerformRADNIKBruto.SetRowSpan(this.label1BRUTOIZNOS, 1);
            padding = new Padding(3, 1, 5, 2);
            this.label1BRUTOIZNOS.Margin = padding;
            size = new System.Drawing.Size(0, 0);
            this.label1BRUTOIZNOS.MinimumSize = size;
            size = new System.Drawing.Size(0x35, 0x17);
            this.label1BRUTOIZNOS.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.textBRUTOIZNOS.Location    = point;
            this.textBRUTOIZNOS.Name        = "textBRUTOIZNOS";
            this.textBRUTOIZNOS.Tag         = "BRUTOIZNOS";
            this.textBRUTOIZNOS.TabIndex    = 0;
            this.textBRUTOIZNOS.Anchor      = AnchorStyles.Left;
            this.textBRUTOIZNOS.MouseEnter += new EventHandler(this.mouseEnter_Text);
            this.textBRUTOIZNOS.ReadOnly    = false;
            this.textBRUTOIZNOS.PromptChar  = ' ';
            this.textBRUTOIZNOS.Enter      += new EventHandler(this.numericEditor_Enter);
            this.textBRUTOIZNOS.DataBindings.Add(new Binding("Value", this.bindingSourceRADNIKBruto, "BRUTOIZNOS"));
            this.textBRUTOIZNOS.NumericType = NumericType.Double;
            this.textBRUTOIZNOS.MaxValue    = 79228162514264337593543950335M;
            this.textBRUTOIZNOS.MinValue    = -79228162514264337593543950335M;
            this.textBRUTOIZNOS.MaskInput   = "{LOC}-nnnnnnnnnn.nn";
            this.layoutManagerformRADNIKBruto.Controls.Add(this.textBRUTOIZNOS, 1, 4);
            this.layoutManagerformRADNIKBruto.SetColumnSpan(this.textBRUTOIZNOS, 1);
            this.layoutManagerformRADNIKBruto.SetRowSpan(this.textBRUTOIZNOS, 1);
            padding = new Padding(0, 1, 3, 2);
            this.textBRUTOIZNOS.Margin = padding;
            size = new System.Drawing.Size(0x66, 0x16);
            this.textBRUTOIZNOS.MinimumSize = size;
            size = new System.Drawing.Size(0x66, 0x16);
            this.textBRUTOIZNOS.Size = size;
            this.Controls.Add(this.layoutManagerformRADNIKBruto);
            this.SetNullItem.Index   = 0;
            this.SetNullItem.Text    = "Set Null";
            this.SetNullItem.Click  += new EventHandler(this.SetNullItem_Click);
            this.contextMenu1.Popup += new EventHandler(this.contextMenu1_Popup);
            this.contextMenu1.MenuItems.AddRange(new MenuItem[] { this.SetNullItem });
            this.errorProvider1.DataSource             = this.bindingSourceRADNIKBruto;
            this.errorProviderValidator1.ErrorProvider = this.errorProvider1;
            this.Name       = "RADNIKFormRADNIKBrutoUserControl";
            this.Text       = " Bruto elementi";
            this.AutoSize   = true;
            this.AutoScroll = true;
            this.Load      += new EventHandler(this.RADNIKFormUserControl_Load);
            this.layoutManagerformRADNIKBruto.ResumeLayout(false);
            this.layoutManagerformRADNIKBruto.PerformLayout();
            ((ISupportInitialize)this.bindingSourceRADNIKBruto).EndInit();
            ((ISupportInitialize)this.textBRUTOSATNICA).EndInit();
            ((ISupportInitialize)this.textBRUTOSATI).EndInit();
            ((ISupportInitialize)this.textBRUTOPOSTOTAK).EndInit();
            ((ISupportInitialize)this.textBRUTOIZNOS).EndInit();
            this.dsRADNIKDataSet1.EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }
Ejemplo n.º 8
0
 public void ChangeBinding()
 {
     this.bindingSourceRADNIKBruto.DataSource = this.RADNIKController.DataSet;
     this.dsRADNIKDataSet1 = this.RADNIKController.DataSet;
 }
Ejemplo n.º 9
0
        private void InitializeComponent()
        {
            this.components = new Container();
            ResourceManager manager = new ResourceManager(typeof(RADNIKFormRADNIKLevel7UserControl));

            this.contextMenu1              = new ContextMenu();
            this.SetNullItem               = new MenuItem();
            this.toolTip1                  = new System.Windows.Forms.ToolTip(this.components);
            this.errorProvider1            = new ErrorProvider();
            this.errorProviderValidator1   = new ErrorProviderValidator(this.components);
            this.bindingSourceRADNIKLevel7 = new BindingSource(this.components);
            ((ISupportInitialize)this.bindingSourceRADNIKLevel7).BeginInit();
            this.layoutManagerformRADNIKLevel7 = new TableLayoutPanel();
            this.layoutManagerformRADNIKLevel7.SuspendLayout();
            this.layoutManagerformRADNIKLevel7.AutoSize     = true;
            this.layoutManagerformRADNIKLevel7.Dock         = DockStyle.Fill;
            this.layoutManagerformRADNIKLevel7.AutoSizeMode = AutoSizeMode.GrowAndShrink;
            this.layoutManagerformRADNIKLevel7.AutoScroll   = false;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.layoutManagerformRADNIKLevel7.Location = point;
            Size size = new System.Drawing.Size(0, 0);

            this.layoutManagerformRADNIKLevel7.Size        = size;
            this.layoutManagerformRADNIKLevel7.ColumnCount = 2;
            this.layoutManagerformRADNIKLevel7.RowCount    = 5;
            this.layoutManagerformRADNIKLevel7.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.layoutManagerformRADNIKLevel7.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.layoutManagerformRADNIKLevel7.RowStyles.Add(new RowStyle());
            this.layoutManagerformRADNIKLevel7.RowStyles.Add(new RowStyle());
            this.layoutManagerformRADNIKLevel7.RowStyles.Add(new RowStyle());
            this.layoutManagerformRADNIKLevel7.RowStyles.Add(new RowStyle());
            this.layoutManagerformRADNIKLevel7.RowStyles.Add(new RowStyle());
            this.label1IDGRUPEKOEF        = new UltraLabel();
            this.comboIDGRUPEKOEF         = new GRUPEKOEFComboBox();
            this.label1NAZIVGRUPEKOEF     = new UltraLabel();
            this.labelNAZIVGRUPEKOEF      = new UltraLabel();
            this.label1DODATNIKOEFICIJENT = new UltraLabel();
            this.textDODATNIKOEFICIJENT   = new UltraNumericEditor();
            ((ISupportInitialize)this.textDODATNIKOEFICIJENT).BeginInit();
            this.dsRADNIKDataSet1 = new RADNIKDataSet();
            this.dsRADNIKDataSet1.BeginInit();
            this.SuspendLayout();
            this.dsRADNIKDataSet1.DataSetName         = "dsRADNIK";
            this.dsRADNIKDataSet1.Locale              = new CultureInfo("hr-HR");
            this.bindingSourceRADNIKLevel7.DataSource = this.dsRADNIKDataSet1;
            this.bindingSourceRADNIKLevel7.DataMember = "RADNIKLevel7";
            ((ISupportInitialize)this.bindingSourceRADNIKLevel7).BeginInit();
            point = new System.Drawing.Point(0, 0);
            this.label1IDGRUPEKOEF.Location               = point;
            this.label1IDGRUPEKOEF.Name                   = "label1IDGRUPEKOEF";
            this.label1IDGRUPEKOEF.TabIndex               = 1;
            this.label1IDGRUPEKOEF.Tag                    = "labelIDGRUPEKOEF";
            this.label1IDGRUPEKOEF.Text                   = "Šifra:";
            this.label1IDGRUPEKOEF.StyleSetName           = "FieldUltraLabel";
            this.label1IDGRUPEKOEF.AutoSize               = true;
            this.label1IDGRUPEKOEF.Anchor                 = AnchorStyles.Left;
            this.label1IDGRUPEKOEF.Appearance.TextVAlign  = VAlign.Middle;
            this.label1IDGRUPEKOEF.Appearance.Image       = RuntimeHelpers.GetObjectValue(manager.GetObject("pictureBoxKey.Image"));
            this.label1IDGRUPEKOEF.Appearance.ImageHAlign = HAlign.Right;
            size = new System.Drawing.Size(7, 10);
            this.label1IDGRUPEKOEF.ImageSize            = size;
            this.label1IDGRUPEKOEF.Appearance.ForeColor = Color.Black;
            this.label1IDGRUPEKOEF.BackColor            = Color.Transparent;
            this.layoutManagerformRADNIKLevel7.Controls.Add(this.label1IDGRUPEKOEF, 0, 0);
            this.layoutManagerformRADNIKLevel7.SetColumnSpan(this.label1IDGRUPEKOEF, 1);
            this.layoutManagerformRADNIKLevel7.SetRowSpan(this.label1IDGRUPEKOEF, 1);
            Padding padding = new Padding(3, 1, 5, 2);

            this.label1IDGRUPEKOEF.Margin = padding;
            size = new System.Drawing.Size(0, 0);
            this.label1IDGRUPEKOEF.MinimumSize = size;
            size = new System.Drawing.Size(0x2d, 0x17);
            this.label1IDGRUPEKOEF.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.comboIDGRUPEKOEF.Location                  = point;
            this.comboIDGRUPEKOEF.Name                      = "comboIDGRUPEKOEF";
            this.comboIDGRUPEKOEF.Tag                       = "IDGRUPEKOEF";
            this.comboIDGRUPEKOEF.TabIndex                  = 0;
            this.comboIDGRUPEKOEF.Anchor                    = AnchorStyles.Left;
            this.comboIDGRUPEKOEF.MouseEnter               += new EventHandler(this.mouseEnter_Text);
            this.comboIDGRUPEKOEF.DropDownStyle             = DropDownStyle.DropDown;
            this.comboIDGRUPEKOEF.ComboBox.DropDownStyle    = DropDownStyle.DropDown;
            this.comboIDGRUPEKOEF.ComboBox.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.Suggest;
            this.comboIDGRUPEKOEF.Enabled                   = true;
            this.comboIDGRUPEKOEF.DataBindings.Add(new Binding("Value", this.bindingSourceRADNIKLevel7, "IDGRUPEKOEF"));
            this.comboIDGRUPEKOEF.ShowPictureBox     = true;
            this.comboIDGRUPEKOEF.PictureBoxClicked += new EventHandler(this.PictureBoxClickedIDGRUPEKOEF);
            this.comboIDGRUPEKOEF.ValueMember        = "IDGRUPEKOEF";
            this.comboIDGRUPEKOEF.SelectionChanged  += new EventHandler(this.SelectedIndexChangedIDGRUPEKOEF);
            this.layoutManagerformRADNIKLevel7.Controls.Add(this.comboIDGRUPEKOEF, 1, 0);
            this.layoutManagerformRADNIKLevel7.SetColumnSpan(this.comboIDGRUPEKOEF, 1);
            this.layoutManagerformRADNIKLevel7.SetRowSpan(this.comboIDGRUPEKOEF, 1);
            padding = new Padding(0, 1, 3, 2);
            this.comboIDGRUPEKOEF.Margin = padding;
            size = new System.Drawing.Size(0x5b, 0x17);
            this.comboIDGRUPEKOEF.MinimumSize = size;
            size = new System.Drawing.Size(0x5b, 0x17);
            this.comboIDGRUPEKOEF.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.label1NAZIVGRUPEKOEF.Location              = point;
            this.label1NAZIVGRUPEKOEF.Name                  = "label1NAZIVGRUPEKOEF";
            this.label1NAZIVGRUPEKOEF.TabIndex              = 1;
            this.label1NAZIVGRUPEKOEF.Tag                   = "labelNAZIVGRUPEKOEF";
            this.label1NAZIVGRUPEKOEF.Text                  = "Naziv:";
            this.label1NAZIVGRUPEKOEF.StyleSetName          = "FieldUltraLabel";
            this.label1NAZIVGRUPEKOEF.AutoSize              = true;
            this.label1NAZIVGRUPEKOEF.Anchor                = AnchorStyles.Left;
            this.label1NAZIVGRUPEKOEF.Appearance.TextVAlign = VAlign.Middle;
            this.label1NAZIVGRUPEKOEF.Appearance.ForeColor  = Color.Black;
            this.label1NAZIVGRUPEKOEF.BackColor             = Color.Transparent;
            this.layoutManagerformRADNIKLevel7.Controls.Add(this.label1NAZIVGRUPEKOEF, 0, 1);
            this.layoutManagerformRADNIKLevel7.SetColumnSpan(this.label1NAZIVGRUPEKOEF, 1);
            this.layoutManagerformRADNIKLevel7.SetRowSpan(this.label1NAZIVGRUPEKOEF, 1);
            padding = new Padding(3, 1, 5, 2);
            this.label1NAZIVGRUPEKOEF.Margin = padding;
            size = new System.Drawing.Size(0, 0);
            this.label1NAZIVGRUPEKOEF.MinimumSize = size;
            size = new System.Drawing.Size(0x35, 0x17);
            this.label1NAZIVGRUPEKOEF.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.labelNAZIVGRUPEKOEF.Location  = point;
            this.labelNAZIVGRUPEKOEF.Name      = "labelNAZIVGRUPEKOEF";
            this.labelNAZIVGRUPEKOEF.Tag       = "NAZIVGRUPEKOEF";
            this.labelNAZIVGRUPEKOEF.TabIndex  = 0;
            this.labelNAZIVGRUPEKOEF.Anchor    = AnchorStyles.Left;
            this.labelNAZIVGRUPEKOEF.BackColor = Color.Transparent;
            this.labelNAZIVGRUPEKOEF.DataBindings.Add(new Binding("Text", this.bindingSourceRADNIKLevel7, "NAZIVGRUPEKOEF"));
            this.labelNAZIVGRUPEKOEF.Appearance.TextVAlign = VAlign.Middle;
            this.layoutManagerformRADNIKLevel7.Controls.Add(this.labelNAZIVGRUPEKOEF, 1, 1);
            this.layoutManagerformRADNIKLevel7.SetColumnSpan(this.labelNAZIVGRUPEKOEF, 1);
            this.layoutManagerformRADNIKLevel7.SetRowSpan(this.labelNAZIVGRUPEKOEF, 1);
            padding = new Padding(0, 1, 3, 2);
            this.labelNAZIVGRUPEKOEF.Margin = padding;
            size = new System.Drawing.Size(0x16e, 0x16);
            this.labelNAZIVGRUPEKOEF.MinimumSize = size;
            size = new System.Drawing.Size(0x16e, 0x16);
            this.labelNAZIVGRUPEKOEF.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.label1DODATNIKOEFICIJENT.Location              = point;
            this.label1DODATNIKOEFICIJENT.Name                  = "label1DODATNIKOEFICIJENT";
            this.label1DODATNIKOEFICIJENT.TabIndex              = 1;
            this.label1DODATNIKOEFICIJENT.Tag                   = "labelDODATNIKOEFICIJENT";
            this.label1DODATNIKOEFICIJENT.Text                  = "Koeficijent:";
            this.label1DODATNIKOEFICIJENT.StyleSetName          = "FieldUltraLabel";
            this.label1DODATNIKOEFICIJENT.AutoSize              = true;
            this.label1DODATNIKOEFICIJENT.Anchor                = AnchorStyles.Left;
            this.label1DODATNIKOEFICIJENT.Appearance.TextVAlign = VAlign.Middle;
            this.label1DODATNIKOEFICIJENT.Appearance.ForeColor  = Color.Black;
            this.label1DODATNIKOEFICIJENT.BackColor             = Color.Transparent;
            this.layoutManagerformRADNIKLevel7.Controls.Add(this.label1DODATNIKOEFICIJENT, 0, 3);
            this.layoutManagerformRADNIKLevel7.SetColumnSpan(this.label1DODATNIKOEFICIJENT, 1);
            this.layoutManagerformRADNIKLevel7.SetRowSpan(this.label1DODATNIKOEFICIJENT, 1);
            padding = new Padding(3, 1, 5, 2);
            this.label1DODATNIKOEFICIJENT.Margin = padding;
            size = new System.Drawing.Size(0, 0);
            this.label1DODATNIKOEFICIJENT.MinimumSize = size;
            size = new System.Drawing.Size(0x56, 0x17);
            this.label1DODATNIKOEFICIJENT.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.textDODATNIKOEFICIJENT.Location    = point;
            this.textDODATNIKOEFICIJENT.Name        = "textDODATNIKOEFICIJENT";
            this.textDODATNIKOEFICIJENT.Tag         = "DODATNIKOEFICIJENT";
            this.textDODATNIKOEFICIJENT.TabIndex    = 0;
            this.textDODATNIKOEFICIJENT.Anchor      = AnchorStyles.Left;
            this.textDODATNIKOEFICIJENT.MouseEnter += new EventHandler(this.mouseEnter_Text);
            this.textDODATNIKOEFICIJENT.ReadOnly    = false;
            this.textDODATNIKOEFICIJENT.PromptChar  = ' ';
            this.textDODATNIKOEFICIJENT.Enter      += new EventHandler(this.numericEditor_Enter);
            this.textDODATNIKOEFICIJENT.DataBindings.Add(new Binding("Value", this.bindingSourceRADNIKLevel7, "DODATNIKOEFICIJENT"));
            this.textDODATNIKOEFICIJENT.NumericType = NumericType.Double;
            this.textDODATNIKOEFICIJENT.MaxValue    = 79228162514264337593543950335M;
            this.textDODATNIKOEFICIJENT.MinValue    = -79228162514264337593543950335M;
            this.textDODATNIKOEFICIJENT.MaskInput   = "{LOC}-nnnn.nnnnnnnn";
            this.layoutManagerformRADNIKLevel7.Controls.Add(this.textDODATNIKOEFICIJENT, 1, 3);
            this.layoutManagerformRADNIKLevel7.SetColumnSpan(this.textDODATNIKOEFICIJENT, 1);
            this.layoutManagerformRADNIKLevel7.SetRowSpan(this.textDODATNIKOEFICIJENT, 1);
            padding = new Padding(0, 1, 3, 2);
            this.textDODATNIKOEFICIJENT.Margin = padding;
            size = new System.Drawing.Size(0x66, 0x16);
            this.textDODATNIKOEFICIJENT.MinimumSize = size;
            size = new System.Drawing.Size(0x66, 0x16);
            this.textDODATNIKOEFICIJENT.Size = size;
            this.Controls.Add(this.layoutManagerformRADNIKLevel7);
            this.SetNullItem.Index   = 0;
            this.SetNullItem.Text    = "Set Null";
            this.SetNullItem.Click  += new EventHandler(this.SetNullItem_Click);
            this.contextMenu1.Popup += new EventHandler(this.contextMenu1_Popup);
            this.contextMenu1.MenuItems.AddRange(new MenuItem[] { this.SetNullItem });
            this.errorProvider1.DataSource             = this.bindingSourceRADNIKLevel7;
            this.errorProviderValidator1.ErrorProvider = this.errorProvider1;
            this.Name       = "RADNIKFormRADNIKLevel7UserControl";
            this.Text       = " Koeficijenti";
            this.AutoSize   = true;
            this.AutoScroll = true;
            this.Load      += new EventHandler(this.RADNIKFormUserControl_Load);
            this.layoutManagerformRADNIKLevel7.ResumeLayout(false);
            this.layoutManagerformRADNIKLevel7.PerformLayout();
            ((ISupportInitialize)this.bindingSourceRADNIKLevel7).EndInit();
            ((ISupportInitialize)this.textDODATNIKOEFICIJENT).EndInit();
            this.dsRADNIKDataSet1.EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }
Ejemplo n.º 10
0
        private void InitializeComponent()
        {
            this.components = new Container();
            ResourceManager manager = new ResourceManager(typeof(RADNIKFormRADNIKOdbitakUserControl));

            this.contextMenu1               = new ContextMenu();
            this.SetNullItem                = new MenuItem();
            this.toolTip1                   = new System.Windows.Forms.ToolTip(this.components);
            this.errorProvider1             = new ErrorProvider();
            this.errorProviderValidator1    = new ErrorProviderValidator(this.components);
            this.bindingSourceRADNIKOdbitak = new BindingSource(this.components);
            ((ISupportInitialize)this.bindingSourceRADNIKOdbitak).BeginInit();
            this.layoutManagerformRADNIKOdbitak = new TableLayoutPanel();
            this.layoutManagerformRADNIKOdbitak.SuspendLayout();
            this.layoutManagerformRADNIKOdbitak.AutoSize     = true;
            this.layoutManagerformRADNIKOdbitak.Dock         = DockStyle.Fill;
            this.layoutManagerformRADNIKOdbitak.AutoSizeMode = AutoSizeMode.GrowAndShrink;
            this.layoutManagerformRADNIKOdbitak.AutoScroll   = false;
            System.Drawing.Point point = new System.Drawing.Point(0, 0);
            this.layoutManagerformRADNIKOdbitak.Location = point;
            Size size = new System.Drawing.Size(0, 0);

            this.layoutManagerformRADNIKOdbitak.Size        = size;
            this.layoutManagerformRADNIKOdbitak.ColumnCount = 2;
            this.layoutManagerformRADNIKOdbitak.RowCount    = 4;
            this.layoutManagerformRADNIKOdbitak.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.layoutManagerformRADNIKOdbitak.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.layoutManagerformRADNIKOdbitak.RowStyles.Add(new RowStyle());
            this.layoutManagerformRADNIKOdbitak.RowStyles.Add(new RowStyle());
            this.layoutManagerformRADNIKOdbitak.RowStyles.Add(new RowStyle());
            this.layoutManagerformRADNIKOdbitak.RowStyles.Add(new RowStyle());
            this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK = new UltraLabel();
            this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK   = new UltraNumericEditor();
            this.label1NAZIVOSOBNIODBITAK   = new UltraLabel();
            this.labelNAZIVOSOBNIODBITAK    = new UltraLabel();
            this.label1FAKTOROSOBNOGODBITKA = new UltraLabel();
            this.labelFAKTOROSOBNOGODBITKA  = new UltraLabel();
            ((ISupportInitialize)this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK).BeginInit();
            this.dsRADNIKDataSet1 = new RADNIKDataSet();
            this.dsRADNIKDataSet1.BeginInit();
            this.SuspendLayout();
            this.dsRADNIKDataSet1.DataSetName          = "dsRADNIK";
            this.dsRADNIKDataSet1.Locale               = new CultureInfo("hr-HR");
            this.bindingSourceRADNIKOdbitak.DataSource = this.dsRADNIKDataSet1;
            this.bindingSourceRADNIKOdbitak.DataMember = "RADNIKOdbitak";
            ((ISupportInitialize)this.bindingSourceRADNIKOdbitak).BeginInit();
            point = new System.Drawing.Point(0, 0);
            this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.Location               = point;
            this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.Name                   = "label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK";
            this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.TabIndex               = 1;
            this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.Tag                    = "labelOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK";
            this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.Text                   = "Šifra:";
            this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.StyleSetName           = "FieldUltraLabel";
            this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.AutoSize               = true;
            this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.Anchor                 = AnchorStyles.Left;
            this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.Appearance.TextVAlign  = VAlign.Middle;
            this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.Appearance.Image       = RuntimeHelpers.GetObjectValue(manager.GetObject("pictureBoxKey.Image"));
            this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.Appearance.ImageHAlign = HAlign.Right;
            size = new System.Drawing.Size(7, 10);
            this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.ImageSize            = size;
            this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.Appearance.ForeColor = Color.Black;
            this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.BackColor            = Color.Transparent;
            this.layoutManagerformRADNIKOdbitak.Controls.Add(this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK, 0, 0);
            this.layoutManagerformRADNIKOdbitak.SetColumnSpan(this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK, 1);
            this.layoutManagerformRADNIKOdbitak.SetRowSpan(this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK, 1);
            Padding padding = new Padding(3, 1, 5, 2);

            this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.Margin = padding;
            size = new System.Drawing.Size(0, 0);
            this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.MinimumSize = size;
            size = new System.Drawing.Size(0x2d, 0x17);
            this.label1OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.Location    = point;
            this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.Name        = "textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK";
            this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.Tag         = "OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK";
            this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.TabIndex    = 0;
            this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.Anchor      = AnchorStyles.Left;
            this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.MouseEnter += new EventHandler(this.mouseEnter_Text);
            this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.ReadOnly    = false;
            this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.PromptChar  = ' ';
            this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.Enter      += new EventHandler(this.numericEditor_Enter);
            this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.DataBindings.Add(new Binding("Value", this.bindingSourceRADNIKOdbitak, "OSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK"));
            this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.NumericType = NumericType.Integer;
            this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.MaskInput   = "{LOC}-nnnnn";
            EditorButton button = new EditorButton {
                Key  = "editorButtonOSOBNIODBITAKOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK",
                Tag  = "editorButtonOSOBNIODBITAKOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK",
                Text = "..."
            };

            this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.ButtonsRight.Add(button);
            this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.EditorButtonClick += new EditorButtonEventHandler(this.CallPromptOSOBNIODBITAKOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK);
            this.layoutManagerformRADNIKOdbitak.Controls.Add(this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK, 1, 0);
            this.layoutManagerformRADNIKOdbitak.SetColumnSpan(this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK, 1);
            this.layoutManagerformRADNIKOdbitak.SetRowSpan(this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK, 1);
            padding = new Padding(0, 1, 3, 2);
            this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.Margin = padding;
            size = new System.Drawing.Size(0x47, 0x16);
            this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.MinimumSize = size;
            size = new System.Drawing.Size(0x47, 0x16);
            this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.label1NAZIVOSOBNIODBITAK.Location              = point;
            this.label1NAZIVOSOBNIODBITAK.Name                  = "label1NAZIVOSOBNIODBITAK";
            this.label1NAZIVOSOBNIODBITAK.TabIndex              = 1;
            this.label1NAZIVOSOBNIODBITAK.Tag                   = "labelNAZIVOSOBNIODBITAK";
            this.label1NAZIVOSOBNIODBITAK.Text                  = "Naziv OD:";
            this.label1NAZIVOSOBNIODBITAK.StyleSetName          = "FieldUltraLabel";
            this.label1NAZIVOSOBNIODBITAK.AutoSize              = true;
            this.label1NAZIVOSOBNIODBITAK.Anchor                = AnchorStyles.Left;
            this.label1NAZIVOSOBNIODBITAK.Appearance.TextVAlign = VAlign.Middle;
            this.label1NAZIVOSOBNIODBITAK.Appearance.ForeColor  = Color.Black;
            this.label1NAZIVOSOBNIODBITAK.BackColor             = Color.Transparent;
            this.layoutManagerformRADNIKOdbitak.Controls.Add(this.label1NAZIVOSOBNIODBITAK, 0, 1);
            this.layoutManagerformRADNIKOdbitak.SetColumnSpan(this.label1NAZIVOSOBNIODBITAK, 1);
            this.layoutManagerformRADNIKOdbitak.SetRowSpan(this.label1NAZIVOSOBNIODBITAK, 1);
            padding = new Padding(3, 1, 5, 2);
            this.label1NAZIVOSOBNIODBITAK.Margin = padding;
            size = new System.Drawing.Size(0, 0);
            this.label1NAZIVOSOBNIODBITAK.MinimumSize = size;
            size = new System.Drawing.Size(0x4c, 0x17);
            this.label1NAZIVOSOBNIODBITAK.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.labelNAZIVOSOBNIODBITAK.Location  = point;
            this.labelNAZIVOSOBNIODBITAK.Name      = "labelNAZIVOSOBNIODBITAK";
            this.labelNAZIVOSOBNIODBITAK.Tag       = "NAZIVOSOBNIODBITAK";
            this.labelNAZIVOSOBNIODBITAK.TabIndex  = 0;
            this.labelNAZIVOSOBNIODBITAK.Anchor    = AnchorStyles.Left;
            this.labelNAZIVOSOBNIODBITAK.BackColor = Color.Transparent;
            this.labelNAZIVOSOBNIODBITAK.DataBindings.Add(new Binding("Text", this.bindingSourceRADNIKOdbitak, "NAZIVOSOBNIODBITAK"));
            this.labelNAZIVOSOBNIODBITAK.Appearance.TextVAlign = VAlign.Middle;
            this.layoutManagerformRADNIKOdbitak.Controls.Add(this.labelNAZIVOSOBNIODBITAK, 1, 1);
            this.layoutManagerformRADNIKOdbitak.SetColumnSpan(this.labelNAZIVOSOBNIODBITAK, 1);
            this.layoutManagerformRADNIKOdbitak.SetRowSpan(this.labelNAZIVOSOBNIODBITAK, 1);
            padding = new Padding(0, 1, 3, 2);
            this.labelNAZIVOSOBNIODBITAK.Margin = padding;
            size = new System.Drawing.Size(0x240, 0x16);
            this.labelNAZIVOSOBNIODBITAK.MinimumSize = size;
            size = new System.Drawing.Size(0x240, 0x16);
            this.labelNAZIVOSOBNIODBITAK.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.label1FAKTOROSOBNOGODBITKA.Location              = point;
            this.label1FAKTOROSOBNOGODBITKA.Name                  = "label1FAKTOROSOBNOGODBITKA";
            this.label1FAKTOROSOBNOGODBITKA.TabIndex              = 1;
            this.label1FAKTOROSOBNOGODBITKA.Tag                   = "labelFAKTOROSOBNOGODBITKA";
            this.label1FAKTOROSOBNOGODBITKA.Text                  = "Faktor:";
            this.label1FAKTOROSOBNOGODBITKA.StyleSetName          = "FieldUltraLabel";
            this.label1FAKTOROSOBNOGODBITKA.AutoSize              = true;
            this.label1FAKTOROSOBNOGODBITKA.Anchor                = AnchorStyles.Left;
            this.label1FAKTOROSOBNOGODBITKA.Appearance.TextVAlign = VAlign.Middle;
            this.label1FAKTOROSOBNOGODBITKA.Appearance.ForeColor  = Color.Black;
            this.label1FAKTOROSOBNOGODBITKA.BackColor             = Color.Transparent;
            this.layoutManagerformRADNIKOdbitak.Controls.Add(this.label1FAKTOROSOBNOGODBITKA, 0, 2);
            this.layoutManagerformRADNIKOdbitak.SetColumnSpan(this.label1FAKTOROSOBNOGODBITKA, 1);
            this.layoutManagerformRADNIKOdbitak.SetRowSpan(this.label1FAKTOROSOBNOGODBITKA, 1);
            padding = new Padding(3, 1, 5, 2);
            this.label1FAKTOROSOBNOGODBITKA.Margin = padding;
            size = new System.Drawing.Size(0, 0);
            this.label1FAKTOROSOBNOGODBITKA.MinimumSize = size;
            size = new System.Drawing.Size(0x3b, 0x17);
            this.label1FAKTOROSOBNOGODBITKA.Size = size;
            point = new System.Drawing.Point(0, 0);
            this.labelFAKTOROSOBNOGODBITKA.Location              = point;
            this.labelFAKTOROSOBNOGODBITKA.Name                  = "labelFAKTOROSOBNOGODBITKA";
            this.labelFAKTOROSOBNOGODBITKA.Tag                   = "FAKTOROSOBNOGODBITKA";
            this.labelFAKTOROSOBNOGODBITKA.TabIndex              = 0;
            this.labelFAKTOROSOBNOGODBITKA.Anchor                = AnchorStyles.Left;
            this.labelFAKTOROSOBNOGODBITKA.BackColor             = Color.Transparent;
            this.labelFAKTOROSOBNOGODBITKA.Appearance.TextHAlign = HAlign.Left;
            this.labelFAKTOROSOBNOGODBITKA.Appearance.TextVAlign = VAlign.Middle;
            this.layoutManagerformRADNIKOdbitak.Controls.Add(this.labelFAKTOROSOBNOGODBITKA, 1, 2);
            this.layoutManagerformRADNIKOdbitak.SetColumnSpan(this.labelFAKTOROSOBNOGODBITKA, 1);
            this.layoutManagerformRADNIKOdbitak.SetRowSpan(this.labelFAKTOROSOBNOGODBITKA, 1);
            padding = new Padding(0, 1, 3, 2);
            this.labelFAKTOROSOBNOGODBITKA.Margin = padding;
            size = new System.Drawing.Size(0x37, 0x16);
            this.labelFAKTOROSOBNOGODBITKA.MinimumSize = size;
            size = new System.Drawing.Size(0x37, 0x16);
            this.labelFAKTOROSOBNOGODBITKA.Size = size;
            this.Controls.Add(this.layoutManagerformRADNIKOdbitak);
            this.SetNullItem.Index   = 0;
            this.SetNullItem.Text    = "Set Null";
            this.SetNullItem.Click  += new EventHandler(this.SetNullItem_Click);
            this.contextMenu1.Popup += new EventHandler(this.contextMenu1_Popup);
            this.contextMenu1.MenuItems.AddRange(new MenuItem[] { this.SetNullItem });
            this.errorProvider1.DataSource             = this.bindingSourceRADNIKOdbitak;
            this.errorProviderValidator1.ErrorProvider = this.errorProvider1;
            this.Name       = "RADNIKFormRADNIKOdbitakUserControl";
            this.Text       = " Osobni odbici radnika";
            this.AutoSize   = true;
            this.AutoScroll = true;
            this.Load      += new EventHandler(this.RADNIKFormUserControl_Load);
            this.layoutManagerformRADNIKOdbitak.ResumeLayout(false);
            this.layoutManagerformRADNIKOdbitak.PerformLayout();
            ((ISupportInitialize)this.bindingSourceRADNIKOdbitak).EndInit();
            ((ISupportInitialize)this.textOSOBNIODBITAKZADUZENJEIDOSOBNIODBITAK).EndInit();
            this.dsRADNIKDataSet1.EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }