private void LoadDefault() { this.comboIDDOKUMENT.SelectedIndex = 0; if (this.m_FillByRow != null) { string str = ""; if (this.m_FillByRow.Table.Columns.Contains("IDDOKUMENT") && (this.m_FillByRow["IDDOKUMENT"] != DBNull.Value)) { FormHelperClass.SetValue(this.comboIDDOKUMENT, this.m_FillByRow["IDDOKUMENT"].ToString(), this.m_FillByRow.Table.Columns["IDDOKUMENT"].DataType); this.parameterSeted = true; this.comboIDDOKUMENT.Visible = false; this.label1IDDOKUMENT.Visible = false; str = str + "," + this.m_FillByRow["IDDOKUMENT"].ToString() + " "; } if (this.parameterSeted) { if (this.m_WorkWithMode == Deklarit.Practices.CompositeUI.WorkWithMode.SelectionList) { this.Text = Deklarit.Resources.Resources.Select + "SP_FIN_URAPLACANJE " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } else { this.Text = Deklarit.Resources.Resources.Workwith + "SP_FIN_URAPLACANJE " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } } } }
private void LoadDefault() { this.textgodina.Text = "0"; if (this.m_FillByRow != null) { string str = ""; if (this.m_FillByRow.Table.Columns.Contains("godina") && (this.m_FillByRow["godina"] != DBNull.Value)) { FormHelperClass.SetValue(this.textgodina, this.m_FillByRow["godina"].ToString(), this.m_FillByRow.Table.Columns["godina"].DataType); this.parameterSeted = true; this.textgodina.Visible = false; this.label1godina.Visible = false; str = str + "," + this.m_FillByRow["godina"].ToString() + " "; } if (this.parameterSeted) { if (this.m_WorkWithMode == Deklarit.Practices.CompositeUI.WorkWithMode.SelectionList) { this.Text = Deklarit.Resources.Resources.Select + "S_FIN_PARTNERI_SA_OTVORENIMA " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } else { this.Text = Deklarit.Resources.Resources.Workwith + "S_FIN_PARTNERI_SA_OTVORENIMA " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } } } }
private void LoadDefault() { this.textIDOBRACUN.Text = ""; if (this.m_FillByRow != null) { string str = ""; if (this.m_FillByRow.Table.Columns.Contains("IDOBRACUN") && (this.m_FillByRow["IDOBRACUN"] != DBNull.Value)) { FormHelperClass.SetValue(this.textIDOBRACUN, this.m_FillByRow["IDOBRACUN"].ToString(), this.m_FillByRow.Table.Columns["IDOBRACUN"].DataType); this.parameterSeted = true; this.textIDOBRACUN.Visible = false; this.label1IDOBRACUN.Visible = false; str = str + "," + this.m_FillByRow["IDOBRACUN"].ToString() + " "; } if (this.parameterSeted) { if (this.m_WorkWithMode == Deklarit.Practices.CompositeUI.WorkWithMode.SelectionList) { this.Text = Deklarit.Resources.Resources.Select + "S_PLACA_KONACNI_POREZ_REKAPITULACIJA_PO_RADNICIMA " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } else { this.Text = Deklarit.Resources.Resources.Workwith + "S_PLACA_KONACNI_POREZ_REKAPITULACIJA_PO_RADNICIMA " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } } } }
private void LoadDefault() { this.textbrojdok.Text = "0"; if (this.m_FillByRow != null) { string str = ""; if (this.m_FillByRow.Table.Columns.Contains("brojdok") && (this.m_FillByRow["brojdok"] != DBNull.Value)) { FormHelperClass.SetValue(this.textbrojdok, this.m_FillByRow["brojdok"].ToString(), this.m_FillByRow.Table.Columns["brojdok"].DataType); this.parameterSeted = true; this.textbrojdok.Visible = false; this.label1brojdok.Visible = false; str = str + "," + this.m_FillByRow["brojdok"].ToString() + " "; } if (this.parameterSeted) { if (this.m_WorkWithMode == Deklarit.Practices.CompositeUI.WorkWithMode.SelectionList) { this.Text = Deklarit.Resources.Resources.Select + "S_OS_PREGLED_AMORTIZACIJE_REKAPITULACIJA " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } else { this.Text = Deklarit.Resources.Resources.Workwith + "S_OS_PREGLED_AMORTIZACIJE_REKAPITULACIJA " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } } } }
private void LoadDefault() { this.textGODINAISPLATE.Text = ""; if (this.m_FillByRow != null) { string str = ""; if (this.m_FillByRow.Table.Columns.Contains("GODINAISPLATE") && (this.m_FillByRow["GODINAISPLATE"] != DBNull.Value)) { FormHelperClass.SetValue(this.textGODINAISPLATE, this.m_FillByRow["GODINAISPLATE"].ToString(), this.m_FillByRow.Table.Columns["GODINAISPLATE"].DataType); this.parameterSeted = true; this.textGODINAISPLATE.Visible = false; this.label1GODINAISPLATE.Visible = false; str = str + "," + this.m_FillByRow["GODINAISPLATE"].ToString() + " "; } if (this.parameterSeted) { if (this.m_WorkWithMode == Deklarit.Practices.CompositeUI.WorkWithMode.SelectionList) { this.Text = Deklarit.Resources.Resources.Select + "S_DD_POTVRDA " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } else { this.Text = Deklarit.Resources.Resources.Workwith + "S_DD_POTVRDA " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } } } }
private void LoadDefault() { this.textgodina.Text = "0"; this.textid.Text = "0"; this.textmjesec.Text = "0"; this.textvrsta.Text = ""; if (this.m_FillByRow != null) { string str = ""; if (this.m_FillByRow.Table.Columns.Contains("godina") && (this.m_FillByRow["godina"] != DBNull.Value)) { FormHelperClass.SetValue(this.textgodina, this.m_FillByRow["godina"].ToString(), this.m_FillByRow.Table.Columns["godina"].DataType); this.parameterSeted = true; this.textgodina.Visible = false; this.label1godina.Visible = false; str = str + "," + this.m_FillByRow["godina"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("id") && (this.m_FillByRow["id"] != DBNull.Value)) { FormHelperClass.SetValue(this.textid, this.m_FillByRow["id"].ToString(), this.m_FillByRow.Table.Columns["id"].DataType); this.parameterSeted = true; this.textid.Visible = false; this.label1id.Visible = false; str = str + "," + this.m_FillByRow["id"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("mjesec") && (this.m_FillByRow["mjesec"] != DBNull.Value)) { FormHelperClass.SetValue(this.textmjesec, this.m_FillByRow["mjesec"].ToString(), this.m_FillByRow.Table.Columns["mjesec"].DataType); this.parameterSeted = true; this.textmjesec.Visible = false; this.label1mjesec.Visible = false; str = str + "," + this.m_FillByRow["mjesec"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("vrsta") && (this.m_FillByRow["vrsta"] != DBNull.Value)) { FormHelperClass.SetValue(this.textvrsta, this.m_FillByRow["vrsta"].ToString(), this.m_FillByRow.Table.Columns["vrsta"].DataType); this.parameterSeted = true; this.textvrsta.Visible = false; this.label1vrsta.Visible = false; str = str + "," + this.m_FillByRow["vrsta"].ToString() + " "; } if (this.parameterSeted) { if (this.m_WorkWithMode == Deklarit.Practices.CompositeUI.WorkWithMode.SelectionList) { this.Text = Deklarit.Resources.Resources.Select + "s_od_priprema " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } else { this.Text = Deklarit.Resources.Resources.Workwith + "s_od_priprema " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } } } }
private void LoadDefault() { this.textGODINAISPLATE.Text = ""; this.textMJESECISPLATE.Text = ""; this.datePickerDATUMNAKOJIRACUNAMSTAROST.Text = ""; this.textMJESECODLASKA.Text = ""; if (this.m_FillByRow != null) { string str = ""; if (this.m_FillByRow.Table.Columns.Contains("GODINAISPLATE") && (this.m_FillByRow["GODINAISPLATE"] != DBNull.Value)) { FormHelperClass.SetValue(this.textGODINAISPLATE, this.m_FillByRow["GODINAISPLATE"].ToString(), this.m_FillByRow.Table.Columns["GODINAISPLATE"].DataType); this.parameterSeted = true; this.textGODINAISPLATE.Visible = false; this.label1GODINAISPLATE.Visible = false; str = str + "," + this.m_FillByRow["GODINAISPLATE"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("MJESECISPLATE") && (this.m_FillByRow["MJESECISPLATE"] != DBNull.Value)) { FormHelperClass.SetValue(this.textMJESECISPLATE, this.m_FillByRow["MJESECISPLATE"].ToString(), this.m_FillByRow.Table.Columns["MJESECISPLATE"].DataType); this.parameterSeted = true; this.textMJESECISPLATE.Visible = false; this.label1MJESECISPLATE.Visible = false; str = str + "," + this.m_FillByRow["MJESECISPLATE"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("DATUMNAKOJIRACUNAMSTAROST") && (this.m_FillByRow["DATUMNAKOJIRACUNAMSTAROST"] != DBNull.Value)) { FormHelperClass.SetValue(this.datePickerDATUMNAKOJIRACUNAMSTAROST, this.m_FillByRow["DATUMNAKOJIRACUNAMSTAROST"].ToString(), this.m_FillByRow.Table.Columns["DATUMNAKOJIRACUNAMSTAROST"].DataType); this.parameterSeted = true; this.datePickerDATUMNAKOJIRACUNAMSTAROST.Visible = false; this.label1DATUMNAKOJIRACUNAMSTAROST.Visible = false; str = str + "," + this.m_FillByRow["DATUMNAKOJIRACUNAMSTAROST"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("MJESECODLASKA") && (this.m_FillByRow["MJESECODLASKA"] != DBNull.Value)) { FormHelperClass.SetValue(this.textMJESECODLASKA, this.m_FillByRow["MJESECODLASKA"].ToString(), this.m_FillByRow.Table.Columns["MJESECODLASKA"].DataType); this.parameterSeted = true; this.textMJESECODLASKA.Visible = false; this.label1MJESECODLASKA.Visible = false; str = str + "," + this.m_FillByRow["MJESECODLASKA"].ToString() + " "; } if (this.parameterSeted) { if (this.m_WorkWithMode == Deklarit.Practices.CompositeUI.WorkWithMode.SelectionList) { this.Text = Deklarit.Resources.Resources.Select + "S_PLACA_RAD1G " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } else { this.Text = Deklarit.Resources.Resources.Workwith + "S_PLACA_RAD1G " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } } } }
private void LoadDefault() { this.textIDOBRACUN.Text = ""; this.textMJESECOBRACUNA.Text = ""; this.textGODINAOBRACUNA.Text = ""; this.textSORT.Text = "0"; if (this.m_FillByRow != null) { string str = ""; if (this.m_FillByRow.Table.Columns.Contains("IDOBRACUN") && (this.m_FillByRow["IDOBRACUN"] != DBNull.Value)) { FormHelperClass.SetValue(this.textIDOBRACUN, this.m_FillByRow["IDOBRACUN"].ToString(), this.m_FillByRow.Table.Columns["IDOBRACUN"].DataType); this.parameterSeted = true; this.textIDOBRACUN.Visible = false; this.label1IDOBRACUN.Visible = false; str = str + "," + this.m_FillByRow["IDOBRACUN"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("MJESECOBRACUNA") && (this.m_FillByRow["MJESECOBRACUNA"] != DBNull.Value)) { FormHelperClass.SetValue(this.textMJESECOBRACUNA, this.m_FillByRow["MJESECOBRACUNA"].ToString(), this.m_FillByRow.Table.Columns["MJESECOBRACUNA"].DataType); this.parameterSeted = true; this.textMJESECOBRACUNA.Visible = false; this.label1MJESECOBRACUNA.Visible = false; str = str + "," + this.m_FillByRow["MJESECOBRACUNA"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("GODINAOBRACUNA") && (this.m_FillByRow["GODINAOBRACUNA"] != DBNull.Value)) { FormHelperClass.SetValue(this.textGODINAOBRACUNA, this.m_FillByRow["GODINAOBRACUNA"].ToString(), this.m_FillByRow.Table.Columns["GODINAOBRACUNA"].DataType); this.parameterSeted = true; this.textGODINAOBRACUNA.Visible = false; this.label1GODINAOBRACUNA.Visible = false; str = str + "," + this.m_FillByRow["GODINAOBRACUNA"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("SORT") && (this.m_FillByRow["SORT"] != DBNull.Value)) { FormHelperClass.SetValue(this.textSORT, this.m_FillByRow["SORT"].ToString(), this.m_FillByRow.Table.Columns["SORT"].DataType); this.parameterSeted = true; this.textSORT.Visible = false; this.label1SORT.Visible = false; str = str + "," + this.m_FillByRow["SORT"].ToString() + " "; } if (this.parameterSeted) { if (this.m_WorkWithMode == Deklarit.Practices.CompositeUI.WorkWithMode.SelectionList) { this.Text = Deklarit.Resources.Resources.Select + "SP_LISTA_IZNOSA_RADNIKA " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } else { this.Text = Deklarit.Resources.Resources.Workwith + "SP_LISTA_IZNOSA_RADNIKA " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } } } }
private void LoadDefault() { this.textidobracun.Text = ""; this.textmjeseCISPLATE.Text = ""; this.textgodinaISPLATE.Text = ""; this.textVOLONTERI.Text = "0"; if (this.m_FillByRow != null) { string str = ""; if (this.m_FillByRow.Table.Columns.Contains("idobracun") && (this.m_FillByRow["idobracun"] != DBNull.Value)) { FormHelperClass.SetValue(this.textidobracun, this.m_FillByRow["idobracun"].ToString(), this.m_FillByRow.Table.Columns["idobracun"].DataType); this.parameterSeted = true; this.textidobracun.Visible = false; this.label1idobracun.Visible = false; str = str + "," + this.m_FillByRow["idobracun"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("mjeseCISPLATE") && (this.m_FillByRow["mjeseCISPLATE"] != DBNull.Value)) { FormHelperClass.SetValue(this.textmjeseCISPLATE, this.m_FillByRow["mjeseCISPLATE"].ToString(), this.m_FillByRow.Table.Columns["mjeseCISPLATE"].DataType); this.parameterSeted = true; this.textmjeseCISPLATE.Visible = false; this.label1mjeseCISPLATE.Visible = false; str = str + "," + this.m_FillByRow["mjeseCISPLATE"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("godinaISPLATE") && (this.m_FillByRow["godinaISPLATE"] != DBNull.Value)) { FormHelperClass.SetValue(this.textgodinaISPLATE, this.m_FillByRow["godinaISPLATE"].ToString(), this.m_FillByRow.Table.Columns["godinaISPLATE"].DataType); this.parameterSeted = true; this.textgodinaISPLATE.Visible = false; this.label1godinaISPLATE.Visible = false; str = str + "," + this.m_FillByRow["godinaISPLATE"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("VOLONTERI") && (this.m_FillByRow["VOLONTERI"] != DBNull.Value)) { FormHelperClass.SetValue(this.textVOLONTERI, this.m_FillByRow["VOLONTERI"].ToString(), this.m_FillByRow.Table.Columns["VOLONTERI"].DataType); this.parameterSeted = true; this.textVOLONTERI.Visible = false; this.label1VOLONTERI.Visible = false; str = str + "," + this.m_FillByRow["VOLONTERI"].ToString() + " "; } if (this.parameterSeted) { if (this.m_WorkWithMode == Deklarit.Practices.CompositeUI.WorkWithMode.SelectionList) { this.Text = Deklarit.Resources.Resources.Select + "sp_id_detalji " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } else { this.Text = Deklarit.Resources.Resources.Workwith + "sp_id_detalji " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } } } }
private void LoadDefault() { this.textIDOBRACUN.Text = ""; this.textMJESECISPLATE.Text = ""; this.textGODINAISPLATE.Text = ""; this.textVOLONTERI.Text = "0"; if (this.m_FillByRow != null) { string str = ""; if (this.m_FillByRow.Table.Columns.Contains("IDOBRACUN") && (this.m_FillByRow["IDOBRACUN"] != DBNull.Value)) { FormHelperClass.SetValue(this.textIDOBRACUN, this.m_FillByRow["IDOBRACUN"].ToString(), this.m_FillByRow.Table.Columns["IDOBRACUN"].DataType); this.parameterSeted = true; this.textIDOBRACUN.Visible = false; this.label1IDOBRACUN.Visible = false; str = str + "," + this.m_FillByRow["IDOBRACUN"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("MJESECISPLATE") && (this.m_FillByRow["MJESECISPLATE"] != DBNull.Value)) { FormHelperClass.SetValue(this.textMJESECISPLATE, this.m_FillByRow["MJESECISPLATE"].ToString(), this.m_FillByRow.Table.Columns["MJESECISPLATE"].DataType); this.parameterSeted = true; this.textMJESECISPLATE.Visible = false; this.label1MJESECISPLATE.Visible = false; str = str + "," + this.m_FillByRow["MJESECISPLATE"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("GODINAISPLATE") && (this.m_FillByRow["GODINAISPLATE"] != DBNull.Value)) { FormHelperClass.SetValue(this.textGODINAISPLATE, this.m_FillByRow["GODINAISPLATE"].ToString(), this.m_FillByRow.Table.Columns["GODINAISPLATE"].DataType); this.parameterSeted = true; this.textGODINAISPLATE.Visible = false; this.label1GODINAISPLATE.Visible = false; str = str + "," + this.m_FillByRow["GODINAISPLATE"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("VOLONTERI") && (this.m_FillByRow["VOLONTERI"] != DBNull.Value)) { FormHelperClass.SetValue(this.textVOLONTERI, this.m_FillByRow["VOLONTERI"].ToString(), this.m_FillByRow.Table.Columns["VOLONTERI"].DataType); this.parameterSeted = true; this.textVOLONTERI.Visible = false; this.label1VOLONTERI.Visible = false; str = str + "," + this.m_FillByRow["VOLONTERI"].ToString() + " "; } if (this.parameterSeted) { if (this.m_WorkWithMode == Deklarit.Practices.CompositeUI.WorkWithMode.SelectionList) { this.Text = Deklarit.Resources.Resources.Select + "sp_id_zaglavlje " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } else { this.Text = Deklarit.Resources.Resources.Workwith + "sp_id_zaglavlje " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } } } }
private void LoadDefault() { this.datePickerdat1.Text = ""; this.datePickerdat2.Text = ""; this.textblag.Text = "0"; if (this.m_FillByRow != null) { string str = ""; if (this.m_FillByRow.Table.Columns.Contains("dat1") && (this.m_FillByRow["dat1"] != DBNull.Value)) { FormHelperClass.SetValue(this.datePickerdat1, this.m_FillByRow["dat1"].ToString(), this.m_FillByRow.Table.Columns["dat1"].DataType); this.parameterSeted = true; this.datePickerdat1.Visible = false; this.label1dat1.Visible = false; str = str + "," + this.m_FillByRow["dat1"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("dat2") && (this.m_FillByRow["dat2"] != DBNull.Value)) { FormHelperClass.SetValue(this.datePickerdat2, this.m_FillByRow["dat2"].ToString(), this.m_FillByRow.Table.Columns["dat2"].DataType); this.parameterSeted = true; this.datePickerdat2.Visible = false; this.label1dat2.Visible = false; str = str + "," + this.m_FillByRow["dat2"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("blag") && (this.m_FillByRow["blag"] != DBNull.Value)) { FormHelperClass.SetValue(this.textblag, this.m_FillByRow["blag"].ToString(), this.m_FillByRow.Table.Columns["blag"].DataType); this.parameterSeted = true; this.textblag.Visible = false; this.label1blag.Visible = false; str = str + "," + this.m_FillByRow["blag"].ToString() + " "; } if (this.parameterSeted) { if (this.m_WorkWithMode == Deklarit.Practices.CompositeUI.WorkWithMode.SelectionList) { this.Text = Deklarit.Resources.Resources.Select + "S_FIN_DNEVNIKBLAGAJNE " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } else { this.Text = Deklarit.Resources.Resources.Workwith + "S_FIN_DNEVNIKBLAGAJNE " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } } } }
private void LoadDefault() { this.datePickerDATUM.Text = ""; this.textSORT.Text = ""; this.textVRSTA.Text = "0"; if (this.m_FillByRow != null) { string str = ""; if (this.m_FillByRow.Table.Columns.Contains("DATUM") && (this.m_FillByRow["DATUM"] != DBNull.Value)) { FormHelperClass.SetValue(this.datePickerDATUM, this.m_FillByRow["DATUM"].ToString(), this.m_FillByRow.Table.Columns["DATUM"].DataType); this.parameterSeted = true; this.datePickerDATUM.Visible = false; this.label1DATUM.Visible = false; str = str + "," + this.m_FillByRow["DATUM"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("SORT") && (this.m_FillByRow["SORT"] != DBNull.Value)) { FormHelperClass.SetValue(this.textSORT, this.m_FillByRow["SORT"].ToString(), this.m_FillByRow.Table.Columns["SORT"].DataType); this.parameterSeted = true; this.textSORT.Visible = false; this.label1SORT.Visible = false; str = str + "," + this.m_FillByRow["SORT"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("VRSTA") && (this.m_FillByRow["VRSTA"] != DBNull.Value)) { FormHelperClass.SetValue(this.textVRSTA, this.m_FillByRow["VRSTA"].ToString(), this.m_FillByRow.Table.Columns["VRSTA"].DataType); this.parameterSeted = true; this.textVRSTA.Visible = false; this.label1VRSTA.Visible = false; str = str + "," + this.m_FillByRow["VRSTA"].ToString() + " "; } if (this.parameterSeted) { if (this.m_WorkWithMode == Deklarit.Practices.CompositeUI.WorkWithMode.SelectionList) { this.Text = Deklarit.Resources.Resources.Select + "S_OS_BILANCA_STANJA_NA_DAN_PO_LOKACIJI " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } else { this.Text = Deklarit.Resources.Resources.Workwith + "S_OS_BILANCA_STANJA_NA_DAN_PO_LOKACIJI " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } } } }
private void LoadDefault() { this.textodd.Text = ""; this.textdooo.Text = ""; this.comboIDRADNIK.SelectedIndex = 0; if (this.m_FillByRow != null) { string str = ""; if (this.m_FillByRow.Table.Columns.Contains("odd") && (this.m_FillByRow["odd"] != DBNull.Value)) { FormHelperClass.SetValue(this.textodd, this.m_FillByRow["odd"].ToString(), this.m_FillByRow.Table.Columns["odd"].DataType); this.parameterSeted = true; this.textodd.Visible = false; this.label1odd.Visible = false; str = str + "," + this.m_FillByRow["odd"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("dooo") && (this.m_FillByRow["dooo"] != DBNull.Value)) { FormHelperClass.SetValue(this.textdooo, this.m_FillByRow["dooo"].ToString(), this.m_FillByRow.Table.Columns["dooo"].DataType); this.parameterSeted = true; this.textdooo.Visible = false; this.label1dooo.Visible = false; str = str + "," + this.m_FillByRow["dooo"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("IDRADNIK") && (this.m_FillByRow["IDRADNIK"] != DBNull.Value)) { FormHelperClass.SetValue(this.comboIDRADNIK, this.m_FillByRow["IDRADNIK"].ToString(), this.m_FillByRow.Table.Columns["IDRADNIK"].DataType); this.parameterSeted = true; this.comboIDRADNIK.Visible = false; this.label1IDRADNIK.Visible = false; str = str + "," + this.m_FillByRow["IDRADNIK"].ToString() + " "; } if (this.parameterSeted) { if (this.m_WorkWithMode == Deklarit.Practices.CompositeUI.WorkWithMode.SelectionList) { this.Text = Deklarit.Resources.Resources.Select + "S_OD_BOLOVANJE_POSLODAVAC " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } else { this.Text = Deklarit.Resources.Resources.Workwith + "S_OD_BOLOVANJE_POSLODAVAC " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } } } }
private void LoadDefault() { this.textODD.Text = ""; this.textDOOO.Text = ""; this.comboidradnik.SelectedIndex = 0; if (this.m_FillByRow != null) { string str = ""; if (this.m_FillByRow.Table.Columns.Contains("ODD") && (this.m_FillByRow["ODD"] != DBNull.Value)) { FormHelperClass.SetValue(this.textODD, this.m_FillByRow["ODD"].ToString(), this.m_FillByRow.Table.Columns["ODD"].DataType); this.parameterSeted = true; this.textODD.Visible = false; this.label1ODD.Visible = false; str = str + "," + this.m_FillByRow["ODD"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("DOOO") && (this.m_FillByRow["DOOO"] != DBNull.Value)) { FormHelperClass.SetValue(this.textDOOO, this.m_FillByRow["DOOO"].ToString(), this.m_FillByRow.Table.Columns["DOOO"].DataType); this.parameterSeted = true; this.textDOOO.Visible = false; this.label1DOOO.Visible = false; str = str + "," + this.m_FillByRow["DOOO"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("idradnik") && (this.m_FillByRow["idradnik"] != DBNull.Value)) { FormHelperClass.SetValue(this.comboidradnik, this.m_FillByRow["idradnik"].ToString(), this.m_FillByRow.Table.Columns["idradnik"].DataType); this.parameterSeted = true; this.comboidradnik.Visible = false; this.label1idradnik.Visible = false; str = str + "," + this.m_FillByRow["idradnik"].ToString() + " "; } if (this.parameterSeted) { if (this.m_WorkWithMode == Deklarit.Practices.CompositeUI.WorkWithMode.SelectionList) { this.Text = Deklarit.Resources.Resources.Select + "S_OD_BOLOVANJE_FOND " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } else { this.Text = Deklarit.Resources.Resources.Workwith + "S_OD_BOLOVANJE_FOND " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } } } }
private void LoadDefault() { this.textidobracun.Text = ""; this.textvbdibanke.Text = ""; if (this.m_FillByRow != null) { string str = ""; if (this.m_FillByRow.Table.Columns.Contains("idobracun") && (this.m_FillByRow["idobracun"] != DBNull.Value)) { FormHelperClass.SetValue(this.textidobracun, this.m_FillByRow["idobracun"].ToString(), this.m_FillByRow.Table.Columns["idobracun"].DataType); this.parameterSeted = true; this.textidobracun.Visible = false; this.label1idobracun.Visible = false; str = str + "," + this.m_FillByRow["idobracun"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("vbdibanke") && (this.m_FillByRow["vbdibanke"] != DBNull.Value)) { FormHelperClass.SetValue(this.textvbdibanke, this.m_FillByRow["vbdibanke"].ToString(), this.m_FillByRow.Table.Columns["vbdibanke"].DataType); this.parameterSeted = true; this.textvbdibanke.Visible = false; this.label1vbdibanke.Visible = false; str = str + "," + this.m_FillByRow["vbdibanke"].ToString() + " "; } if (this.parameterSeted) { if (this.m_WorkWithMode == Deklarit.Practices.CompositeUI.WorkWithMode.SelectionList) { this.Text = Deklarit.Resources.Resources.Select + "sp_diskete_za_banku " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } else { this.Text = Deklarit.Resources.Resources.Workwith + "sp_diskete_za_banku " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } } } }
private void LoadDefault() { this.datePickerRAZDOBLJEOD.Text = ""; this.datePickerRAZDOBLJEDO.Text = ""; if (this.m_FillByRow != null) { string str = ""; if (this.m_FillByRow.Table.Columns.Contains("RAZDOBLJEOD") && (this.m_FillByRow["RAZDOBLJEOD"] != DBNull.Value)) { FormHelperClass.SetValue(this.datePickerRAZDOBLJEOD, this.m_FillByRow["RAZDOBLJEOD"].ToString(), this.m_FillByRow.Table.Columns["RAZDOBLJEOD"].DataType); this.parameterSeted = true; this.datePickerRAZDOBLJEOD.Visible = false; this.label1RAZDOBLJEOD.Visible = false; str = str + "," + this.m_FillByRow["RAZDOBLJEOD"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("RAZDOBLJEDO") && (this.m_FillByRow["RAZDOBLJEDO"] != DBNull.Value)) { FormHelperClass.SetValue(this.datePickerRAZDOBLJEDO, this.m_FillByRow["RAZDOBLJEDO"].ToString(), this.m_FillByRow.Table.Columns["RAZDOBLJEDO"].DataType); this.parameterSeted = true; this.datePickerRAZDOBLJEDO.Visible = false; this.label1RAZDOBLJEDO.Visible = false; str = str + "," + this.m_FillByRow["RAZDOBLJEDO"].ToString() + " "; } if (this.parameterSeted) { if (this.m_WorkWithMode == Deklarit.Practices.CompositeUI.WorkWithMode.SelectionList) { this.Text = Deklarit.Resources.Resources.Select + "S_FIN_FINANCIJSKO_UPRAVLJANJE " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } else { this.Text = Deklarit.Resources.Resources.Workwith + "S_FIN_FINANCIJSKO_UPRAVLJANJE " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } } } }
private void LoadDefault() { this.textBROJOSTEMELJNICE.Text = "0"; this.textvrstaostemeljnice.Text = "0"; if (this.m_FillByRow != null) { string str = ""; if (this.m_FillByRow.Table.Columns.Contains("BROJOSTEMELJNICE") && (this.m_FillByRow["BROJOSTEMELJNICE"] != DBNull.Value)) { FormHelperClass.SetValue(this.textBROJOSTEMELJNICE, this.m_FillByRow["BROJOSTEMELJNICE"].ToString(), this.m_FillByRow.Table.Columns["BROJOSTEMELJNICE"].DataType); this.parameterSeted = true; this.textBROJOSTEMELJNICE.Visible = false; this.label1BROJOSTEMELJNICE.Visible = false; str = str + "," + this.m_FillByRow["BROJOSTEMELJNICE"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("vrstaostemeljnice") && (this.m_FillByRow["vrstaostemeljnice"] != DBNull.Value)) { FormHelperClass.SetValue(this.textvrstaostemeljnice, this.m_FillByRow["vrstaostemeljnice"].ToString(), this.m_FillByRow.Table.Columns["vrstaostemeljnice"].DataType); this.parameterSeted = true; this.textvrstaostemeljnice.Visible = false; this.label1vrstaostemeljnice.Visible = false; str = str + "," + this.m_FillByRow["vrstaostemeljnice"].ToString() + " "; } if (this.parameterSeted) { if (this.m_WorkWithMode == Deklarit.Practices.CompositeUI.WorkWithMode.SelectionList) { this.Text = Deklarit.Resources.Resources.Select + "S_OS_REKAP_TEMELJNICE " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } else { this.Text = Deklarit.Resources.Resources.Workwith + "S_OS_REKAP_TEMELJNICE " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } } } }
private void LoadDefault() { this.textODD.Text = "0"; this.textDOO.Text = "0"; this.textVRSTA.Text = "0"; this.textBLAG.Text = "0"; this.textAKTIVNAGODINA.Text = "0"; if (this.m_FillByRow != null) { string str = ""; if (this.m_FillByRow.Table.Columns.Contains("ODD") && (this.m_FillByRow["ODD"] != DBNull.Value)) { FormHelperClass.SetValue(this.textODD, this.m_FillByRow["ODD"].ToString(), this.m_FillByRow.Table.Columns["ODD"].DataType); this.parameterSeted = true; this.textODD.Visible = false; this.label1ODD.Visible = false; str = str + "," + this.m_FillByRow["ODD"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("DOO") && (this.m_FillByRow["DOO"] != DBNull.Value)) { FormHelperClass.SetValue(this.textDOO, this.m_FillByRow["DOO"].ToString(), this.m_FillByRow.Table.Columns["DOO"].DataType); this.parameterSeted = true; this.textDOO.Visible = false; this.label1DOO.Visible = false; str = str + "," + this.m_FillByRow["DOO"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("VRSTA") && (this.m_FillByRow["VRSTA"] != DBNull.Value)) { FormHelperClass.SetValue(this.textVRSTA, this.m_FillByRow["VRSTA"].ToString(), this.m_FillByRow.Table.Columns["VRSTA"].DataType); this.parameterSeted = true; this.textVRSTA.Visible = false; this.label1VRSTA.Visible = false; str = str + "," + this.m_FillByRow["VRSTA"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("BLAG") && (this.m_FillByRow["BLAG"] != DBNull.Value)) { FormHelperClass.SetValue(this.textBLAG, this.m_FillByRow["BLAG"].ToString(), this.m_FillByRow.Table.Columns["BLAG"].DataType); this.parameterSeted = true; this.textBLAG.Visible = false; this.label1BLAG.Visible = false; str = str + "," + this.m_FillByRow["BLAG"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("AKTIVNAGODINA") && (this.m_FillByRow["AKTIVNAGODINA"] != DBNull.Value)) { FormHelperClass.SetValue(this.textAKTIVNAGODINA, this.m_FillByRow["AKTIVNAGODINA"].ToString(), this.m_FillByRow.Table.Columns["AKTIVNAGODINA"].DataType); this.parameterSeted = true; this.textAKTIVNAGODINA.Visible = false; this.label1AKTIVNAGODINA.Visible = false; str = str + "," + this.m_FillByRow["AKTIVNAGODINA"].ToString() + " "; } if (this.parameterSeted) { if (this.m_WorkWithMode == Deklarit.Practices.CompositeUI.WorkWithMode.SelectionList) { this.Text = Deklarit.Resources.Resources.Select + "S_FIN_DNEVNIKBLAGAJNEODDO " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } else { this.Text = Deklarit.Resources.Resources.Workwith + "S_FIN_DNEVNIKBLAGAJNEODDO " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } } } }
private void LoadDefault() { this.textORG.Text = "0"; this.textMT.Text = ""; this.textDOK.Text = "0"; this.datePickerRAZDOBLJEOD.Text = ""; this.datePickerRAZDOBLJEDO.Text = ""; this.textPOCETNIKONTO.Text = ""; this.textZAVRSNIKONTO.Text = ""; if (this.m_FillByRow != null) { string str = ""; if (this.m_FillByRow.Table.Columns.Contains("ORG") && (this.m_FillByRow["ORG"] != DBNull.Value)) { FormHelperClass.SetValue(this.textORG, this.m_FillByRow["ORG"].ToString(), this.m_FillByRow.Table.Columns["ORG"].DataType); this.parameterSeted = true; this.textORG.Visible = false; this.label1ORG.Visible = false; str = str + "," + this.m_FillByRow["ORG"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("MT") && (this.m_FillByRow["MT"] != DBNull.Value)) { FormHelperClass.SetValue(this.textMT, this.m_FillByRow["MT"].ToString(), this.m_FillByRow.Table.Columns["MT"].DataType); this.parameterSeted = true; this.textMT.Visible = false; this.label1MT.Visible = false; str = str + "," + this.m_FillByRow["MT"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("DOK") && (this.m_FillByRow["DOK"] != DBNull.Value)) { FormHelperClass.SetValue(this.textDOK, this.m_FillByRow["DOK"].ToString(), this.m_FillByRow.Table.Columns["DOK"].DataType); this.parameterSeted = true; this.textDOK.Visible = false; this.label1DOK.Visible = false; str = str + "," + this.m_FillByRow["DOK"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("RAZDOBLJEOD") && (this.m_FillByRow["RAZDOBLJEOD"] != DBNull.Value)) { FormHelperClass.SetValue(this.datePickerRAZDOBLJEOD, this.m_FillByRow["RAZDOBLJEOD"].ToString(), this.m_FillByRow.Table.Columns["RAZDOBLJEOD"].DataType); this.parameterSeted = true; this.datePickerRAZDOBLJEOD.Visible = false; this.label1RAZDOBLJEOD.Visible = false; str = str + "," + this.m_FillByRow["RAZDOBLJEOD"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("RAZDOBLJEDO") && (this.m_FillByRow["RAZDOBLJEDO"] != DBNull.Value)) { FormHelperClass.SetValue(this.datePickerRAZDOBLJEDO, this.m_FillByRow["RAZDOBLJEDO"].ToString(), this.m_FillByRow.Table.Columns["RAZDOBLJEDO"].DataType); this.parameterSeted = true; this.datePickerRAZDOBLJEDO.Visible = false; this.label1RAZDOBLJEDO.Visible = false; str = str + "," + this.m_FillByRow["RAZDOBLJEDO"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("POCETNIKONTO") && (this.m_FillByRow["POCETNIKONTO"] != DBNull.Value)) { FormHelperClass.SetValue(this.textPOCETNIKONTO, this.m_FillByRow["POCETNIKONTO"].ToString(), this.m_FillByRow.Table.Columns["POCETNIKONTO"].DataType); this.parameterSeted = true; this.textPOCETNIKONTO.Visible = false; this.label1POCETNIKONTO.Visible = false; str = str + "," + this.m_FillByRow["POCETNIKONTO"].ToString() + " "; } if (this.m_FillByRow.Table.Columns.Contains("ZAVRSNIKONTO") && (this.m_FillByRow["ZAVRSNIKONTO"] != DBNull.Value)) { FormHelperClass.SetValue(this.textZAVRSNIKONTO, this.m_FillByRow["ZAVRSNIKONTO"].ToString(), this.m_FillByRow.Table.Columns["ZAVRSNIKONTO"].DataType); this.parameterSeted = true; this.textZAVRSNIKONTO.Visible = false; this.label1ZAVRSNIKONTO.Visible = false; str = str + "," + this.m_FillByRow["ZAVRSNIKONTO"].ToString() + " "; } if (this.parameterSeted) { if (this.m_WorkWithMode == Deklarit.Practices.CompositeUI.WorkWithMode.SelectionList) { this.Text = Deklarit.Resources.Resources.Select + "S_FIN_KONTO_KARTICE " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } else { this.Text = Deklarit.Resources.Resources.Workwith + "S_FIN_KONTO_KARTICE " + Deklarit.Resources.Resources.For + " " + str.Substring(1); } } } }