public virtual void Fill() { this.PreFill(); this.dsSHEMAPLACADataSet1 = new SHEMAPLACADataSet(); this.m_StartRow = 0; this.Cursor = Cursors.WaitCursor; this.m_GridLoading = true; ThreadPool.QueueUserWorkItem(new WaitCallback(this.FillDataThread), Thread.CurrentPrincipal); }
public void Initialize(DeklaritMode mode, DataRow parentRow, bool isCopy) { this.m_ParentRow = parentRow; this.dsSHEMAPLACADataSet1 = (SHEMAPLACADataSet)this.m_ParentRow.Table.DataSet; this.bindingSourceSHEMAPLACASHEMAPLACASTANDARD.DataSource = DataSetUtil.GetSubTreeDataView(this.m_ParentRow, this.dsSHEMAPLACADataSet1.Tables["SHEMAPLACASHEMAPLACASTANDARD"]); this.bindingSourceSHEMAPLACASHEMAPLACASTANDARD.DataMember = ""; this.RegisterBindingSources(); this.m_Mode = mode; this.m_BaseMethods = new GenericFormClass(this.m_FrameworkDescription, this.m_FirstLevelName, "SHEMAPLACA", this.m_Mode, this.dsSHEMAPLACADataSet1, this.dsSHEMAPLACADataSet1.SHEMAPLACASHEMAPLACASTANDARD.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 = (SHEMAPLACADataSet.SHEMAPLACASHEMAPLACASTANDARDRow)((DataRowView)this.bindingSourceSHEMAPLACASHEMAPLACASTANDARD.Current).Row; } if (this.m_BaseMethods.IsInsert() && !isCopy) { this.m_CurrentRow = (SHEMAPLACADataSet.SHEMAPLACASHEMAPLACASTANDARDRow)((DataRowView)this.bindingSourceSHEMAPLACASHEMAPLACASTANDARD.AddNew()).Row; this.m_CurrentRow.SetParentRow(this.m_ParentRow); } this.SetFocusInFirstField(); }
private void InitializeComponent() { this.components = new Container(); ResourceManager manager = new ResourceManager(typeof(SHEMAPLACAFormSHEMAPLACASHEMAPLACASTANDARDUserControl)); 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.bindingSourceSHEMAPLACASHEMAPLACASTANDARD = new BindingSource(this.components); ((ISupportInitialize)this.bindingSourceSHEMAPLACASHEMAPLACASTANDARD).BeginInit(); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD = new TableLayoutPanel(); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SuspendLayout(); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.AutoSize = true; this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.Dock = DockStyle.Fill; this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.AutoScroll = false; System.Drawing.Point point = new System.Drawing.Point(0, 0); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.Location = point; Size size = new System.Drawing.Size(0, 0); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.Size = size; this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.ColumnCount = 2; this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.RowCount = 6; this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.RowStyles.Add(new RowStyle()); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.RowStyles.Add(new RowStyle()); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.RowStyles.Add(new RowStyle()); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.RowStyles.Add(new RowStyle()); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.RowStyles.Add(new RowStyle()); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.RowStyles.Add(new RowStyle()); this.label1IDPLVRSTEIZNOSA = new UltraLabel(); this.comboIDPLVRSTEIZNOSA = new PLVRSTEIZNOSAComboBox(); this.label1KONTOPLACAVRSTAIZNOSAIDKONTO = new UltraLabel(); this.comboKONTOPLACAVRSTAIZNOSAIDKONTO = new KONTOComboBox(); this.label1MTPLACAVRSTAIZNOSAIDMJESTOTROSKA = new UltraLabel(); this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA = new MJESTOTROSKAComboBox(); this.label1STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA = new UltraLabel(); this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA = new STRANEKNJIZENJAComboBox(); this.label1NAZIVPLVRSTEIZNOSA = new UltraLabel(); this.labelNAZIVPLVRSTEIZNOSA = new UltraLabel(); this.dsSHEMAPLACADataSet1 = new SHEMAPLACADataSet(); this.dsSHEMAPLACADataSet1.BeginInit(); this.SuspendLayout(); this.dsSHEMAPLACADataSet1.DataSetName = "dsSHEMAPLACA"; this.dsSHEMAPLACADataSet1.Locale = new CultureInfo("hr-HR"); this.bindingSourceSHEMAPLACASHEMAPLACASTANDARD.DataSource = this.dsSHEMAPLACADataSet1; this.bindingSourceSHEMAPLACASHEMAPLACASTANDARD.DataMember = "SHEMAPLACASHEMAPLACASTANDARD"; ((ISupportInitialize)this.bindingSourceSHEMAPLACASHEMAPLACASTANDARD).BeginInit(); point = new System.Drawing.Point(0, 0); this.label1IDPLVRSTEIZNOSA.Location = point; this.label1IDPLVRSTEIZNOSA.Name = "label1IDPLVRSTEIZNOSA"; this.label1IDPLVRSTEIZNOSA.TabIndex = 1; this.label1IDPLVRSTEIZNOSA.Tag = "labelIDPLVRSTEIZNOSA"; this.label1IDPLVRSTEIZNOSA.Text = "Šifra iznosa:"; this.label1IDPLVRSTEIZNOSA.StyleSetName = "FieldUltraLabel"; this.label1IDPLVRSTEIZNOSA.AutoSize = true; this.label1IDPLVRSTEIZNOSA.Anchor = AnchorStyles.Left; this.label1IDPLVRSTEIZNOSA.Appearance.TextVAlign = VAlign.Middle; this.label1IDPLVRSTEIZNOSA.Appearance.ForeColor = Color.Black; this.label1IDPLVRSTEIZNOSA.BackColor = Color.Transparent; this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.Controls.Add(this.label1IDPLVRSTEIZNOSA, 0, 0); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetColumnSpan(this.label1IDPLVRSTEIZNOSA, 1); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetRowSpan(this.label1IDPLVRSTEIZNOSA, 1); Padding padding = new Padding(3, 1, 5, 2); this.label1IDPLVRSTEIZNOSA.Margin = padding; size = new System.Drawing.Size(0, 0); this.label1IDPLVRSTEIZNOSA.MinimumSize = size; size = new System.Drawing.Size(0x5b, 0x17); this.label1IDPLVRSTEIZNOSA.Size = size; point = new System.Drawing.Point(0, 0); this.comboIDPLVRSTEIZNOSA.Location = point; this.comboIDPLVRSTEIZNOSA.Name = "comboIDPLVRSTEIZNOSA"; this.comboIDPLVRSTEIZNOSA.Tag = "IDPLVRSTEIZNOSA"; this.comboIDPLVRSTEIZNOSA.TabIndex = 0; this.comboIDPLVRSTEIZNOSA.Anchor = AnchorStyles.Left; this.comboIDPLVRSTEIZNOSA.MouseEnter += new EventHandler(this.mouseEnter_Text); this.comboIDPLVRSTEIZNOSA.DropDownStyle = DropDownStyle.DropDown; this.comboIDPLVRSTEIZNOSA.ComboBox.DropDownStyle = DropDownStyle.DropDown; this.comboIDPLVRSTEIZNOSA.ComboBox.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.Suggest; this.comboIDPLVRSTEIZNOSA.Enabled = true; this.comboIDPLVRSTEIZNOSA.DataBindings.Add(new Binding("Value", this.bindingSourceSHEMAPLACASHEMAPLACASTANDARD, "IDPLVRSTEIZNOSA")); this.comboIDPLVRSTEIZNOSA.ShowPictureBox = true; this.comboIDPLVRSTEIZNOSA.PictureBoxClicked += new EventHandler(this.PictureBoxClickedIDPLVRSTEIZNOSA); this.comboIDPLVRSTEIZNOSA.ValueMember = "IDPLVRSTEIZNOSA"; this.comboIDPLVRSTEIZNOSA.SelectionChanged += new EventHandler(this.SelectedIndexChangedIDPLVRSTEIZNOSA); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.Controls.Add(this.comboIDPLVRSTEIZNOSA, 1, 0); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetColumnSpan(this.comboIDPLVRSTEIZNOSA, 1); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetRowSpan(this.comboIDPLVRSTEIZNOSA, 1); padding = new Padding(0, 1, 3, 2); this.comboIDPLVRSTEIZNOSA.Margin = padding; size = new System.Drawing.Size(0x196, 0x17); this.comboIDPLVRSTEIZNOSA.MinimumSize = size; size = new System.Drawing.Size(0x196, 0x17); this.comboIDPLVRSTEIZNOSA.Size = size; point = new System.Drawing.Point(0, 0); this.label1KONTOPLACAVRSTAIZNOSAIDKONTO.Location = point; this.label1KONTOPLACAVRSTAIZNOSAIDKONTO.Name = "label1KONTOPLACAVRSTAIZNOSAIDKONTO"; this.label1KONTOPLACAVRSTAIZNOSAIDKONTO.TabIndex = 1; this.label1KONTOPLACAVRSTAIZNOSAIDKONTO.Tag = "labelKONTOPLACAVRSTAIZNOSAIDKONTO"; this.label1KONTOPLACAVRSTAIZNOSAIDKONTO.Text = "Konto:"; this.label1KONTOPLACAVRSTAIZNOSAIDKONTO.StyleSetName = "FieldUltraLabel"; this.label1KONTOPLACAVRSTAIZNOSAIDKONTO.AutoSize = true; this.label1KONTOPLACAVRSTAIZNOSAIDKONTO.Anchor = AnchorStyles.Left; this.label1KONTOPLACAVRSTAIZNOSAIDKONTO.Appearance.TextVAlign = VAlign.Middle; this.label1KONTOPLACAVRSTAIZNOSAIDKONTO.Appearance.ForeColor = Color.Black; this.label1KONTOPLACAVRSTAIZNOSAIDKONTO.BackColor = Color.Transparent; this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.Controls.Add(this.label1KONTOPLACAVRSTAIZNOSAIDKONTO, 0, 1); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetColumnSpan(this.label1KONTOPLACAVRSTAIZNOSAIDKONTO, 1); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetRowSpan(this.label1KONTOPLACAVRSTAIZNOSAIDKONTO, 1); padding = new Padding(3, 1, 5, 2); this.label1KONTOPLACAVRSTAIZNOSAIDKONTO.Margin = padding; size = new System.Drawing.Size(0, 0); this.label1KONTOPLACAVRSTAIZNOSAIDKONTO.MinimumSize = size; size = new System.Drawing.Size(0x38, 0x17); this.label1KONTOPLACAVRSTAIZNOSAIDKONTO.Size = size; point = new System.Drawing.Point(0, 0); this.comboKONTOPLACAVRSTAIZNOSAIDKONTO.Location = point; this.comboKONTOPLACAVRSTAIZNOSAIDKONTO.Name = "comboKONTOPLACAVRSTAIZNOSAIDKONTO"; this.comboKONTOPLACAVRSTAIZNOSAIDKONTO.Tag = "KONTOPLACAVRSTAIZNOSAIDKONTO"; this.comboKONTOPLACAVRSTAIZNOSAIDKONTO.TabIndex = 0; this.comboKONTOPLACAVRSTAIZNOSAIDKONTO.Anchor = AnchorStyles.Left; this.comboKONTOPLACAVRSTAIZNOSAIDKONTO.MouseEnter += new EventHandler(this.mouseEnter_Text); this.comboKONTOPLACAVRSTAIZNOSAIDKONTO.DropDownStyle = DropDownStyle.DropDown; this.comboKONTOPLACAVRSTAIZNOSAIDKONTO.ComboBox.DropDownStyle = DropDownStyle.DropDown; this.comboKONTOPLACAVRSTAIZNOSAIDKONTO.ComboBox.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.Suggest; this.comboKONTOPLACAVRSTAIZNOSAIDKONTO.Enabled = true; this.comboKONTOPLACAVRSTAIZNOSAIDKONTO.DataBindings.Add(new Binding("Value", this.bindingSourceSHEMAPLACASHEMAPLACASTANDARD, "KONTOPLACAVRSTAIZNOSAIDKONTO")); this.comboKONTOPLACAVRSTAIZNOSAIDKONTO.ShowPictureBox = true; this.comboKONTOPLACAVRSTAIZNOSAIDKONTO.PictureBoxClicked += new EventHandler(this.PictureBoxClickedKONTOPLACAVRSTAIZNOSAIDKONTO); this.comboKONTOPLACAVRSTAIZNOSAIDKONTO.ValueMember = "IDKONTO"; this.comboKONTOPLACAVRSTAIZNOSAIDKONTO.SelectionChanged += new EventHandler(this.SelectedIndexChangedKONTOPLACAVRSTAIZNOSAIDKONTO); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.Controls.Add(this.comboKONTOPLACAVRSTAIZNOSAIDKONTO, 1, 1); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetColumnSpan(this.comboKONTOPLACAVRSTAIZNOSAIDKONTO, 1); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetRowSpan(this.comboKONTOPLACAVRSTAIZNOSAIDKONTO, 1); padding = new Padding(0, 1, 3, 2); this.comboKONTOPLACAVRSTAIZNOSAIDKONTO.Margin = padding; size = new System.Drawing.Size(0x268, 0x17); this.comboKONTOPLACAVRSTAIZNOSAIDKONTO.MinimumSize = size; size = new System.Drawing.Size(0x268, 0x17); this.comboKONTOPLACAVRSTAIZNOSAIDKONTO.Size = size; point = new System.Drawing.Point(0, 0); this.label1MTPLACAVRSTAIZNOSAIDMJESTOTROSKA.Location = point; this.label1MTPLACAVRSTAIZNOSAIDMJESTOTROSKA.Name = "label1MTPLACAVRSTAIZNOSAIDMJESTOTROSKA"; this.label1MTPLACAVRSTAIZNOSAIDMJESTOTROSKA.TabIndex = 1; this.label1MTPLACAVRSTAIZNOSAIDMJESTOTROSKA.Tag = "labelMTPLACAVRSTAIZNOSAIDMJESTOTROSKA"; this.label1MTPLACAVRSTAIZNOSAIDMJESTOTROSKA.Text = "Mjesto troška:"; this.label1MTPLACAVRSTAIZNOSAIDMJESTOTROSKA.StyleSetName = "FieldUltraLabel"; this.label1MTPLACAVRSTAIZNOSAIDMJESTOTROSKA.AutoSize = true; this.label1MTPLACAVRSTAIZNOSAIDMJESTOTROSKA.Anchor = AnchorStyles.Left; this.label1MTPLACAVRSTAIZNOSAIDMJESTOTROSKA.Appearance.TextVAlign = VAlign.Middle; this.label1MTPLACAVRSTAIZNOSAIDMJESTOTROSKA.Appearance.ForeColor = Color.Black; this.label1MTPLACAVRSTAIZNOSAIDMJESTOTROSKA.BackColor = Color.Transparent; this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.Controls.Add(this.label1MTPLACAVRSTAIZNOSAIDMJESTOTROSKA, 0, 2); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetColumnSpan(this.label1MTPLACAVRSTAIZNOSAIDMJESTOTROSKA, 1); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetRowSpan(this.label1MTPLACAVRSTAIZNOSAIDMJESTOTROSKA, 1); padding = new Padding(3, 1, 5, 2); this.label1MTPLACAVRSTAIZNOSAIDMJESTOTROSKA.Margin = padding; size = new System.Drawing.Size(0, 0); this.label1MTPLACAVRSTAIZNOSAIDMJESTOTROSKA.MinimumSize = size; size = new System.Drawing.Size(0x68, 0x17); this.label1MTPLACAVRSTAIZNOSAIDMJESTOTROSKA.Size = size; point = new System.Drawing.Point(0, 0); this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA.Location = point; this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA.Name = "comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA"; this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA.Tag = "MTPLACAVRSTAIZNOSAIDMJESTOTROSKA"; this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA.TabIndex = 0; this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA.Anchor = AnchorStyles.Left; this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA.MouseEnter += new EventHandler(this.mouseEnter_Text); this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA.DropDownStyle = DropDownStyle.DropDown; this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA.ComboBox.DropDownStyle = DropDownStyle.DropDown; this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA.ComboBox.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.Suggest; this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA.Enabled = true; this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA.DataBindings.Add(new Binding("Value", this.bindingSourceSHEMAPLACASHEMAPLACASTANDARD, "MTPLACAVRSTAIZNOSAIDMJESTOTROSKA")); this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA.ShowPictureBox = true; this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA.PictureBoxClicked += new EventHandler(this.PictureBoxClickedMTPLACAVRSTAIZNOSAIDMJESTOTROSKA); this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA.ValueMember = "IDMJESTOTROSKA"; this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA.SelectionChanged += new EventHandler(this.SelectedIndexChangedMTPLACAVRSTAIZNOSAIDMJESTOTROSKA); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.Controls.Add(this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA, 1, 2); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetColumnSpan(this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA, 1); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetRowSpan(this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA, 1); padding = new Padding(0, 1, 3, 2); this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA.Margin = padding; size = new System.Drawing.Size(0x268, 0x17); this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA.MinimumSize = size; size = new System.Drawing.Size(0x268, 0x17); this.comboMTPLACAVRSTAIZNOSAIDMJESTOTROSKA.Size = size; point = new System.Drawing.Point(0, 0); this.label1STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.Location = point; this.label1STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.Name = "label1STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA"; this.label1STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.TabIndex = 1; this.label1STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.Tag = "labelSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA"; this.label1STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.Text = "Strana kniženja:"; this.label1STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.StyleSetName = "FieldUltraLabel"; this.label1STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.AutoSize = true; this.label1STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.Anchor = AnchorStyles.Left; this.label1STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.Appearance.TextVAlign = VAlign.Middle; this.label1STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.Appearance.ForeColor = Color.Black; this.label1STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.BackColor = Color.Transparent; this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.Controls.Add(this.label1STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA, 0, 3); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetColumnSpan(this.label1STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA, 1); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetRowSpan(this.label1STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA, 1); padding = new Padding(3, 1, 5, 2); this.label1STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.Margin = padding; size = new System.Drawing.Size(0, 0); this.label1STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.MinimumSize = size; size = new System.Drawing.Size(0x74, 0x17); this.label1STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.Size = size; point = new System.Drawing.Point(0, 0); this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.Location = point; this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.Name = "comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA"; this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.Tag = "STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA"; this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.TabIndex = 0; this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.Anchor = AnchorStyles.Left; this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.MouseEnter += new EventHandler(this.mouseEnter_Text); this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.DropDownStyle = DropDownStyle.DropDown; this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.ComboBox.DropDownStyle = DropDownStyle.DropDown; this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.ComboBox.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.Suggest; this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.Enabled = true; this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.DataBindings.Add(new Binding("Value", this.bindingSourceSHEMAPLACASHEMAPLACASTANDARD, "STRANEVRSTEIZNOSAIDSTRANEKNJIZENJA")); this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.ShowPictureBox = true; this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.PictureBoxClicked += new EventHandler(this.PictureBoxClickedSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA); this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.ValueMember = "IDSTRANEKNJIZENJA"; this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.SelectionChanged += new EventHandler(this.SelectedIndexChangedSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.Controls.Add(this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA, 1, 3); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetColumnSpan(this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA, 1); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetRowSpan(this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA, 1); padding = new Padding(0, 1, 3, 2); this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.Margin = padding; size = new System.Drawing.Size(0x10a, 0x17); this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.MinimumSize = size; size = new System.Drawing.Size(0x10a, 0x17); this.comboSTRANEVRSTEIZNOSAIDSTRANEKNJIZENJA.Size = size; point = new System.Drawing.Point(0, 0); this.label1NAZIVPLVRSTEIZNOSA.Location = point; this.label1NAZIVPLVRSTEIZNOSA.Name = "label1NAZIVPLVRSTEIZNOSA"; this.label1NAZIVPLVRSTEIZNOSA.TabIndex = 1; this.label1NAZIVPLVRSTEIZNOSA.Tag = "labelNAZIVPLVRSTEIZNOSA"; this.label1NAZIVPLVRSTEIZNOSA.Text = "Naziv:"; this.label1NAZIVPLVRSTEIZNOSA.StyleSetName = "FieldUltraLabel"; this.label1NAZIVPLVRSTEIZNOSA.AutoSize = true; this.label1NAZIVPLVRSTEIZNOSA.Anchor = AnchorStyles.Left; this.label1NAZIVPLVRSTEIZNOSA.Appearance.TextVAlign = VAlign.Middle; this.label1NAZIVPLVRSTEIZNOSA.Appearance.ForeColor = Color.Black; this.label1NAZIVPLVRSTEIZNOSA.BackColor = Color.Transparent; this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.Controls.Add(this.label1NAZIVPLVRSTEIZNOSA, 0, 4); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetColumnSpan(this.label1NAZIVPLVRSTEIZNOSA, 1); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetRowSpan(this.label1NAZIVPLVRSTEIZNOSA, 1); padding = new Padding(3, 1, 5, 2); this.label1NAZIVPLVRSTEIZNOSA.Margin = padding; size = new System.Drawing.Size(0, 0); this.label1NAZIVPLVRSTEIZNOSA.MinimumSize = size; size = new System.Drawing.Size(0x35, 0x17); this.label1NAZIVPLVRSTEIZNOSA.Size = size; point = new System.Drawing.Point(0, 0); this.labelNAZIVPLVRSTEIZNOSA.Location = point; this.labelNAZIVPLVRSTEIZNOSA.Name = "labelNAZIVPLVRSTEIZNOSA"; this.labelNAZIVPLVRSTEIZNOSA.Tag = "NAZIVPLVRSTEIZNOSA"; this.labelNAZIVPLVRSTEIZNOSA.TabIndex = 0; this.labelNAZIVPLVRSTEIZNOSA.Anchor = AnchorStyles.Left; this.labelNAZIVPLVRSTEIZNOSA.BackColor = Color.Transparent; this.labelNAZIVPLVRSTEIZNOSA.DataBindings.Add(new Binding("Text", this.bindingSourceSHEMAPLACASHEMAPLACASTANDARD, "NAZIVPLVRSTEIZNOSA")); this.labelNAZIVPLVRSTEIZNOSA.Appearance.TextVAlign = VAlign.Middle; this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.Controls.Add(this.labelNAZIVPLVRSTEIZNOSA, 1, 4); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetColumnSpan(this.labelNAZIVPLVRSTEIZNOSA, 1); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.SetRowSpan(this.labelNAZIVPLVRSTEIZNOSA, 1); padding = new Padding(0, 1, 3, 2); this.labelNAZIVPLVRSTEIZNOSA.Margin = padding; size = new System.Drawing.Size(0x16e, 0x16); this.labelNAZIVPLVRSTEIZNOSA.MinimumSize = size; size = new System.Drawing.Size(0x16e, 0x16); this.labelNAZIVPLVRSTEIZNOSA.Size = size; this.Controls.Add(this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD); 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.bindingSourceSHEMAPLACASHEMAPLACASTANDARD; this.errorProviderValidator1.ErrorProvider = this.errorProvider1; this.Name = "SHEMAPLACAFormSHEMAPLACASHEMAPLACASTANDARDUserControl"; this.Text = " SHEMAPLACASTANDARD"; this.AutoSize = true; this.AutoScroll = true; this.Load += new EventHandler(this.SHEMAPLACAFormUserControl_Load); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.ResumeLayout(false); this.layoutManagerformSHEMAPLACASHEMAPLACASTANDARD.PerformLayout(); ((ISupportInitialize)this.bindingSourceSHEMAPLACASHEMAPLACASTANDARD).EndInit(); this.dsSHEMAPLACADataSet1.EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
public void ChangeBinding() { this.bindingSourceSHEMAPLACASHEMAPLACASTANDARD.DataSource = this.SHEMAPLACAController.DataSet; this.dsSHEMAPLACADataSet1 = this.SHEMAPLACAController.DataSet; }
private void InitializeComponent() { this.components = new Container(); ResourceManager manager = new ResourceManager(typeof(SHEMAPLACAFormSHEMAPLACASHEMAPLACADOPUserControl)); 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.bindingSourceSHEMAPLACASHEMAPLACADOP = new BindingSource(this.components); ((ISupportInitialize)this.bindingSourceSHEMAPLACASHEMAPLACADOP).BeginInit(); this.layoutManagerformSHEMAPLACASHEMAPLACADOP = new TableLayoutPanel(); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SuspendLayout(); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.AutoSize = true; this.layoutManagerformSHEMAPLACASHEMAPLACADOP.Dock = DockStyle.Fill; this.layoutManagerformSHEMAPLACASHEMAPLACADOP.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.layoutManagerformSHEMAPLACASHEMAPLACADOP.AutoScroll = false; System.Drawing.Point point = new System.Drawing.Point(0, 0); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.Location = point; Size size = new System.Drawing.Size(0, 0); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.Size = size; this.layoutManagerformSHEMAPLACASHEMAPLACADOP.ColumnCount = 2; this.layoutManagerformSHEMAPLACASHEMAPLACADOP.RowCount = 6; this.layoutManagerformSHEMAPLACASHEMAPLACADOP.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.RowStyles.Add(new RowStyle()); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.RowStyles.Add(new RowStyle()); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.RowStyles.Add(new RowStyle()); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.RowStyles.Add(new RowStyle()); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.RowStyles.Add(new RowStyle()); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.RowStyles.Add(new RowStyle()); this.label1SHEMAPLDOPIDDOPRINOS = new UltraLabel(); this.textSHEMAPLDOPIDDOPRINOS = new UltraNumericEditor(); this.label1KONTODOPIDKONTO = new UltraLabel(); this.comboKONTODOPIDKONTO = new KONTOComboBox(); this.label1MTDOPIDMJESTOTROSKA = new UltraLabel(); this.comboMTDOPIDMJESTOTROSKA = new MJESTOTROSKAComboBox(); this.label1STRANEDOPIDSTRANEKNJIZENJA = new UltraLabel(); this.comboSTRANEDOPIDSTRANEKNJIZENJA = new STRANEKNJIZENJAComboBox(); this.label1SHEMAPLDOPNAZIVDOPRINOS = new UltraLabel(); this.labelSHEMAPLDOPNAZIVDOPRINOS = new UltraLabel(); ((ISupportInitialize)this.textSHEMAPLDOPIDDOPRINOS).BeginInit(); this.dsSHEMAPLACADataSet1 = new SHEMAPLACADataSet(); this.dsSHEMAPLACADataSet1.BeginInit(); this.SuspendLayout(); this.dsSHEMAPLACADataSet1.DataSetName = "dsSHEMAPLACA"; this.dsSHEMAPLACADataSet1.Locale = new CultureInfo("hr-HR"); this.bindingSourceSHEMAPLACASHEMAPLACADOP.DataSource = this.dsSHEMAPLACADataSet1; this.bindingSourceSHEMAPLACASHEMAPLACADOP.DataMember = "SHEMAPLACASHEMAPLACADOP"; ((ISupportInitialize)this.bindingSourceSHEMAPLACASHEMAPLACADOP).BeginInit(); point = new System.Drawing.Point(0, 0); this.label1SHEMAPLDOPIDDOPRINOS.Location = point; this.label1SHEMAPLDOPIDDOPRINOS.Name = "label1SHEMAPLDOPIDDOPRINOS"; this.label1SHEMAPLDOPIDDOPRINOS.TabIndex = 1; this.label1SHEMAPLDOPIDDOPRINOS.Tag = "labelSHEMAPLDOPIDDOPRINOS"; this.label1SHEMAPLDOPIDDOPRINOS.Text = "Šifra doprinosa:"; this.label1SHEMAPLDOPIDDOPRINOS.StyleSetName = "FieldUltraLabel"; this.label1SHEMAPLDOPIDDOPRINOS.AutoSize = true; this.label1SHEMAPLDOPIDDOPRINOS.Anchor = AnchorStyles.Left; this.label1SHEMAPLDOPIDDOPRINOS.Appearance.TextVAlign = VAlign.Middle; this.label1SHEMAPLDOPIDDOPRINOS.Appearance.Image = RuntimeHelpers.GetObjectValue(manager.GetObject("pictureBoxKey.Image")); this.label1SHEMAPLDOPIDDOPRINOS.Appearance.ImageHAlign = HAlign.Right; size = new System.Drawing.Size(7, 10); this.label1SHEMAPLDOPIDDOPRINOS.ImageSize = size; this.label1SHEMAPLDOPIDDOPRINOS.Appearance.ForeColor = Color.Black; this.label1SHEMAPLDOPIDDOPRINOS.BackColor = Color.Transparent; this.layoutManagerformSHEMAPLACASHEMAPLACADOP.Controls.Add(this.label1SHEMAPLDOPIDDOPRINOS, 0, 0); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetColumnSpan(this.label1SHEMAPLDOPIDDOPRINOS, 1); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetRowSpan(this.label1SHEMAPLDOPIDDOPRINOS, 1); Padding padding = new Padding(3, 1, 5, 2); this.label1SHEMAPLDOPIDDOPRINOS.Margin = padding; size = new System.Drawing.Size(0, 0); this.label1SHEMAPLDOPIDDOPRINOS.MinimumSize = size; size = new System.Drawing.Size(110, 0x17); this.label1SHEMAPLDOPIDDOPRINOS.Size = size; point = new System.Drawing.Point(0, 0); this.textSHEMAPLDOPIDDOPRINOS.Location = point; this.textSHEMAPLDOPIDDOPRINOS.Name = "textSHEMAPLDOPIDDOPRINOS"; this.textSHEMAPLDOPIDDOPRINOS.Tag = "SHEMAPLDOPIDDOPRINOS"; this.textSHEMAPLDOPIDDOPRINOS.TabIndex = 0; this.textSHEMAPLDOPIDDOPRINOS.Anchor = AnchorStyles.Left; this.textSHEMAPLDOPIDDOPRINOS.MouseEnter += new EventHandler(this.mouseEnter_Text); this.textSHEMAPLDOPIDDOPRINOS.ReadOnly = false; this.textSHEMAPLDOPIDDOPRINOS.PromptChar = ' '; this.textSHEMAPLDOPIDDOPRINOS.Enter += new EventHandler(this.numericEditor_Enter); this.textSHEMAPLDOPIDDOPRINOS.DataBindings.Add(new Binding("Value", this.bindingSourceSHEMAPLACASHEMAPLACADOP, "SHEMAPLDOPIDDOPRINOS")); this.textSHEMAPLDOPIDDOPRINOS.NumericType = NumericType.Integer; this.textSHEMAPLDOPIDDOPRINOS.MaskInput = "{LOC}-nnnnnnnn"; EditorButton button = new EditorButton { Key = "editorButtonDOPRINOSSHEMAPLDOPIDDOPRINOS", Tag = "editorButtonDOPRINOSSHEMAPLDOPIDDOPRINOS", Text = "..." }; this.textSHEMAPLDOPIDDOPRINOS.ButtonsRight.Add(button); this.textSHEMAPLDOPIDDOPRINOS.EditorButtonClick += new EditorButtonEventHandler(this.CallPromptDOPRINOSSHEMAPLDOPIDDOPRINOS); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.Controls.Add(this.textSHEMAPLDOPIDDOPRINOS, 1, 0); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetColumnSpan(this.textSHEMAPLDOPIDDOPRINOS, 1); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetRowSpan(this.textSHEMAPLDOPIDDOPRINOS, 1); padding = new Padding(0, 1, 3, 2); this.textSHEMAPLDOPIDDOPRINOS.Margin = padding; size = new System.Drawing.Size(0x5c, 0x16); this.textSHEMAPLDOPIDDOPRINOS.MinimumSize = size; size = new System.Drawing.Size(0x5c, 0x16); this.textSHEMAPLDOPIDDOPRINOS.Size = size; point = new System.Drawing.Point(0, 0); this.label1KONTODOPIDKONTO.Location = point; this.label1KONTODOPIDKONTO.Name = "label1KONTODOPIDKONTO"; this.label1KONTODOPIDKONTO.TabIndex = 1; this.label1KONTODOPIDKONTO.Tag = "labelKONTODOPIDKONTO"; this.label1KONTODOPIDKONTO.Text = "Konto:"; this.label1KONTODOPIDKONTO.StyleSetName = "FieldUltraLabel"; this.label1KONTODOPIDKONTO.AutoSize = true; this.label1KONTODOPIDKONTO.Anchor = AnchorStyles.Left; this.label1KONTODOPIDKONTO.Appearance.TextVAlign = VAlign.Middle; this.label1KONTODOPIDKONTO.Appearance.Image = RuntimeHelpers.GetObjectValue(manager.GetObject("pictureBoxKey.Image")); this.label1KONTODOPIDKONTO.Appearance.ImageHAlign = HAlign.Right; size = new System.Drawing.Size(7, 10); this.label1KONTODOPIDKONTO.ImageSize = size; this.label1KONTODOPIDKONTO.Appearance.ForeColor = Color.Black; this.label1KONTODOPIDKONTO.BackColor = Color.Transparent; this.layoutManagerformSHEMAPLACASHEMAPLACADOP.Controls.Add(this.label1KONTODOPIDKONTO, 0, 1); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetColumnSpan(this.label1KONTODOPIDKONTO, 1); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetRowSpan(this.label1KONTODOPIDKONTO, 1); padding = new Padding(3, 1, 5, 2); this.label1KONTODOPIDKONTO.Margin = padding; size = new System.Drawing.Size(0, 0); this.label1KONTODOPIDKONTO.MinimumSize = size; size = new System.Drawing.Size(0x35, 0x17); this.label1KONTODOPIDKONTO.Size = size; point = new System.Drawing.Point(0, 0); this.comboKONTODOPIDKONTO.Location = point; this.comboKONTODOPIDKONTO.Name = "comboKONTODOPIDKONTO"; this.comboKONTODOPIDKONTO.Tag = "KONTODOPIDKONTO"; this.comboKONTODOPIDKONTO.TabIndex = 0; this.comboKONTODOPIDKONTO.Anchor = AnchorStyles.Left; this.comboKONTODOPIDKONTO.MouseEnter += new EventHandler(this.mouseEnter_Text); this.comboKONTODOPIDKONTO.DropDownStyle = DropDownStyle.DropDown; this.comboKONTODOPIDKONTO.ComboBox.DropDownStyle = DropDownStyle.DropDown; this.comboKONTODOPIDKONTO.ComboBox.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.Suggest; this.comboKONTODOPIDKONTO.Enabled = true; this.comboKONTODOPIDKONTO.DataBindings.Add(new Binding("Value", this.bindingSourceSHEMAPLACASHEMAPLACADOP, "KONTODOPIDKONTO")); this.comboKONTODOPIDKONTO.ShowPictureBox = true; this.comboKONTODOPIDKONTO.PictureBoxClicked += new EventHandler(this.PictureBoxClickedKONTODOPIDKONTO); this.comboKONTODOPIDKONTO.ValueMember = "IDKONTO"; this.comboKONTODOPIDKONTO.SelectionChanged += new EventHandler(this.SelectedIndexChangedKONTODOPIDKONTO); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.Controls.Add(this.comboKONTODOPIDKONTO, 1, 1); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetColumnSpan(this.comboKONTODOPIDKONTO, 1); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetRowSpan(this.comboKONTODOPIDKONTO, 1); padding = new Padding(0, 1, 3, 2); this.comboKONTODOPIDKONTO.Margin = padding; size = new System.Drawing.Size(0x268, 0x17); this.comboKONTODOPIDKONTO.MinimumSize = size; size = new System.Drawing.Size(0x268, 0x17); this.comboKONTODOPIDKONTO.Size = size; point = new System.Drawing.Point(0, 0); this.label1MTDOPIDMJESTOTROSKA.Location = point; this.label1MTDOPIDMJESTOTROSKA.Name = "label1MTDOPIDMJESTOTROSKA"; this.label1MTDOPIDMJESTOTROSKA.TabIndex = 1; this.label1MTDOPIDMJESTOTROSKA.Tag = "labelMTDOPIDMJESTOTROSKA"; this.label1MTDOPIDMJESTOTROSKA.Text = "Mjesto troška:"; this.label1MTDOPIDMJESTOTROSKA.StyleSetName = "FieldUltraLabel"; this.label1MTDOPIDMJESTOTROSKA.AutoSize = true; this.label1MTDOPIDMJESTOTROSKA.Anchor = AnchorStyles.Left; this.label1MTDOPIDMJESTOTROSKA.Appearance.TextVAlign = VAlign.Middle; this.label1MTDOPIDMJESTOTROSKA.Appearance.ForeColor = Color.Black; this.label1MTDOPIDMJESTOTROSKA.BackColor = Color.Transparent; this.layoutManagerformSHEMAPLACASHEMAPLACADOP.Controls.Add(this.label1MTDOPIDMJESTOTROSKA, 0, 2); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetColumnSpan(this.label1MTDOPIDMJESTOTROSKA, 1); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetRowSpan(this.label1MTDOPIDMJESTOTROSKA, 1); padding = new Padding(3, 1, 5, 2); this.label1MTDOPIDMJESTOTROSKA.Margin = padding; size = new System.Drawing.Size(0, 0); this.label1MTDOPIDMJESTOTROSKA.MinimumSize = size; size = new System.Drawing.Size(0x68, 0x17); this.label1MTDOPIDMJESTOTROSKA.Size = size; point = new System.Drawing.Point(0, 0); this.comboMTDOPIDMJESTOTROSKA.Location = point; this.comboMTDOPIDMJESTOTROSKA.Name = "comboMTDOPIDMJESTOTROSKA"; this.comboMTDOPIDMJESTOTROSKA.Tag = "MTDOPIDMJESTOTROSKA"; this.comboMTDOPIDMJESTOTROSKA.TabIndex = 0; this.comboMTDOPIDMJESTOTROSKA.Anchor = AnchorStyles.Left; this.comboMTDOPIDMJESTOTROSKA.MouseEnter += new EventHandler(this.mouseEnter_Text); this.comboMTDOPIDMJESTOTROSKA.DropDownStyle = DropDownStyle.DropDown; this.comboMTDOPIDMJESTOTROSKA.ComboBox.DropDownStyle = DropDownStyle.DropDown; this.comboMTDOPIDMJESTOTROSKA.ComboBox.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.Suggest; this.comboMTDOPIDMJESTOTROSKA.Enabled = true; this.comboMTDOPIDMJESTOTROSKA.DataBindings.Add(new Binding("Value", this.bindingSourceSHEMAPLACASHEMAPLACADOP, "MTDOPIDMJESTOTROSKA")); this.comboMTDOPIDMJESTOTROSKA.ShowPictureBox = true; this.comboMTDOPIDMJESTOTROSKA.PictureBoxClicked += new EventHandler(this.PictureBoxClickedMTDOPIDMJESTOTROSKA); this.comboMTDOPIDMJESTOTROSKA.ValueMember = "IDMJESTOTROSKA"; this.comboMTDOPIDMJESTOTROSKA.SelectionChanged += new EventHandler(this.SelectedIndexChangedMTDOPIDMJESTOTROSKA); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.Controls.Add(this.comboMTDOPIDMJESTOTROSKA, 1, 2); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetColumnSpan(this.comboMTDOPIDMJESTOTROSKA, 1); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetRowSpan(this.comboMTDOPIDMJESTOTROSKA, 1); padding = new Padding(0, 1, 3, 2); this.comboMTDOPIDMJESTOTROSKA.Margin = padding; size = new System.Drawing.Size(0x268, 0x17); this.comboMTDOPIDMJESTOTROSKA.MinimumSize = size; size = new System.Drawing.Size(0x268, 0x17); this.comboMTDOPIDMJESTOTROSKA.Size = size; point = new System.Drawing.Point(0, 0); this.label1STRANEDOPIDSTRANEKNJIZENJA.Location = point; this.label1STRANEDOPIDSTRANEKNJIZENJA.Name = "label1STRANEDOPIDSTRANEKNJIZENJA"; this.label1STRANEDOPIDSTRANEKNJIZENJA.TabIndex = 1; this.label1STRANEDOPIDSTRANEKNJIZENJA.Tag = "labelSTRANEDOPIDSTRANEKNJIZENJA"; this.label1STRANEDOPIDSTRANEKNJIZENJA.Text = "Strana knjiženja:"; this.label1STRANEDOPIDSTRANEKNJIZENJA.StyleSetName = "FieldUltraLabel"; this.label1STRANEDOPIDSTRANEKNJIZENJA.AutoSize = true; this.label1STRANEDOPIDSTRANEKNJIZENJA.Anchor = AnchorStyles.Left; this.label1STRANEDOPIDSTRANEKNJIZENJA.Appearance.TextVAlign = VAlign.Middle; this.label1STRANEDOPIDSTRANEKNJIZENJA.Appearance.ForeColor = Color.Black; this.label1STRANEDOPIDSTRANEKNJIZENJA.BackColor = Color.Transparent; this.layoutManagerformSHEMAPLACASHEMAPLACADOP.Controls.Add(this.label1STRANEDOPIDSTRANEKNJIZENJA, 0, 3); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetColumnSpan(this.label1STRANEDOPIDSTRANEKNJIZENJA, 1); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetRowSpan(this.label1STRANEDOPIDSTRANEKNJIZENJA, 1); padding = new Padding(3, 1, 5, 2); this.label1STRANEDOPIDSTRANEKNJIZENJA.Margin = padding; size = new System.Drawing.Size(0, 0); this.label1STRANEDOPIDSTRANEKNJIZENJA.MinimumSize = size; size = new System.Drawing.Size(0x79, 0x17); this.label1STRANEDOPIDSTRANEKNJIZENJA.Size = size; point = new System.Drawing.Point(0, 0); this.comboSTRANEDOPIDSTRANEKNJIZENJA.Location = point; this.comboSTRANEDOPIDSTRANEKNJIZENJA.Name = "comboSTRANEDOPIDSTRANEKNJIZENJA"; this.comboSTRANEDOPIDSTRANEKNJIZENJA.Tag = "STRANEDOPIDSTRANEKNJIZENJA"; this.comboSTRANEDOPIDSTRANEKNJIZENJA.TabIndex = 0; this.comboSTRANEDOPIDSTRANEKNJIZENJA.Anchor = AnchorStyles.Left; this.comboSTRANEDOPIDSTRANEKNJIZENJA.MouseEnter += new EventHandler(this.mouseEnter_Text); this.comboSTRANEDOPIDSTRANEKNJIZENJA.DropDownStyle = DropDownStyle.DropDown; this.comboSTRANEDOPIDSTRANEKNJIZENJA.ComboBox.DropDownStyle = DropDownStyle.DropDown; this.comboSTRANEDOPIDSTRANEKNJIZENJA.ComboBox.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.Suggest; this.comboSTRANEDOPIDSTRANEKNJIZENJA.Enabled = true; this.comboSTRANEDOPIDSTRANEKNJIZENJA.DataBindings.Add(new Binding("Value", this.bindingSourceSHEMAPLACASHEMAPLACADOP, "STRANEDOPIDSTRANEKNJIZENJA")); this.comboSTRANEDOPIDSTRANEKNJIZENJA.ShowPictureBox = true; this.comboSTRANEDOPIDSTRANEKNJIZENJA.PictureBoxClicked += new EventHandler(this.PictureBoxClickedSTRANEDOPIDSTRANEKNJIZENJA); this.comboSTRANEDOPIDSTRANEKNJIZENJA.ValueMember = "IDSTRANEKNJIZENJA"; this.comboSTRANEDOPIDSTRANEKNJIZENJA.SelectionChanged += new EventHandler(this.SelectedIndexChangedSTRANEDOPIDSTRANEKNJIZENJA); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.Controls.Add(this.comboSTRANEDOPIDSTRANEKNJIZENJA, 1, 3); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetColumnSpan(this.comboSTRANEDOPIDSTRANEKNJIZENJA, 1); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetRowSpan(this.comboSTRANEDOPIDSTRANEKNJIZENJA, 1); padding = new Padding(0, 1, 3, 2); this.comboSTRANEDOPIDSTRANEKNJIZENJA.Margin = padding; size = new System.Drawing.Size(0x10a, 0x17); this.comboSTRANEDOPIDSTRANEKNJIZENJA.MinimumSize = size; size = new System.Drawing.Size(0x10a, 0x17); this.comboSTRANEDOPIDSTRANEKNJIZENJA.Size = size; point = new System.Drawing.Point(0, 0); this.label1SHEMAPLDOPNAZIVDOPRINOS.Location = point; this.label1SHEMAPLDOPNAZIVDOPRINOS.Name = "label1SHEMAPLDOPNAZIVDOPRINOS"; this.label1SHEMAPLDOPNAZIVDOPRINOS.TabIndex = 1; this.label1SHEMAPLDOPNAZIVDOPRINOS.Tag = "labelSHEMAPLDOPNAZIVDOPRINOS"; this.label1SHEMAPLDOPNAZIVDOPRINOS.Text = "Naziv doprinosa:"; this.label1SHEMAPLDOPNAZIVDOPRINOS.StyleSetName = "FieldUltraLabel"; this.label1SHEMAPLDOPNAZIVDOPRINOS.AutoSize = true; this.label1SHEMAPLDOPNAZIVDOPRINOS.Anchor = AnchorStyles.Left; this.label1SHEMAPLDOPNAZIVDOPRINOS.Appearance.TextVAlign = VAlign.Middle; this.label1SHEMAPLDOPNAZIVDOPRINOS.Appearance.ForeColor = Color.Black; this.label1SHEMAPLDOPNAZIVDOPRINOS.BackColor = Color.Transparent; this.layoutManagerformSHEMAPLACASHEMAPLACADOP.Controls.Add(this.label1SHEMAPLDOPNAZIVDOPRINOS, 0, 4); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetColumnSpan(this.label1SHEMAPLDOPNAZIVDOPRINOS, 1); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetRowSpan(this.label1SHEMAPLDOPNAZIVDOPRINOS, 1); padding = new Padding(3, 1, 5, 2); this.label1SHEMAPLDOPNAZIVDOPRINOS.Margin = padding; size = new System.Drawing.Size(0, 0); this.label1SHEMAPLDOPNAZIVDOPRINOS.MinimumSize = size; size = new System.Drawing.Size(0x77, 0x17); this.label1SHEMAPLDOPNAZIVDOPRINOS.Size = size; point = new System.Drawing.Point(0, 0); this.labelSHEMAPLDOPNAZIVDOPRINOS.Location = point; this.labelSHEMAPLDOPNAZIVDOPRINOS.Name = "labelSHEMAPLDOPNAZIVDOPRINOS"; this.labelSHEMAPLDOPNAZIVDOPRINOS.Tag = "SHEMAPLDOPNAZIVDOPRINOS"; this.labelSHEMAPLDOPNAZIVDOPRINOS.TabIndex = 0; this.labelSHEMAPLDOPNAZIVDOPRINOS.Anchor = AnchorStyles.Left; this.labelSHEMAPLDOPNAZIVDOPRINOS.BackColor = Color.Transparent; this.labelSHEMAPLDOPNAZIVDOPRINOS.DataBindings.Add(new Binding("Text", this.bindingSourceSHEMAPLACASHEMAPLACADOP, "SHEMAPLDOPNAZIVDOPRINOS")); this.labelSHEMAPLDOPNAZIVDOPRINOS.Appearance.TextVAlign = VAlign.Middle; this.layoutManagerformSHEMAPLACASHEMAPLACADOP.Controls.Add(this.labelSHEMAPLDOPNAZIVDOPRINOS, 1, 4); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetColumnSpan(this.labelSHEMAPLDOPNAZIVDOPRINOS, 1); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.SetRowSpan(this.labelSHEMAPLDOPNAZIVDOPRINOS, 1); padding = new Padding(0, 1, 3, 2); this.labelSHEMAPLDOPNAZIVDOPRINOS.Margin = padding; size = new System.Drawing.Size(0x16e, 0x16); this.labelSHEMAPLDOPNAZIVDOPRINOS.MinimumSize = size; size = new System.Drawing.Size(0x16e, 0x16); this.labelSHEMAPLDOPNAZIVDOPRINOS.Size = size; this.Controls.Add(this.layoutManagerformSHEMAPLACASHEMAPLACADOP); 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.bindingSourceSHEMAPLACASHEMAPLACADOP; this.errorProviderValidator1.ErrorProvider = this.errorProvider1; this.Name = "SHEMAPLACAFormSHEMAPLACASHEMAPLACADOPUserControl"; this.Text = " Doprinosi"; this.AutoSize = true; this.AutoScroll = true; this.Load += new EventHandler(this.SHEMAPLACAFormUserControl_Load); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.ResumeLayout(false); this.layoutManagerformSHEMAPLACASHEMAPLACADOP.PerformLayout(); ((ISupportInitialize)this.bindingSourceSHEMAPLACASHEMAPLACADOP).EndInit(); ((ISupportInitialize)this.textSHEMAPLDOPIDDOPRINOS).EndInit(); this.dsSHEMAPLACADataSet1.EndInit(); this.ResumeLayout(false); this.PerformLayout(); }