public void SetvrstaelementaNull() { this[this.tabledtRekap.vrstaelementaColumn] = RuntimeHelpers.GetObjectValue(Convert.DBNull); }
public void SetOCClienteNull() { this[this.tablePC1TmpRegPedExp.OCClienteColumn] = RuntimeHelpers.GetObjectValue(Convert.DBNull); }
public void ListTable(ref int rlngIdx) { mobjAcadLineTypes = mobjAcadDatabase.Linetypes; if (mobjAcadLineTypes != null) { InternAddToDictLine(ref rlngIdx, 0, "TABLE"); mlngTblBeg = rlngIdx; AcadLineTypes acadLineTypes = mobjAcadLineTypes; InternAddToDictLine(ref rlngIdx, 2, acadLineTypes.DXFName); InternAddToDictLine(ref rlngIdx, 5, acadLineTypes.Handle); hwpDxf_List.BkDXFList_XDictionary((Dictionary <object, object>)acadLineTypes.DictXDictionaries, ref rlngIdx, ref mobjDictReadCodes, ref mobjDictReadValues); InternAddToDictLine(ref rlngIdx, 330, acadLineTypes.OwnerID); InternAddToDictLine(ref rlngIdx, 100, acadLineTypes.SuperiorObjectName); InternAddToDictLine(ref rlngIdx, 70, acadLineTypes.Count); object dvarXDataType = default(object); object dvarXDataValue = default(object); acadLineTypes.GetXData(null, ref dvarXDataType, ref dvarXDataValue); hwpDxf_List.BkDXFList_XData(RuntimeHelpers.GetObjectValue(dvarXDataType), RuntimeHelpers.GetObjectValue(dvarXDataValue), ref rlngIdx, ref mobjDictReadCodes, ref mobjDictReadValues); acadLineTypes = null; InternListTable(ref rlngIdx); mlngTblEnd = rlngIdx; InternAddToDictLine(ref rlngIdx, 0, "ENDTAB"); } }
public void SetFormaDespNull() { this[this.tablePC1TmpRegPedExp.FormaDespColumn] = RuntimeHelpers.GetObjectValue(Convert.DBNull); }
public void SetMontoOVNull() { this[this.tablePC1TmpRegPedExp.MontoOVColumn] = RuntimeHelpers.GetObjectValue(Convert.DBNull); }
public void SetINVBROJNull() { this[this.tableOSRAZMJESTAJ.INVBROJColumn] = RuntimeHelpers.GetObjectValue(Convert.DBNull); }
public override bool Equals(object o) { return(this.Equals(RuntimeHelpers.GetObjectValue(o))); }
private void SelectedIndexChangedIDGRUPEKOEF(object sender, EventArgs e) { if ((this.m_BaseMethods != null) && (this.comboIDGRUPEKOEF.SelectedItem != null)) { DataRow row = ((DataRowView)this.comboIDGRUPEKOEF.SelectedItem.ListObject).Row; if (row != null) { ((DataRowView)this.bindingSourceRADNIKLevel7.Current).Row["IDGRUPEKOEF"] = RuntimeHelpers.GetObjectValue(row["IDGRUPEKOEF"]); ((DataRowView)this.bindingSourceRADNIKLevel7.Current).Row["NAZIVGRUPEKOEF"] = RuntimeHelpers.GetObjectValue(row["NAZIVGRUPEKOEF"]); this.bindingSourceRADNIKLevel7.ResetCurrentItem(); } } }
private void CellChanged(object sender, EventArgs e) { this.m_BaseMethods.CellChangedBase(this.dsRADNIKDataSet1, RuntimeHelpers.GetObjectValue(sender)); }
public AcadPolygonMeshVertex AppendVertex(object vvarVertex, string nvstrHandle = null) { string dstrErrMsg = default(string); AcadPolygonMeshVertex AppendVertex = default(AcadPolygonMeshVertex); AcadPolygonMeshVertex dobjAcadPolygonMeshVertex2; if (!hwpDxf_Functions.BkDXF_CheckVariantForArrayReal(RuntimeHelpers.GetObjectValue(vvarVertex), 0, 2, ref dstrErrMsg)) { Information.Err().Raise(50000, "AcadPolygonMesh", dstrErrMsg); } else { double ddblObjectID = (Operators.CompareString(nvstrHandle, null, TextCompare: false) != 0) ? hwpDxf_Functions.BkDXF_HexToDbl(nvstrHandle) : base.Database.FriendGetNextObjectID; object dvar3DVertex = RuntimeHelpers.GetObjectValue(InternCreate3DVertex(RuntimeHelpers.GetObjectValue(NewLateBinding.LateIndexGet(vvarVertex, new object[1] { 0 }, null)), RuntimeHelpers.GetObjectValue(NewLateBinding.LateIndexGet(vvarVertex, new object[1] { 1 }, null)), RuntimeHelpers.GetObjectValue(NewLateBinding.LateIndexGet(vvarVertex, new object[1] { 2 }, null)), mobjDictVertices.Count == 0)); dobjAcadPolygonMeshVertex2 = FriendAppendVertex(ddblObjectID, RuntimeHelpers.GetObjectValue(dvar3DVertex), ref dstrErrMsg); if (dobjAcadPolygonMeshVertex2 == null) { Information.Err().Raise(50000, "AcadPolygonMesh", "Der Kontrollpunkt konnte nicht hinzugefügt werden.\n" + dstrErrMsg); } else { AppendVertex = dobjAcadPolygonMeshVertex2; } } dobjAcadPolygonMeshVertex2 = null; return(AppendVertex); }
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(); }
private void dgv1_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e) { Button1_Click(RuntimeHelpers.GetObjectValue(sender), e); }
public void SetOBRACUNATONull() { this[this.tableS_OD_OBUSTAVA_OBRACUNATA.OBRACUNATOColumn] = RuntimeHelpers.GetObjectValue(Convert.DBNull); }
public void InitClass() { this.columnOBRACUNATO = new DataColumn("OBRACUNATO", typeof(decimal), "", MappingType.Element); this.columnOBRACUNATO.Caption = "Obračunato"; this.columnOBRACUNATO.DefaultValue = RuntimeHelpers.GetObjectValue(Convert.DBNull); this.columnOBRACUNATO.ExtendedProperties.Add("Deklarit.WinGridFormat", ""); this.columnOBRACUNATO.ExtendedProperties.Add("Deklarit.WinInputMask", ""); this.columnOBRACUNATO.ExtendedProperties.Add("Deklarit.RelevantData", "false"); this.columnOBRACUNATO.ExtendedProperties.Add("IsKey", "false"); this.columnOBRACUNATO.ExtendedProperties.Add("ReadOnly", "true"); this.columnOBRACUNATO.ExtendedProperties.Add("DeklaritType", "int"); this.columnOBRACUNATO.ExtendedProperties.Add("Description", "Obračunato"); this.columnOBRACUNATO.ExtendedProperties.Add("Length", "12"); this.columnOBRACUNATO.ExtendedProperties.Add("Decimals", "2"); this.columnOBRACUNATO.ExtendedProperties.Add("IsDomainAttribute", "true"); this.columnOBRACUNATO.ExtendedProperties.Add("DomainType", "VELIKIIZNOSI"); this.columnOBRACUNATO.ExtendedProperties.Add("AllowDBNulls", "true"); this.columnOBRACUNATO.ExtendedProperties.Add("IsInReader", "true"); this.columnOBRACUNATO.ExtendedProperties.Add("Deklarit.Casing", "default"); this.columnOBRACUNATO.ExtendedProperties.Add("Deklarit.IsPassword", "false"); this.columnOBRACUNATO.ExtendedProperties.Add("Deklarit.InternalName", "OBRACUNATO"); this.Columns.Add(this.columnOBRACUNATO); this.columnIDOBUSTAVA = new DataColumn("IDOBUSTAVA", typeof(int), "", MappingType.Element); this.columnIDOBUSTAVA.Caption = "Šifra obustave"; this.columnIDOBUSTAVA.DefaultValue = RuntimeHelpers.GetObjectValue(Convert.DBNull); this.columnIDOBUSTAVA.ExtendedProperties.Add("Deklarit.WinGridFormat", ""); this.columnIDOBUSTAVA.ExtendedProperties.Add("Deklarit.WinInputMask", ""); this.columnIDOBUSTAVA.ExtendedProperties.Add("Deklarit.RelevantData", "false"); this.columnIDOBUSTAVA.ExtendedProperties.Add("IsKey", "false"); this.columnIDOBUSTAVA.ExtendedProperties.Add("ReadOnly", "true"); this.columnIDOBUSTAVA.ExtendedProperties.Add("DeklaritType", "int"); this.columnIDOBUSTAVA.ExtendedProperties.Add("Description", "Šifra obustave"); this.columnIDOBUSTAVA.ExtendedProperties.Add("Length", "8"); this.columnIDOBUSTAVA.ExtendedProperties.Add("Decimals", "0"); this.columnIDOBUSTAVA.ExtendedProperties.Add("AllowDBNulls", "true"); this.columnIDOBUSTAVA.ExtendedProperties.Add("IsInReader", "true"); this.columnIDOBUSTAVA.ExtendedProperties.Add("Deklarit.Casing", "default"); this.columnIDOBUSTAVA.ExtendedProperties.Add("Deklarit.IsPassword", "false"); this.columnIDOBUSTAVA.ExtendedProperties.Add("Deklarit.InternalName", "IDOBUSTAVA"); this.Columns.Add(this.columnIDOBUSTAVA); this.columnIDRADNIK = new DataColumn("IDRADNIK", typeof(int), "", MappingType.Element); this.columnIDRADNIK.Caption = "Šifra radnika"; this.columnIDRADNIK.DefaultValue = RuntimeHelpers.GetObjectValue(Convert.DBNull); this.columnIDRADNIK.ExtendedProperties.Add("Deklarit.IsDescription", "false"); this.columnIDRADNIK.ExtendedProperties.Add("Deklarit.IsVisibleOnForm", "true"); this.columnIDRADNIK.ExtendedProperties.Add("Deklarit.IsVisibleOnWorkWith", "true"); this.columnIDRADNIK.ExtendedProperties.Add("Deklarit.WinGridFormat", ""); this.columnIDRADNIK.ExtendedProperties.Add("Deklarit.WinInputMask", ""); this.columnIDRADNIK.ExtendedProperties.Add("Deklarit.RelevantData", "false"); this.columnIDRADNIK.ExtendedProperties.Add("IsKey", "false"); this.columnIDRADNIK.ExtendedProperties.Add("ReadOnly", "true"); this.columnIDRADNIK.ExtendedProperties.Add("DeklaritType", "int"); this.columnIDRADNIK.ExtendedProperties.Add("Description", "Šifra radnika"); this.columnIDRADNIK.ExtendedProperties.Add("Length", "8"); this.columnIDRADNIK.ExtendedProperties.Add("Decimals", "0"); this.columnIDRADNIK.ExtendedProperties.Add("AllowDBNulls", "true"); this.columnIDRADNIK.ExtendedProperties.Add("IsInReader", "true"); this.columnIDRADNIK.ExtendedProperties.Add("Deklarit.Casing", "default"); this.columnIDRADNIK.ExtendedProperties.Add("Deklarit.IsPassword", "false"); this.columnIDRADNIK.ExtendedProperties.Add("Deklarit.InternalName", "IDRADNIK"); this.Columns.Add(this.columnIDRADNIK); this.ExtendedProperties.Add("ParentLvl", ""); this.ExtendedProperties.Add("LevelName", "S_OD_OBUSTAVA_OBRACUNATA"); this.ExtendedProperties.Add("Description", "_S_OD_OBUSTAVA_OBRACUNATA"); this.ExtendedProperties.Add("HasOrder", "false"); this.ExtendedProperties.Add("OrderAttributes", ""); this.ExtendedProperties.Add("Deklarit.NumberOfRows", "0"); }
public void InitClass() { this.columnIDOSRAZMJESTAJ = new DataColumn("IDOSRAZMJESTAJ", typeof(Guid), "", MappingType.Element); this.columnIDOSRAZMJESTAJ.AllowDBNull = false; this.columnIDOSRAZMJESTAJ.Caption = "IDOSRAZMJESTAJ"; this.columnIDOSRAZMJESTAJ.Unique = true; this.columnIDOSRAZMJESTAJ.DefaultValue = RuntimeHelpers.GetObjectValue(Convert.DBNull); this.columnIDOSRAZMJESTAJ.ExtendedProperties.Add("Deklarit.IsDescription", "false"); this.columnIDOSRAZMJESTAJ.ExtendedProperties.Add("Deklarit.IsVisibleOnForm", "true"); this.columnIDOSRAZMJESTAJ.ExtendedProperties.Add("Deklarit.IsVisibleOnWorkWith", "true"); this.columnIDOSRAZMJESTAJ.ExtendedProperties.Add("Deklarit.WinGridFormat", ""); this.columnIDOSRAZMJESTAJ.ExtendedProperties.Add("Deklarit.WinInputMask", ""); this.columnIDOSRAZMJESTAJ.ExtendedProperties.Add("AutoGenerated", "true"); this.columnIDOSRAZMJESTAJ.ExtendedProperties.Add("IsKey", "true"); this.columnIDOSRAZMJESTAJ.ExtendedProperties.Add("ReadOnly", "false"); this.columnIDOSRAZMJESTAJ.ExtendedProperties.Add("DeklaritType", "guid"); this.columnIDOSRAZMJESTAJ.ExtendedProperties.Add("Description", "IDOSRAZMJESTAJ"); this.columnIDOSRAZMJESTAJ.ExtendedProperties.Add("Length", "32"); this.columnIDOSRAZMJESTAJ.ExtendedProperties.Add("Decimals", "0"); this.columnIDOSRAZMJESTAJ.ExtendedProperties.Add("AllowDBNulls", "false"); this.columnIDOSRAZMJESTAJ.ExtendedProperties.Add("IsInReader", "true"); this.columnIDOSRAZMJESTAJ.ExtendedProperties.Add("Deklarit.Casing", "default"); this.columnIDOSRAZMJESTAJ.ExtendedProperties.Add("Deklarit.IsPassword", "false"); this.columnIDOSRAZMJESTAJ.ExtendedProperties.Add("Deklarit.InternalName", "IDOSRAZMJESTAJ"); this.Columns.Add(this.columnIDOSRAZMJESTAJ); this.columnIDLOKACIJE = new DataColumn("IDLOKACIJE", typeof(int), "", MappingType.Element); this.columnIDLOKACIJE.AllowDBNull = false; this.columnIDLOKACIJE.Caption = "Šif.lok."; this.columnIDLOKACIJE.DefaultValue = RuntimeHelpers.GetObjectValue(Convert.DBNull); this.columnIDLOKACIJE.ExtendedProperties.Add("Deklarit.IsDescription", "false"); this.columnIDLOKACIJE.ExtendedProperties.Add("Deklarit.IsVisibleOnForm", "true"); this.columnIDLOKACIJE.ExtendedProperties.Add("Deklarit.IsVisibleOnWorkWith", "true"); this.columnIDLOKACIJE.ExtendedProperties.Add("Deklarit.WinGridFormat", ""); this.columnIDLOKACIJE.ExtendedProperties.Add("Deklarit.WinInputMask", ""); this.columnIDLOKACIJE.ExtendedProperties.Add("IsKey", "false"); this.columnIDLOKACIJE.ExtendedProperties.Add("ReadOnly", "false"); this.columnIDLOKACIJE.ExtendedProperties.Add("DeklaritType", "int"); this.columnIDLOKACIJE.ExtendedProperties.Add("Description", "Lokacija"); this.columnIDLOKACIJE.ExtendedProperties.Add("Length", "5"); this.columnIDLOKACIJE.ExtendedProperties.Add("Decimals", "0"); this.columnIDLOKACIJE.ExtendedProperties.Add("AllowDBNulls", "false"); this.columnIDLOKACIJE.ExtendedProperties.Add("IsInReader", "true"); this.columnIDLOKACIJE.ExtendedProperties.Add("Deklarit.Casing", "default"); this.columnIDLOKACIJE.ExtendedProperties.Add("Deklarit.IsPassword", "false"); this.columnIDLOKACIJE.ExtendedProperties.Add("Deklarit.InternalName", "IDLOKACIJE"); this.Columns.Add(this.columnIDLOKACIJE); this.columnINVBROJ = new DataColumn("INVBROJ", typeof(long), "", MappingType.Element); this.columnINVBROJ.AllowDBNull = false; this.columnINVBROJ.Caption = "Inventarni broj"; this.columnINVBROJ.DefaultValue = RuntimeHelpers.GetObjectValue(Convert.DBNull); this.columnINVBROJ.ExtendedProperties.Add("Deklarit.IsDescription", "false"); this.columnINVBROJ.ExtendedProperties.Add("Deklarit.IsVisibleOnForm", "true"); this.columnINVBROJ.ExtendedProperties.Add("Deklarit.IsVisibleOnWorkWith", "true"); this.columnINVBROJ.ExtendedProperties.Add("Deklarit.WinGridFormat", ""); this.columnINVBROJ.ExtendedProperties.Add("Deklarit.WinInputMask", ""); this.columnINVBROJ.ExtendedProperties.Add("IsKey", "false"); this.columnINVBROJ.ExtendedProperties.Add("ReadOnly", "false"); this.columnINVBROJ.ExtendedProperties.Add("DeklaritType", "int"); this.columnINVBROJ.ExtendedProperties.Add("Description", "Inventarni broj"); this.columnINVBROJ.ExtendedProperties.Add("Length", "12"); this.columnINVBROJ.ExtendedProperties.Add("Decimals", "0"); this.columnINVBROJ.ExtendedProperties.Add("AllowDBNulls", "false"); this.columnINVBROJ.ExtendedProperties.Add("IsInReader", "true"); this.columnINVBROJ.ExtendedProperties.Add("Deklarit.Casing", "default"); this.columnINVBROJ.ExtendedProperties.Add("Deklarit.IsPassword", "false"); this.columnINVBROJ.ExtendedProperties.Add("Deklarit.InternalName", "INVBROJ"); this.Columns.Add(this.columnINVBROJ); this.columnKOLICINAULAZA = new DataColumn("KOLICINAULAZA", typeof(decimal), "", MappingType.Element); this.columnKOLICINAULAZA.AllowDBNull = false; this.columnKOLICINAULAZA.Caption = "KOLICINAULAZA"; this.columnKOLICINAULAZA.DefaultValue = RuntimeHelpers.GetObjectValue(Convert.DBNull); this.columnKOLICINAULAZA.ExtendedProperties.Add("Deklarit.IsDescription", "false"); this.columnKOLICINAULAZA.ExtendedProperties.Add("Deklarit.IsVisibleOnForm", "true"); this.columnKOLICINAULAZA.ExtendedProperties.Add("Deklarit.IsVisibleOnWorkWith", "true"); this.columnKOLICINAULAZA.ExtendedProperties.Add("Deklarit.WinGridFormat", ""); this.columnKOLICINAULAZA.ExtendedProperties.Add("Deklarit.WinInputMask", ""); this.columnKOLICINAULAZA.ExtendedProperties.Add("IsKey", "false"); this.columnKOLICINAULAZA.ExtendedProperties.Add("ReadOnly", "false"); this.columnKOLICINAULAZA.ExtendedProperties.Add("DeklaritType", "int"); this.columnKOLICINAULAZA.ExtendedProperties.Add("Description", "Količina ulaza"); this.columnKOLICINAULAZA.ExtendedProperties.Add("Length", "12"); this.columnKOLICINAULAZA.ExtendedProperties.Add("Decimals", "2"); this.columnKOLICINAULAZA.ExtendedProperties.Add("IsDomainAttribute", "true"); this.columnKOLICINAULAZA.ExtendedProperties.Add("DomainType", "VELIKIIZNOSI"); this.columnKOLICINAULAZA.ExtendedProperties.Add("AllowDBNulls", "false"); this.columnKOLICINAULAZA.ExtendedProperties.Add("IsInReader", "true"); this.columnKOLICINAULAZA.ExtendedProperties.Add("Deklarit.Casing", "default"); this.columnKOLICINAULAZA.ExtendedProperties.Add("Deklarit.IsPassword", "false"); this.columnKOLICINAULAZA.ExtendedProperties.Add("Deklarit.InternalName", "KOLICINAULAZA"); this.Columns.Add(this.columnKOLICINAULAZA); this.columnKOLICINARASHODA = new DataColumn("KOLICINARASHODA", typeof(decimal), "", MappingType.Element); this.columnKOLICINARASHODA.AllowDBNull = false; this.columnKOLICINARASHODA.Caption = "KOLICINARASHODA"; this.columnKOLICINARASHODA.DefaultValue = RuntimeHelpers.GetObjectValue(Convert.DBNull); this.columnKOLICINARASHODA.ExtendedProperties.Add("Deklarit.IsDescription", "false"); this.columnKOLICINARASHODA.ExtendedProperties.Add("Deklarit.IsVisibleOnForm", "true"); this.columnKOLICINARASHODA.ExtendedProperties.Add("Deklarit.IsVisibleOnWorkWith", "true"); this.columnKOLICINARASHODA.ExtendedProperties.Add("Deklarit.WinGridFormat", ""); this.columnKOLICINARASHODA.ExtendedProperties.Add("Deklarit.WinInputMask", ""); this.columnKOLICINARASHODA.ExtendedProperties.Add("IsKey", "false"); this.columnKOLICINARASHODA.ExtendedProperties.Add("ReadOnly", "false"); this.columnKOLICINARASHODA.ExtendedProperties.Add("DeklaritType", "int"); this.columnKOLICINARASHODA.ExtendedProperties.Add("Description", "Količina rashoda"); this.columnKOLICINARASHODA.ExtendedProperties.Add("Length", "12"); this.columnKOLICINARASHODA.ExtendedProperties.Add("Decimals", "2"); this.columnKOLICINARASHODA.ExtendedProperties.Add("IsDomainAttribute", "true"); this.columnKOLICINARASHODA.ExtendedProperties.Add("DomainType", "VELIKIIZNOSI"); this.columnKOLICINARASHODA.ExtendedProperties.Add("AllowDBNulls", "false"); this.columnKOLICINARASHODA.ExtendedProperties.Add("IsInReader", "true"); this.columnKOLICINARASHODA.ExtendedProperties.Add("Deklarit.Casing", "default"); this.columnKOLICINARASHODA.ExtendedProperties.Add("Deklarit.IsPassword", "false"); this.columnKOLICINARASHODA.ExtendedProperties.Add("Deklarit.InternalName", "KOLICINARASHODA"); this.Columns.Add(this.columnKOLICINARASHODA); this.PrimaryKey = new DataColumn[] { this.columnIDOSRAZMJESTAJ }; this.ExtendedProperties.Add("ParentLvl", ""); this.ExtendedProperties.Add("LevelName", "OSRAZMJESTAJ"); this.ExtendedProperties.Add("Description", "OSRAZMJESTAJ"); this.ExtendedProperties.Add("msprop:AllowInsert", "true"); this.ExtendedProperties.Add("msprop:AllowUpdate", "true"); this.ExtendedProperties.Add("msprop:AllowDelete", "true"); this.ExtendedProperties.Add("Deklarit.DefaultSortString", ""); this.ExtendedProperties.Add("Deklarit.EditInDataGrid", "True"); }
public void InitClass() { this.columnFINPOREZIDPOREZ = new DataColumn("FINPOREZIDPOREZ", typeof(int), "", MappingType.Element); this.columnFINPOREZIDPOREZ.AllowDBNull = false; this.columnFINPOREZIDPOREZ.Caption = "FINPOREZIDPOREZ"; this.columnFINPOREZIDPOREZ.Unique = true; this.columnFINPOREZIDPOREZ.DefaultValue = RuntimeHelpers.GetObjectValue(Convert.DBNull); this.columnFINPOREZIDPOREZ.ExtendedProperties.Add("Deklarit.IsDescription", "false"); this.columnFINPOREZIDPOREZ.ExtendedProperties.Add("Deklarit.IsVisibleOnForm", "true"); this.columnFINPOREZIDPOREZ.ExtendedProperties.Add("Deklarit.IsVisibleOnWorkWith", "true"); this.columnFINPOREZIDPOREZ.ExtendedProperties.Add("Deklarit.WinGridFormat", ""); this.columnFINPOREZIDPOREZ.ExtendedProperties.Add("Deklarit.WinInputMask", ""); this.columnFINPOREZIDPOREZ.ExtendedProperties.Add("IsKey", "true"); this.columnFINPOREZIDPOREZ.ExtendedProperties.Add("ReadOnly", "false"); this.columnFINPOREZIDPOREZ.ExtendedProperties.Add("DeklaritType", "int"); this.columnFINPOREZIDPOREZ.ExtendedProperties.Add("Description", "Šifra"); this.columnFINPOREZIDPOREZ.ExtendedProperties.Add("Length", "5"); this.columnFINPOREZIDPOREZ.ExtendedProperties.Add("Decimals", "0"); this.columnFINPOREZIDPOREZ.ExtendedProperties.Add("AllowDBNulls", "false"); this.columnFINPOREZIDPOREZ.ExtendedProperties.Add("IsInReader", "true"); this.columnFINPOREZIDPOREZ.ExtendedProperties.Add("Deklarit.Casing", "default"); this.columnFINPOREZIDPOREZ.ExtendedProperties.Add("Deklarit.IsPassword", "false"); this.columnFINPOREZIDPOREZ.ExtendedProperties.Add("Deklarit.InternalName", "FINPOREZIDPOREZ"); this.Columns.Add(this.columnFINPOREZIDPOREZ); this.columnFINPOREZNAZIVPOREZ = new DataColumn("FINPOREZNAZIVPOREZ", typeof(string), "", MappingType.Element); this.columnFINPOREZNAZIVPOREZ.AllowDBNull = false; this.columnFINPOREZNAZIVPOREZ.Caption = "FINPOREZNAZIVPOREZ"; this.columnFINPOREZNAZIVPOREZ.MaxLength = 30; this.columnFINPOREZNAZIVPOREZ.DefaultValue = RuntimeHelpers.GetObjectValue(Convert.DBNull); this.columnFINPOREZNAZIVPOREZ.ExtendedProperties.Add("Deklarit.IsDescription", "false"); this.columnFINPOREZNAZIVPOREZ.ExtendedProperties.Add("Deklarit.IsVisibleOnForm", "true"); this.columnFINPOREZNAZIVPOREZ.ExtendedProperties.Add("Deklarit.IsVisibleOnWorkWith", "true"); this.columnFINPOREZNAZIVPOREZ.ExtendedProperties.Add("Deklarit.WinGridFormat", ""); this.columnFINPOREZNAZIVPOREZ.ExtendedProperties.Add("Deklarit.WinInputMask", ""); this.columnFINPOREZNAZIVPOREZ.ExtendedProperties.Add("IsKey", "false"); this.columnFINPOREZNAZIVPOREZ.ExtendedProperties.Add("ReadOnly", "false"); this.columnFINPOREZNAZIVPOREZ.ExtendedProperties.Add("DeklaritType", "svchar"); this.columnFINPOREZNAZIVPOREZ.ExtendedProperties.Add("Description", "Naziv"); this.columnFINPOREZNAZIVPOREZ.ExtendedProperties.Add("Length", "30"); this.columnFINPOREZNAZIVPOREZ.ExtendedProperties.Add("Decimals", "0"); this.columnFINPOREZNAZIVPOREZ.ExtendedProperties.Add("AllowDBNulls", "false"); this.columnFINPOREZNAZIVPOREZ.ExtendedProperties.Add("IsInReader", "true"); this.columnFINPOREZNAZIVPOREZ.ExtendedProperties.Add("Deklarit.Casing", "default"); this.columnFINPOREZNAZIVPOREZ.ExtendedProperties.Add("Deklarit.IsPassword", "false"); this.columnFINPOREZNAZIVPOREZ.ExtendedProperties.Add("Deklarit.InternalName", "FINPOREZNAZIVPOREZ"); this.Columns.Add(this.columnFINPOREZNAZIVPOREZ); this.columnFINPOREZSTOPA = new DataColumn("FINPOREZSTOPA", typeof(decimal), "", MappingType.Element); this.columnFINPOREZSTOPA.AllowDBNull = false; this.columnFINPOREZSTOPA.Caption = "FINPOREZSTOPA"; this.columnFINPOREZSTOPA.DefaultValue = RuntimeHelpers.GetObjectValue(Convert.DBNull); this.columnFINPOREZSTOPA.ExtendedProperties.Add("Deklarit.IsDescription", "false"); this.columnFINPOREZSTOPA.ExtendedProperties.Add("Deklarit.IsVisibleOnForm", "true"); this.columnFINPOREZSTOPA.ExtendedProperties.Add("Deklarit.IsVisibleOnWorkWith", "true"); this.columnFINPOREZSTOPA.ExtendedProperties.Add("Deklarit.WinGridFormat", ""); this.columnFINPOREZSTOPA.ExtendedProperties.Add("Deklarit.WinInputMask", ""); this.columnFINPOREZSTOPA.ExtendedProperties.Add("IsKey", "false"); this.columnFINPOREZSTOPA.ExtendedProperties.Add("ReadOnly", "false"); this.columnFINPOREZSTOPA.ExtendedProperties.Add("DeklaritType", "int"); this.columnFINPOREZSTOPA.ExtendedProperties.Add("Description", "Stopa"); this.columnFINPOREZSTOPA.ExtendedProperties.Add("Length", "5"); this.columnFINPOREZSTOPA.ExtendedProperties.Add("Decimals", "2"); this.columnFINPOREZSTOPA.ExtendedProperties.Add("IsDomainAttribute", "true"); this.columnFINPOREZSTOPA.ExtendedProperties.Add("DomainType", "MALIIZNOSI"); this.columnFINPOREZSTOPA.ExtendedProperties.Add("AllowDBNulls", "false"); this.columnFINPOREZSTOPA.ExtendedProperties.Add("IsInReader", "true"); this.columnFINPOREZSTOPA.ExtendedProperties.Add("Deklarit.Casing", "default"); this.columnFINPOREZSTOPA.ExtendedProperties.Add("Deklarit.IsPassword", "false"); this.columnFINPOREZSTOPA.ExtendedProperties.Add("Deklarit.InternalName", "FINPOREZSTOPA"); this.Columns.Add(this.columnFINPOREZSTOPA); this.columnOSNOVICAUKNIZIIRA = new DataColumn("OSNOVICAUKNIZIIRA", typeof(int), "", MappingType.Element); this.columnOSNOVICAUKNIZIIRA.AllowDBNull = false; this.columnOSNOVICAUKNIZIIRA.Caption = "OSNOVICAUKNIZIIRA"; this.columnOSNOVICAUKNIZIIRA.DefaultValue = RuntimeHelpers.GetObjectValue(Convert.DBNull); this.columnOSNOVICAUKNIZIIRA.ExtendedProperties.Add("Deklarit.IsDescription", "false"); this.columnOSNOVICAUKNIZIIRA.ExtendedProperties.Add("Deklarit.IsVisibleOnForm", "true"); this.columnOSNOVICAUKNIZIIRA.ExtendedProperties.Add("Deklarit.IsVisibleOnWorkWith", "true"); this.columnOSNOVICAUKNIZIIRA.ExtendedProperties.Add("Deklarit.WinGridFormat", ""); this.columnOSNOVICAUKNIZIIRA.ExtendedProperties.Add("Deklarit.WinInputMask", ""); this.columnOSNOVICAUKNIZIIRA.ExtendedProperties.Add("IsKey", "false"); this.columnOSNOVICAUKNIZIIRA.ExtendedProperties.Add("ReadOnly", "false"); this.columnOSNOVICAUKNIZIIRA.ExtendedProperties.Add("DeklaritType", "int"); this.columnOSNOVICAUKNIZIIRA.ExtendedProperties.Add("Description", "Osnovica iz Knjige IRA"); this.columnOSNOVICAUKNIZIIRA.ExtendedProperties.Add("Length", "5"); this.columnOSNOVICAUKNIZIIRA.ExtendedProperties.Add("Decimals", "0"); this.columnOSNOVICAUKNIZIIRA.ExtendedProperties.Add("AllowDBNulls", "false"); this.columnOSNOVICAUKNIZIIRA.ExtendedProperties.Add("IsInReader", "true"); this.columnOSNOVICAUKNIZIIRA.ExtendedProperties.Add("Deklarit.Casing", "default"); this.columnOSNOVICAUKNIZIIRA.ExtendedProperties.Add("Deklarit.IsPassword", "false"); this.columnOSNOVICAUKNIZIIRA.ExtendedProperties.Add("Deklarit.InternalName", "OSNOVICAUKNIZIIRA"); this.Columns.Add(this.columnOSNOVICAUKNIZIIRA); this.PrimaryKey = new DataColumn[] { this.columnFINPOREZIDPOREZ }; this.ExtendedProperties.Add("ParentLvl", ""); this.ExtendedProperties.Add("LevelName", "FINPOREZ"); this.ExtendedProperties.Add("Description", "FINPOREZ"); this.ExtendedProperties.Add("msprop:AllowInsert", "true"); this.ExtendedProperties.Add("msprop:AllowUpdate", "true"); this.ExtendedProperties.Add("msprop:AllowDelete", "true"); this.ExtendedProperties.Add("Deklarit.DefaultSortString", ""); this.ExtendedProperties.Add("Deklarit.EditInDataGrid", "True"); }
public void SetIDLOKACIJENull() { this[this.tableOSRAZMJESTAJ.IDLOKACIJEColumn] = RuntimeHelpers.GetObjectValue(Convert.DBNull); }
public void SetFINPOREZSTOPANull() { this[this.tableFINPOREZ.FINPOREZSTOPAColumn] = RuntimeHelpers.GetObjectValue(Convert.DBNull); }
public void SetKOLICINAULAZANull() { this[this.tableOSRAZMJESTAJ.KOLICINAULAZAColumn] = RuntimeHelpers.GetObjectValue(Convert.DBNull); }
public void SetOSNOVICAUKNIZIIRANull() { this[this.tableFINPOREZ.OSNOVICAUKNIZIIRAColumn] = RuntimeHelpers.GetObjectValue(Convert.DBNull); }
public void executePrivate(int startRow, int maxRows) { this.m_WhereString = "" + this.filterString + " "; if (maxRows >= 0) { if (startRow == 0) { this.scmdbuf = "SELECT TOP " + maxRows.ToString() + " TM1.[IDRADNIK], TM1.[JMBG], TM1.[PREZIME], TM1.[IME], TM1.[AKTIVAN], TM1.[OPCINASTANOVANJAIDOPCINE], TM1.[IDORGDIO], TM1.[OIB] FROM [RADNIK] TM1" + this.m_WhereString + "" + this.orderString + ""; } else { if (string.Compare(this.m_WhereString.TrimEnd(new char[] { ' ' }), "".TrimEnd(new char[] { ' ' }), false, CultureInfo.CurrentCulture) == 0) { this.sWhereSep = " WHERE "; } else { this.sWhereSep = " AND "; } int internalRecordCount = this.GetInternalRecordCount(); this.m_TopRowCount = Conversions.ToInteger(Interaction.IIf(internalRecordCount >= (startRow + maxRows), maxRows, RuntimeHelpers.GetObjectValue(Interaction.IIf(internalRecordCount >= startRow, internalRecordCount - startRow, 0)))); if (this.m_TopRowCount == 0) { return; } this.scmdbuf = "SELECT TM1.[IDRADNIK], TM1.[JMBG], TM1.[PREZIME], TM1.[IME], TM1.[AKTIVAN], TM1.[OPCINASTANOVANJAIDOPCINE], TM1.[IDORGDIO], TM1.[OIB] FROM [RADNIK] TM1 WHERE TM1.[IDRADNIK] IN ( SELECT TOP " + maxRows.ToString() + " TM1.[IDRADNIK] FROM [RADNIK] TM1" + this.m_WhereString + "" + this.sWhereSep + "TM1.[IDRADNIK] NOT IN ( SELECT TOP " + startRow.ToString() + " TM1.[IDRADNIK] FROM [RADNIK] TM1" + this.m_WhereString + "" + this.orderString + ")" + this.orderString + ")" + this.orderString + ""; } } else { this.scmdbuf = "SELECT TM1.[IDRADNIK], TM1.[JMBG], TM1.[PREZIME], TM1.[IME], TM1.[AKTIVAN], TM1.[OPCINASTANOVANJAIDOPCINE], TM1.[IDORGDIO], TM1.[OIB] FROM [RADNIK] TM1" + this.m_WhereString + "" + this.orderString + " "; } this.cmRADNIKSelect2 = this.connDefault.GetCommand(this.scmdbuf, false); this.cmRADNIKSelect2.ErrorMask |= ErrorMask.Lock; this.RADNIKSelect2 = this.cmRADNIKSelect2.FetchData(); int num = 0; while (this.cmRADNIKSelect2.HasMoreRows && (num != maxRows)) { this.m_IDRADNIK = this.dsDefault.Db.GetInt32(this.RADNIKSelect2, 0, ref this.m__IDRADNIKIsNull); this.m_JMBG = this.dsDefault.Db.GetString(this.RADNIKSelect2, 1, ref this.m__JMBGIsNull); this.m_PREZIME = this.dsDefault.Db.GetString(this.RADNIKSelect2, 2, ref this.m__PREZIMEIsNull); this.m_IME = this.dsDefault.Db.GetString(this.RADNIKSelect2, 3, ref this.m__IMEIsNull); this.m_AKTIVAN = this.dsDefault.Db.GetBoolean(this.RADNIKSelect2, 4, ref this.m__AKTIVANIsNull); this.m_OPCINASTANOVANJAIDOPCINE = this.dsDefault.Db.GetString(this.RADNIKSelect2, 5, ref this.m__OPCINASTANOVANJAIDOPCINEIsNull); this.m_IDORGDIO = this.dsDefault.Db.GetInt32(this.RADNIKSelect2, 6, ref this.m__IDORGDIOIsNull); this.m_OIB = this.dsDefault.Db.GetString(this.RADNIKSelect2, 7, ref this.m__OIBIsNull); this.m_UKUPNIFAKTOR = placa.UkupnoFaktorOO(this.m_IDRADNIK, Configuration.ConnectionString.ToString()); this.rowRADNIK = this.PregledRadnikaSvihSet.RADNIK.NewRADNIKRow(); this.rowRADNIK["IDRADNIK"] = RuntimeHelpers.GetObjectValue(Interaction.IIf(this.m__IDRADNIKIsNull, RuntimeHelpers.GetObjectValue(Convert.DBNull), this.m_IDRADNIK)); this.rowRADNIK["JMBG"] = RuntimeHelpers.GetObjectValue(Interaction.IIf(this.m__JMBGIsNull, RuntimeHelpers.GetObjectValue(Convert.DBNull), this.m_JMBG)); this.rowRADNIK["PREZIME"] = RuntimeHelpers.GetObjectValue(Interaction.IIf(this.m__PREZIMEIsNull, RuntimeHelpers.GetObjectValue(Convert.DBNull), this.m_PREZIME)); this.rowRADNIK["IME"] = RuntimeHelpers.GetObjectValue(Interaction.IIf(this.m__IMEIsNull, RuntimeHelpers.GetObjectValue(Convert.DBNull), this.m_IME)); this.rowRADNIK["AKTIVAN"] = RuntimeHelpers.GetObjectValue(Interaction.IIf(this.m__AKTIVANIsNull, RuntimeHelpers.GetObjectValue(Convert.DBNull), this.m_AKTIVAN)); this.rowRADNIK["OPCINASTANOVANJAIDOPCINE"] = RuntimeHelpers.GetObjectValue(Interaction.IIf(this.m__OPCINASTANOVANJAIDOPCINEIsNull, RuntimeHelpers.GetObjectValue(Convert.DBNull), this.m_OPCINASTANOVANJAIDOPCINE)); this.rowRADNIK["IDORGDIO"] = RuntimeHelpers.GetObjectValue(Interaction.IIf(this.m__IDORGDIOIsNull, RuntimeHelpers.GetObjectValue(Convert.DBNull), this.m_IDORGDIO)); this.rowRADNIK["OIB"] = RuntimeHelpers.GetObjectValue(Interaction.IIf(this.m__OIBIsNull, RuntimeHelpers.GetObjectValue(Convert.DBNull), this.m_OIB)); this.rowRADNIK.UKUPNIFAKTOR = this.m_UKUPNIFAKTOR; this.AddRowRadnik(); num++; this.cmRADNIKSelect2.HasMoreRows = this.RADNIKSelect2.Read(); } this.RADNIKSelect2.Close(); this.Cleanup(); }
private void mouseEnter_Text(object sender, EventArgs e) { this.m_BaseMethods.MouseEnterTextBase(this.toolTip1, this.m_CurrentRow, RuntimeHelpers.GetObjectValue(sender)); }
public void SetImpAFacNull() { this[this.tablePC1TmpRegPedExp.ImpAFacColumn] = RuntimeHelpers.GetObjectValue(Convert.DBNull); }
private void SetNullItem_Click(object sender, EventArgs e) { this.m_BaseMethods.SetNullItemClickBase(RuntimeHelpers.GetObjectValue(sender), this.m_CurrentRow); }
public void SetNroOCProvNull() { this[this.tablePC1TmpRegPedExp.NroOCProvColumn] = RuntimeHelpers.GetObjectValue(Convert.DBNull); }
public void InitClass() { this.columnGK1IDGKSTAVKA = new DataColumn("GK1IDGKSTAVKA", typeof(int), "", MappingType.Element); this.columnGK1IDGKSTAVKA.AllowDBNull = false; this.columnGK1IDGKSTAVKA.Caption = "IDGKSTAVKA"; this.columnGK1IDGKSTAVKA.DefaultValue = RuntimeHelpers.GetObjectValue(Convert.DBNull); this.columnGK1IDGKSTAVKA.ExtendedProperties.Add("Deklarit.IsDescription", "false"); this.columnGK1IDGKSTAVKA.ExtendedProperties.Add("Deklarit.IsVisibleOnForm", "true"); this.columnGK1IDGKSTAVKA.ExtendedProperties.Add("Deklarit.IsVisibleOnWorkWith", "true"); this.columnGK1IDGKSTAVKA.ExtendedProperties.Add("Deklarit.WinGridFormat", ""); this.columnGK1IDGKSTAVKA.ExtendedProperties.Add("Deklarit.WinInputMask", ""); this.columnGK1IDGKSTAVKA.ExtendedProperties.Add("SuperType", "IDGKSTAVKA"); this.columnGK1IDGKSTAVKA.ExtendedProperties.Add("SubtypeGroup", "GK1"); this.columnGK1IDGKSTAVKA.ExtendedProperties.Add("IsKey", "true"); this.columnGK1IDGKSTAVKA.ExtendedProperties.Add("ReadOnly", "false"); this.columnGK1IDGKSTAVKA.ExtendedProperties.Add("DeklaritType", "int"); this.columnGK1IDGKSTAVKA.ExtendedProperties.Add("Description", "IDGKSTAVKA"); this.columnGK1IDGKSTAVKA.ExtendedProperties.Add("Length", "5"); this.columnGK1IDGKSTAVKA.ExtendedProperties.Add("Decimals", "0"); this.columnGK1IDGKSTAVKA.ExtendedProperties.Add("AllowDBNulls", "false"); this.columnGK1IDGKSTAVKA.ExtendedProperties.Add("IsInReader", "true"); this.columnGK1IDGKSTAVKA.ExtendedProperties.Add("Deklarit.Casing", "default"); this.columnGK1IDGKSTAVKA.ExtendedProperties.Add("Deklarit.IsPassword", "false"); this.columnGK1IDGKSTAVKA.ExtendedProperties.Add("Deklarit.InternalName", "GK1IDGKSTAVKA"); this.Columns.Add(this.columnGK1IDGKSTAVKA); this.columnGK2IDGKSTAVKA = new DataColumn("GK2IDGKSTAVKA", typeof(int), "", MappingType.Element); this.columnGK2IDGKSTAVKA.AllowDBNull = false; this.columnGK2IDGKSTAVKA.Caption = "IDGKSTAVKA"; this.columnGK2IDGKSTAVKA.DefaultValue = RuntimeHelpers.GetObjectValue(Convert.DBNull); this.columnGK2IDGKSTAVKA.ExtendedProperties.Add("Deklarit.IsDescription", "false"); this.columnGK2IDGKSTAVKA.ExtendedProperties.Add("Deklarit.IsVisibleOnForm", "true"); this.columnGK2IDGKSTAVKA.ExtendedProperties.Add("Deklarit.IsVisibleOnWorkWith", "true"); this.columnGK2IDGKSTAVKA.ExtendedProperties.Add("Deklarit.WinGridFormat", ""); this.columnGK2IDGKSTAVKA.ExtendedProperties.Add("Deklarit.WinInputMask", ""); this.columnGK2IDGKSTAVKA.ExtendedProperties.Add("SuperType", "IDGKSTAVKA"); this.columnGK2IDGKSTAVKA.ExtendedProperties.Add("SubtypeGroup", "GK2"); this.columnGK2IDGKSTAVKA.ExtendedProperties.Add("IsKey", "true"); this.columnGK2IDGKSTAVKA.ExtendedProperties.Add("ReadOnly", "false"); this.columnGK2IDGKSTAVKA.ExtendedProperties.Add("DeklaritType", "int"); this.columnGK2IDGKSTAVKA.ExtendedProperties.Add("Description", "IDGKSTAVKA"); this.columnGK2IDGKSTAVKA.ExtendedProperties.Add("Length", "5"); this.columnGK2IDGKSTAVKA.ExtendedProperties.Add("Decimals", "0"); this.columnGK2IDGKSTAVKA.ExtendedProperties.Add("AllowDBNulls", "false"); this.columnGK2IDGKSTAVKA.ExtendedProperties.Add("IsInReader", "true"); this.columnGK2IDGKSTAVKA.ExtendedProperties.Add("Deklarit.Casing", "default"); this.columnGK2IDGKSTAVKA.ExtendedProperties.Add("Deklarit.IsPassword", "false"); this.columnGK2IDGKSTAVKA.ExtendedProperties.Add("Deklarit.InternalName", "GK2IDGKSTAVKA"); this.Columns.Add(this.columnGK2IDGKSTAVKA); this.columnZATVARANJAIZNOS = new DataColumn("ZATVARANJAIZNOS", typeof(decimal), "", MappingType.Element); this.columnZATVARANJAIZNOS.AllowDBNull = false; this.columnZATVARANJAIZNOS.Caption = "ZATVARANJAIZNOS"; this.columnZATVARANJAIZNOS.DefaultValue = RuntimeHelpers.GetObjectValue(Convert.DBNull); this.columnZATVARANJAIZNOS.ExtendedProperties.Add("Deklarit.IsDescription", "false"); this.columnZATVARANJAIZNOS.ExtendedProperties.Add("Deklarit.IsVisibleOnForm", "true"); this.columnZATVARANJAIZNOS.ExtendedProperties.Add("Deklarit.IsVisibleOnWorkWith", "true"); this.columnZATVARANJAIZNOS.ExtendedProperties.Add("Deklarit.WinGridFormat", ""); this.columnZATVARANJAIZNOS.ExtendedProperties.Add("Deklarit.WinInputMask", ""); this.columnZATVARANJAIZNOS.ExtendedProperties.Add("IsKey", "false"); this.columnZATVARANJAIZNOS.ExtendedProperties.Add("ReadOnly", "false"); this.columnZATVARANJAIZNOS.ExtendedProperties.Add("DeklaritType", "int"); this.columnZATVARANJAIZNOS.ExtendedProperties.Add("Description", "ZATVARANJAIZNOS"); this.columnZATVARANJAIZNOS.ExtendedProperties.Add("Length", "12"); this.columnZATVARANJAIZNOS.ExtendedProperties.Add("Decimals", "2"); this.columnZATVARANJAIZNOS.ExtendedProperties.Add("IsDomainAttribute", "true"); this.columnZATVARANJAIZNOS.ExtendedProperties.Add("DomainType", "VELIKIIZNOSI"); this.columnZATVARANJAIZNOS.ExtendedProperties.Add("AllowDBNulls", "false"); this.columnZATVARANJAIZNOS.ExtendedProperties.Add("IsInReader", "true"); this.columnZATVARANJAIZNOS.ExtendedProperties.Add("Deklarit.Casing", "default"); this.columnZATVARANJAIZNOS.ExtendedProperties.Add("Deklarit.IsPassword", "false"); this.columnZATVARANJAIZNOS.ExtendedProperties.Add("Deklarit.InternalName", "ZATVARANJAIZNOS"); this.Columns.Add(this.columnZATVARANJAIZNOS); this.PrimaryKey = new DataColumn[] { this.columnGK1IDGKSTAVKA, this.columnGK2IDGKSTAVKA }; this.ExtendedProperties.Add("ParentLvl", ""); this.ExtendedProperties.Add("LevelName", "ZATVARANJA"); this.ExtendedProperties.Add("Description", "ZATVARANJA"); this.ExtendedProperties.Add("msprop:AllowInsert", "true"); this.ExtendedProperties.Add("msprop:AllowUpdate", "true"); this.ExtendedProperties.Add("msprop:AllowDelete", "true"); this.ExtendedProperties.Add("Deklarit.DefaultSortString", ""); this.ExtendedProperties.Add("Deklarit.EditInDataGrid", "True"); }
public void SetPaisDestNull() { this[this.tablePC1TmpRegPedExp.PaisDestColumn] = RuntimeHelpers.GetObjectValue(Convert.DBNull); }
public void SetZATVARANJAIZNOSNull() { this[this.tableZATVARANJA.ZATVARANJAIZNOSColumn] = RuntimeHelpers.GetObjectValue(Convert.DBNull); }
private bool InternReadTable(ref string nrstrErrMsg) { nrstrErrMsg = null; int dlngIdx = checked (mlngTblBeg + 1); Dictionary <object, object> dobjDictXDictionary2 = new Dictionary <object, object>(); double ddblObjectID = default(double); double ddblOwnerID = default(double); int dlngCount = default(int); bool InternReadTable = default(bool); if (hwpDxf_ReadRef.BkDXFReadRef_AcadSymbolTable(mobjAcadDatabase, mobjDictReadCodes, mobjDictReadValues, ref dlngIdx, ref ddblObjectID, ref ddblOwnerID, ref dlngCount, ref dobjDictXDictionary2, ref nrstrErrMsg)) { object dvarXDataType = default(object); object dvarXDataValue = default(object); bool dblnError = !hwpDxf_ReadBas.BkDXFReadBas_XData(ref dlngIdx, mobjDictReadCodes, mobjDictReadValues, ref dvarXDataType, ref dvarXDataValue, ref nrstrErrMsg); if (!dblnError) { mobjAcadLineTypes = mobjAcadDatabase.FriendAddAcadObjectLineTypes(ref nrstrErrMsg, ddblObjectID); if (mobjAcadLineTypes == null) { nrstrErrMsg = "Das Objekt konnte nicht hinzugefügt werden."; dblnError = true; } else { mobjAcadLineTypes.FriendSetDictXDictionary = dobjDictXDictionary2; mobjAcadLineTypes.SetXData(RuntimeHelpers.GetObjectValue(dvarXDataType), RuntimeHelpers.GetObjectValue(dvarXDataValue)); bool dblnStop = default(bool); while (dlngIdx <= mlngTblEnd && !dblnError && !dblnStop) { int dlngCode = Conversions.ToInteger(mobjDictReadCodes[dlngIdx]); object dvarValue = RuntimeHelpers.GetObjectValue(mobjDictReadValues[dlngIdx]); if (dlngCode != 0 && dlngCode != 0) { nrstrErrMsg = "Ungültiger Gruppencode für Tabelleneintrag/ende in Zeile " + Conversions.ToString(checked (dlngIdx * 2 + 1)) + "."; dblnError = true; } else if (Operators.ConditionalCompareObjectEqual(dvarValue, "ENDTAB", TextCompare: false)) { dlngIdx = checked (dlngIdx + 1); dblnStop = true; } else if (!InternReadLType(ddblObjectID, ref dlngIdx, ref mobjAcadLineTypes, ref nrstrErrMsg)) { dblnError = true; } } } } InternReadTable = !dblnError; } dobjDictXDictionary2 = null; return(InternReadTable); }
public void SetSIFRAELEMENTANull() { this[this.tabledtRekap.SIFRAELEMENTAColumn] = RuntimeHelpers.GetObjectValue(Convert.DBNull); }