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.
137 lines
9.9 KiB
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(" ");
|
|
}
|
|
}
|
|
</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> </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 Basic]
|
|
</SPAN><B>Private Sub Get_Data( _ <br> ByVal <i>Applikationnr</i> As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemInt32ClassTopic.htm">Integer</a> _ <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 Basic]</SPAN>
|
|
Private Sub Get_Data(ByVal Applikationnr As Integer) <br> Try <br> Applikation.Get_Applikation(Applikationnr) <br> Me.txtBezeichnung.Text = Applikation.sBezeichnung.Value <br> Dim i As Integer = Me.cbboxParentTree.TreeView.Height <br> Me.cbboxParentTree.TreeView.Height = 0 <br> Me.cbboxParentTree.TreeView.Visible = True <br> Me.cbboxParentTree.SelectedNode = Me.TreeParent.FindNode(Me.cbboxParentTree.TreeView.Nodes, Applikation.iParentID.Value, "") <br> Application.DoEvents() <br> Me.cbboxParentTree.TreeView.Visible = False <br> Me.cbboxParentTree.TreeView.Height = i <br> Me.cbboxVerantwortung.SelectedValue = Applikation.iApplikationVerantwortungNr.Value <br> Me.cbboxTeam.SelectedValue = Applikation.iApplikationTeamnr.Value <br> Me.cbboxKategorie.SelectedValue = Applikation.iApplikationKategorieNr.Value <br> Me.cbboxMarktbereich.SelectedValue = Applikation.iMarktbereichnr.Value <br> Me.txtInaktivseit.Text = Applikation.daInaktivseit.ToString <br> Me.txtVersion.Text = Applikation.sVersion.Value <br> Me.cbalsProdukt.Checked = Applikation.bAlsProdukt.Value = True <br> Me.cbLizenzerfassung.Checked = Applikation.bNurLizenz.Value = True <br> Me.txtPrioWiederanlauf.Text = Applikation.sPrioWiederanlauf.Value <br> Me.cboxSecurityLevel.SelectedValue = Applikation.iSecurityLevelNr.Value <br> Me.cboxRFCBoard.SelectedValue = Applikation.iRfcBoardNr.Value <br> Me.txterstellt_am.Text = Applikation.daErstellt_am.ToString <br> Me.txtmutiert_am.Text = Applikation.daMutiert_am.ToString <br> Me.txtmutierer.Text = Applikation.iMutierer.ToString <br> Me.cbAktiv.Checked = Applikation.bAktiv.Value = True <br> Me.cbRAS.Checked = Applikation.bRAS.Value = True <br> Me.txtDBName.Text = Applikation.sDatenbankname.Value <br> Me.txtAnzInstallationen.Text = Applikation.sAnzahl_Installationen.Value <br> <br> Me.txtKurzbeschreibung.Text = Applikation.sKurzbeschreibung.Value <br> If Microsoft.VisualBasic.Left(Me.txtKurzbeschreibung.Text, 7) = "- Modul" Then <br> Dim fnt As New Font("Courier New", 8.25) <br> Me.txtKurzbeschreibung.Font = fnt <br> End If <br> <br> Me.cbTicketXPertVerwendung.Checked = Applikation.bTicketXPertVerwendung.Value = True <br> If Me.cbTicketXPertVerwendung.Checked = False Then <br> Me.grpTicketXpert.Enabled = False <br> Else <br> Me.grpTicketXpert.Enabled = True <br> End If <br> <br> Try <br> Me.cbboxTestaufwand.SelectedValue = Applikation.sTest_Aufwand.Value.ToString <br> Catch ex As Exception <br> Me.cbboxTestaufwand.SelectedValue = 1 <br> End Try <br> Me.txtTestArbeitsplaetze.Text = Applikation.sTest_Arbeitsplaetze.Value <br> Me.txtAbhaengigkeiten.Text = Applikation.sTest_Abhaengigkeiten.Value <br> Me.txtBemerkung.Text = Applikation.sTest_Bemerkung.Value <br> <br> Me.cbWPIAnzeigen.Checked = Applikation.bTicketXPert_WPIAnzeigen.Value = True <br> Me.txtWPIPreis.Text = Applikation.sTicketXPert_Preis.Value <br> Me.txtPreisEinmalig.Text = Applikation.sTicketXPert_Preis_Einmalig.Value <br> <br> Me.cbAMAnzeigen.Checked = Applikation.bTicketXPert_AMAnzeigen.Value = True <br> Me.cbboxKritikalität.SelectedValue = Applikation.iTicketXPert_ApplikationKritikalitaetTypNr.Value <br> Me.cbboxSLM.SelectedValue = Applikation.iTicketXPert_ApplikationSMLTypNr.Value <br> <br> Set_Checkedlistbox(Me.lboxInstalliertauf, Me.Applikation.ApplikationInstallationTyp) <br> Set_Checkedlistbox(Me.lboxInstalliertals, Me.Applikation.ApplikationInstallationals) <br> Set_Checkedlistbox(Me.lboxStandardFuer, Me.Applikation.ApplikationInstallationFuer) <br> <br> <br> Me.cbSensitiveDaten.Checked = Me.Applikation.bSensitiveDaten.Value = True <br> Me.txtSensitiveDaten.Text = Me.Applikation.sSensitiveDatenBemerkung.Value <br> Me.cbboxAdministriertdurch.SelectedValue = Me.Applikation.iSensitiveDatenAdministriertdurch.Value <br> Me.TxtUeberwachung.Text = Me.Applikation.sSensitiveDatenUeberwachungBemerkung.Value <br> Me.cbboxPeriodizitaet.SelectedValue = Me.Applikation.iSensitiveDatenUeberwachungPeriodizitaet.Value <br> Me.TxtUser.Text = Me.Applikation.sSensitiveDatenUserBemerkung.Value <br> Me.TxtAnzComit.Text = Me.Applikation.iSensitiveDatenAnzahlComit.Value <br> Me.txtAnzExterne.Text = Me.Applikation.iSensitiveDatenAnzahlExterne.Value <br> <br> <br> Try <br> Me.cbAktiv.Checked = Applikation.bAktiv.Value = True <br> <br> Catch ex As Exception <br> Me.cbAktiv.Checked = True <br> End Try <br> If Not Anzeige And Not Me.FormReadonly Then <br> For Each o As Object In Me.ToolStrip1.Items <br> If o.GetType.Name = "ToolStripButton" Then <br> o.Enabled = True <br> End If <br> Next <br> 'For Each ctl As ToolStripButton In Me.ToolStrip1.Items <br> ' Try <br> ' ctl.Enabled = True <br> ' Catch <br> ' End Try <br> 'Next <br> End If <br> sec.Set_Form_Security(Me) <br> Me.FormDataChanged = False <br> Catch ex As Exception <br> Try <br> For Each ctl As ToolStripButton In Me.ToolStrip1.Items <br> ctl.Enabled = False <br> Next <br> Catch <br> End Try <br> Me.TSBtnQuit.Enabled = True <br> Me.TSBtnSuche.Enabled = True <br> End Try <br> Me.FormDataChanged = False <br> <br> End Sub
|
|
</pre>
|
|
|
|
|
|
|
|
<H4 class="dtH4">Forderungen</H4>
|
|
<P><b class="le">Plattformen: </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>
|
|
|