You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ITSM/.svn/pristine/3d/3d60dbea684545d4aa1324f3e4a...

137 lines
9.9 KiB

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML xmlns:MSHelp="http://msdn.microsoft.com/mshelp" DIR="LTR"><HEAD>
<meta name="GENERATOR" content="VBdocman .NET - documentation generator; http://www.vbdocman.com">
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=UTF-8">
<TITLE>frmApplikation.Get_Data -Methode</TITLE>
<xml>
<MSHelp:TOCTitle Title="frmApplikation.Get_Data -Methode"/>
<MSHelp:RLTitle Title="frmApplikation.Get_Data -Methode"/>
<MSHelp:Keyword Index="A" Term="topic_0000000000000F3F"/>
<MSHelp:Keyword Index="K" Term="frmApplikation.Get_Data -Methode"/>
<MSHelp:Keyword Index="K" Term="Vertragsverwaltung.frmApplikation.Get_Data -Methode"/>
<MSHelp:Keyword Index="F" Term="Vertragsverwaltung.frmApplikation.Get_Data"/>
<MSHelp:Keyword Index="F" Term="frmApplikation.Get_Data"/>
<MSHelp:Keyword Index="F" Term="Vertragsverwaltung.frmApplikation.frmApplikation.Get_Data"/>
<MSHelp:Attr Name="DevLang" Value="VB"/>
<MSHelp:Attr Name="DevLangVers" Value="kbLangVB"/>
<MSHelp:Attr Name="DocSet" Value="Visual Basic"/>
<MSHelp:Attr Name="DocSet" Value="Visual Studio"/>
<MSHelp:Attr Name="DocSet" Value="VSM"/>
<MSHelp:Attr Name="Product" Value="VB"/>
<MSHelp:Attr Name="ProductVers" Value="kbVBp700"/>
<MSHelp:Attr Name="Product" Value="VSA"/>
<MSHelp:Attr Name="ProductVers" Value="kbVSA"/>
<MSHelp:Attr Name="Technology" Value="ManagedCode"/>
<MSHelp:Attr Name="TechnologyVers" Value="kbManagedCode"/>
<MSHelp:Attr Name="TopicType" Value="kbSyntax"/>
<MSHelp:Attr Name="TargetOS" Value="Windows"/>
<MSHelp:Attr Name="Locale" Value="kbEnglish"/>
</xml>
<META name="rtfFileName" content="">
<META NAME="save" CONTENT="history">
<!--CSS_START-->
<SCRIPT SRC="MSHelp/scripts/dtuelink.js"></SCRIPT>
<!--CSS_END-->
<SCRIPT language="JavaScript">
function indent(level) {
for (i=1; i<=level; i++) {
document.write("&nbsp;&nbsp;&nbsp;");
}
}
</SCRIPT>
</HEAD>
<body topmargin=0 id="bodyID" class = "dtBODY"><!--NONSCROLLING BANNER START-->
<div id="nsbanner">
<div id="bannerrow1">
<TABLE CLASS="bannerparthead" CELLSPACING=0>
<TR ID="hdr">
<TD CLASS="runninghead" nowrap>Vertragsverwaltung-Klassenbibliothek</TD>
<TD CLASS="product" nowrap>&nbsp;</TD>
</TR>
</TABLE>
</div>
<div id="TitleRow">
<H1 class="dtH1"><A NAME="topic_0000000000000F3F"></A>frmApplikation.Get_Data -Methode</H1>
</div></div>
<!--NONSCROLLING BANNER END-->
<DIV id="nstext" valign="bottom"><!---->
<P>Daten ab DB laden uns ins Form befüllen</P>
<PRE class="syntax"><SPAN class="lang">[Visual&nbsp;Basic]
</SPAN><B>Private Sub Get_Data( _&nbsp;<br> ByVal <i>Applikationnr</i> As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemInt32ClassTopic.htm">Integer</a> _&nbsp;<br>)</B></PRE>
<H4 class="dtH4">Parameter</H4>
<dl>
<dt><i>Applikationnr</i></dt>
<dd></dd>
</dl>
<H4 class="dtH4">Quellcode</H4>
<pre class="code"><SPAN class="lang">[Visual&nbsp;Basic]</SPAN>
Private Sub Get_Data(ByVal Applikationnr As Integer)&nbsp;<br> Try&nbsp;<br> Applikation.Get_Applikation(Applikationnr)&nbsp;<br> Me.txtBezeichnung.Text = Applikation.sBezeichnung.Value&nbsp;<br> Dim i As Integer = Me.cbboxParentTree.TreeView.Height&nbsp;<br> Me.cbboxParentTree.TreeView.Height = 0&nbsp;<br> Me.cbboxParentTree.TreeView.Visible = True&nbsp;<br> Me.cbboxParentTree.SelectedNode = Me.TreeParent.FindNode(Me.cbboxParentTree.TreeView.Nodes, Applikation.iParentID.Value, &quot;&quot;)&nbsp;<br> Application.DoEvents()&nbsp;<br> Me.cbboxParentTree.TreeView.Visible = False&nbsp;<br> Me.cbboxParentTree.TreeView.Height = i&nbsp;<br> Me.cbboxVerantwortung.SelectedValue = Applikation.iApplikationVerantwortungNr.Value&nbsp;<br> Me.cbboxTeam.SelectedValue = Applikation.iApplikationTeamnr.Value&nbsp;<br> Me.cbboxKategorie.SelectedValue = Applikation.iApplikationKategorieNr.Value&nbsp;<br> Me.cbboxMarktbereich.SelectedValue = Applikation.iMarktbereichnr.Value&nbsp;<br> Me.txtInaktivseit.Text = Applikation.daInaktivseit.ToString&nbsp;<br> Me.txtVersion.Text = Applikation.sVersion.Value&nbsp;<br> Me.cbalsProdukt.Checked = Applikation.bAlsProdukt.Value = True&nbsp;<br> Me.cbLizenzerfassung.Checked = Applikation.bNurLizenz.Value = True&nbsp;<br> Me.txtPrioWiederanlauf.Text = Applikation.sPrioWiederanlauf.Value&nbsp;<br> Me.cboxSecurityLevel.SelectedValue = Applikation.iSecurityLevelNr.Value&nbsp;<br> Me.cboxRFCBoard.SelectedValue = Applikation.iRfcBoardNr.Value&nbsp;<br> Me.txterstellt_am.Text = Applikation.daErstellt_am.ToString&nbsp;<br> Me.txtmutiert_am.Text = Applikation.daMutiert_am.ToString&nbsp;<br> Me.txtmutierer.Text = Applikation.iMutierer.ToString&nbsp;<br> Me.cbAktiv.Checked = Applikation.bAktiv.Value = True&nbsp;<br> Me.cbRAS.Checked = Applikation.bRAS.Value = True&nbsp;<br> Me.txtDBName.Text = Applikation.sDatenbankname.Value&nbsp;<br> Me.txtAnzInstallationen.Text = Applikation.sAnzahl_Installationen.Value&nbsp;<br>&nbsp;<br> Me.txtKurzbeschreibung.Text = Applikation.sKurzbeschreibung.Value&nbsp;<br> If Microsoft.VisualBasic.Left(Me.txtKurzbeschreibung.Text, 7) = &quot;- Modul&quot; Then&nbsp;<br> Dim fnt As New Font(&quot;Courier New&quot;, 8.25)&nbsp;<br> Me.txtKurzbeschreibung.Font = fnt&nbsp;<br> End If&nbsp;<br>&nbsp;<br> Me.cbTicketXPertVerwendung.Checked = Applikation.bTicketXPertVerwendung.Value = True&nbsp;<br> If Me.cbTicketXPertVerwendung.Checked = False Then&nbsp;<br> Me.grpTicketXpert.Enabled = False&nbsp;<br> Else&nbsp;<br> Me.grpTicketXpert.Enabled = True&nbsp;<br> End If&nbsp;<br>&nbsp;<br> Try&nbsp;<br> Me.cbboxTestaufwand.SelectedValue = Applikation.sTest_Aufwand.Value.ToString&nbsp;<br> Catch ex As Exception&nbsp;<br> Me.cbboxTestaufwand.SelectedValue = 1&nbsp;<br> End Try&nbsp;<br> Me.txtTestArbeitsplaetze.Text = Applikation.sTest_Arbeitsplaetze.Value&nbsp;<br> Me.txtAbhaengigkeiten.Text = Applikation.sTest_Abhaengigkeiten.Value&nbsp;<br> Me.txtBemerkung.Text = Applikation.sTest_Bemerkung.Value&nbsp;<br>&nbsp;<br> Me.cbWPIAnzeigen.Checked = Applikation.bTicketXPert_WPIAnzeigen.Value = True&nbsp;<br> Me.txtWPIPreis.Text = Applikation.sTicketXPert_Preis.Value&nbsp;<br> Me.txtPreisEinmalig.Text = Applikation.sTicketXPert_Preis_Einmalig.Value&nbsp;<br>&nbsp;<br> Me.cbAMAnzeigen.Checked = Applikation.bTicketXPert_AMAnzeigen.Value = True&nbsp;<br> Me.cbboxKritikalität.SelectedValue = Applikation.iTicketXPert_ApplikationKritikalitaetTypNr.Value&nbsp;<br> Me.cbboxSLM.SelectedValue = Applikation.iTicketXPert_ApplikationSMLTypNr.Value&nbsp;<br>&nbsp;<br> Set_Checkedlistbox(Me.lboxInstalliertauf, Me.Applikation.ApplikationInstallationTyp)&nbsp;<br> Set_Checkedlistbox(Me.lboxInstalliertals, Me.Applikation.ApplikationInstallationals)&nbsp;<br> Set_Checkedlistbox(Me.lboxStandardFuer, Me.Applikation.ApplikationInstallationFuer)&nbsp;<br>&nbsp;<br>&nbsp;<br> Me.cbSensitiveDaten.Checked = Me.Applikation.bSensitiveDaten.Value = True&nbsp;<br> Me.txtSensitiveDaten.Text = Me.Applikation.sSensitiveDatenBemerkung.Value&nbsp;<br> Me.cbboxAdministriertdurch.SelectedValue = Me.Applikation.iSensitiveDatenAdministriertdurch.Value&nbsp;<br> Me.TxtUeberwachung.Text = Me.Applikation.sSensitiveDatenUeberwachungBemerkung.Value&nbsp;<br> Me.cbboxPeriodizitaet.SelectedValue = Me.Applikation.iSensitiveDatenUeberwachungPeriodizitaet.Value&nbsp;<br> Me.TxtUser.Text = Me.Applikation.sSensitiveDatenUserBemerkung.Value&nbsp;<br> Me.TxtAnzComit.Text = Me.Applikation.iSensitiveDatenAnzahlComit.Value&nbsp;<br> Me.txtAnzExterne.Text = Me.Applikation.iSensitiveDatenAnzahlExterne.Value&nbsp;<br>&nbsp;<br>&nbsp;<br> Try&nbsp;<br> Me.cbAktiv.Checked = Applikation.bAktiv.Value = True&nbsp;<br>&nbsp;<br> Catch ex As Exception&nbsp;<br> Me.cbAktiv.Checked = True&nbsp;<br> End Try&nbsp;<br> If Not Anzeige And Not Me.FormReadonly Then&nbsp;<br> For Each o As Object In Me.ToolStrip1.Items&nbsp;<br> If o.GetType.Name = &quot;ToolStripButton&quot; Then&nbsp;<br> o.Enabled = True&nbsp;<br> End If&nbsp;<br> Next&nbsp;<br> 'For Each ctl As ToolStripButton In Me.ToolStrip1.Items&nbsp;<br> ' Try&nbsp;<br> ' ctl.Enabled = True&nbsp;<br> ' Catch&nbsp;<br> ' End Try&nbsp;<br> 'Next&nbsp;<br> End If&nbsp;<br> sec.Set_Form_Security(Me)&nbsp;<br> Me.FormDataChanged = False&nbsp;<br> Catch ex As Exception&nbsp;<br> Try&nbsp;<br> For Each ctl As ToolStripButton In Me.ToolStrip1.Items&nbsp;<br> ctl.Enabled = False&nbsp;<br> Next&nbsp;<br> Catch&nbsp;<br> End Try&nbsp;<br> Me.TSBtnQuit.Enabled = True&nbsp;<br> Me.TSBtnSuche.Enabled = True&nbsp;<br> End Try&nbsp;<br> Me.FormDataChanged = False&nbsp;<br>&nbsp;<br> End Sub
</pre>
<H4 class="dtH4">Forderungen</H4>
<P><b class="le">Plattformen:&nbsp;</b>Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition</P>
<H4 class="dtH4">Siehe auch</H4>
<p>
<a href="topic_0000000000000F26.html">frmApplikation</a>
</p>
<DIV CLASS="footer">
<HR>
Generated by VBdocman .NET
<p>
</div></div>
</BODY>
</HTML>