text stringlengths 43 2.01M |
|---|
'Represents a custom dialog generated by the NX Block UI Styler
'------------------------------------------------------------------------------
Partial Public Class FavoritePicker
Inherits Snap.UI.BlockDialog
Public Shared theFavoritePicker As FavoritePicker
Private ChooseFruit As Snap.UI.Block.Enumeration '... |
Imports System.ComponentModel.DataAnnotations
Public Class clsSalesChannel
Enum ChannelTypeEnum
''' <summary>
''' A custom Channel Type
''' </summary>
Custom = -2
''' <summary>
''' The customer has taken this item. Nothing further to action.
''' </summary>... |
Public Module VbModule
Public Class VbClass
Public Shared Sub Main()
Run()
End Sub
Public Shared Function encrptPassword(ByVal password As String) As String
Dim I As Integer
Dim strtemppassword As String = ""
For I = 1 To Len(password)
... |
Imports System.ComponentModel
Imports System.IO
#Region "PersonRepository Class"
' **********************************************
' ****
' ****** Class
' ****
' **********************************************
'
Public MustInherit Class PeopleRepository
'
' **********************************************
... |
Imports System.Windows.Forms
Imports System.Runtime.CompilerServices
Namespace Extension
Public Module TextBoxHelper
Private lasttime As New Dictionary(Of TextBox, DateTime)
<Extension()>
Public Sub ShowMsg(tb As TextBox, msg As String)
If tb.InvokeRequired Then
... |
Namespace Agent
Public Class AgentConfiguration
Public Property AgentProperty As String
Public Property AgentValue As String
End Class
Public Class AgentData
Public Property AgentName As String
Public Property AgentClass As String
Public Property AgentProperty As S... |
Public Class clsRIFF
Implements IDisposable
Private Structure ChunkHeader
Public ChunkID As String
Public ChunkSize As UInt32
Public Format As String
End Structure
Private Structure Chunk
Public Header As ChunkHeader
Public Data As Byte()
End Structure
Private bValid As Boolean
Privat... |
Public MustInherit Class ArquivoRemessa
Implements IRemessa
Private MeuArquivo As List(Of LinhaArquivo)
Public Shared Function GetInstance(ByVal CodigoLayout As Integer) As IRemessa
Try
Dim Valor As LayoutsDescricao = New LayoutsDescricao(CodigoLayout, String.Empty)
Dim No... |
Namespace TrackingListener
<Serializable()> Public MustInherit Class ATrackingListener
Private WithEvents CPiTrackingSource As TrackingSource
Public Channel As Integer = -1
#Region "Events"
Public Event ValueReceived(ByVal CiValue As TrackingValue)
Public Event Started()
Public Event Stopp... |
Imports LN
Imports LN.Estructuras
Public Class frmBuscarUsuario
Enum CAMPOS_COLUNMAS
IDROL = 0
CEDULA = 1
NOMBRE = 2
APELLIDO1 = 3
APELLIDO2 = 4
CORREO = 5
GENERO = 6
NOMBREROL = 7
End Enum
''' <summary>
''' Evento del botón Salir
... |
Public Class Tile
Property id As Integer
Property id_mat1 As Integer
Property id_mat2 As Integer
Property material As Material
Property material2 As Material
Property texture As Rectangle
Property texture2 As Rectangle
Public Sub New(new_id As Integer, new_material As Material)
... |
Imports cv = OpenCvSharp
Imports System.Text.RegularExpressions
Public Class FloodFill_Basics_MT : Implements IDisposable
Public sliders As New OptionsSliders
Dim grid As Thread_Grid
Public srcGray As New cv.Mat
Public externalUse As Boolean
Public Sub New(ocvb As AlgorithmData)
grid = New... |
Imports System.IO
Imports System.Net
Imports Newtonsoft.Json
Public Class AppDetail
Public appDetailInfo As AppInfos
Public Sub showApp(appinfo As AppInfos)
appDetailInfo = appinfo
Dim webClient As New WebClient
lblAppName.Text = appDetailInfo.Name
lblAuthor.Text = ... |
Imports System.ComponentModel.DataAnnotations
Imports Nukepayload2.ConsoleFramework
Public Class App
<EntryMethod()>
Public Sub StartUp(
<Display(Name:="original", ShortName:="o", Description:="原始文件目录。")>
srcA As String,
<Display(Name:="compare", ShortName:="c", Description:="要跟原始文件比较的... |
Imports System
Imports System.Collections.Generic
Imports System.ComponentModel.DataAnnotations
Imports System.ComponentModel.DataAnnotations.Schema
Imports System.Data.Entity.Spatial
Imports Newtonsoft.Json
<Table("tblNOISubmissionTaxParcels")>
Partial Public Class NOISubmissionTaxParcels
Implements IEntity
... |
' NOTE: You can use the "Rename" command on the context menu to change the class name "Service1" in code, svc and config file together.
' NOTE: In order to launch WCF Test Client for testing this service, please select Service1.svc or Service1.svc.vb at the Solution Explorer and start debugging.
Imports WcfGeneric
Imp... |
Imports System.Configuration
Imports MySql.Data.MySqlClient
Public Class writeExam
Dim _con As New MySqlConnection(ConfigurationManager.ConnectionStrings("myConnection").ConnectionString)
Dim _cmd As MySqlCommand
''' <summary>
''' The timercount
''' </summary>
Dim _timercount As Integer 'The... |
Imports Talent.Common
Imports TEBUtilities = Talent.eCommerce.Utilities
Imports TCUtilities = Talent.Common.Utilities
Imports System.Data
Partial Class PagesPublic_Basket_PromotionDetails
Inherits TalentBase01
#Region "Class Level Fields"
Private _wfrPage As New WebFormResource
Private _languageCode As ... |
Private Sub CityCode_Validate(results As ScreenValidationResultsBuilder)
If Me.CityCode.Length < 3 Then
results.AddPropertyError("This string must have at least 3 letters.")
End If
End Sub |
' ################################################################################
' # EMBER MEDIA MANAGER #
' ################################################################################
' ####################################################################... |
Public Class ContextoTransaccion
Public Property ID_CONTEXTO As Integer
Public Property ID_TX As String
Public Property FECHA_INICIO As Date
Public Property ID_DEF_PROCESO As String
Public Property NOMBRE_PROCESO As String
Public Property ID_USUARIO_APP As String
Public Property ID_EMISOR A... |
'=============================================================================
'
' Copyright 2008 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.
'
'=============================================================================
'
' ==============================================================... |
Imports System.IO
Imports Aspose.Tasks
Imports Aspose.Tasks.Saving
'
'This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Tasks for .NET API reference
'when the project is build. Please check https://docs.nuget.org/consume/nuget-faq for more information.
'If you do not wish to use NuGet, y... |
Imports System.Data
Imports Microsoft.Data.Odbc
Public Class NWDSAOdbcFactory : Inherits NWDSAAbstractFactory
Private m_conODBC As New OdbcConnection()
Protected Overrides Sub Finalize()
If Not (m_conODBC.State = ConnectionState.Closed) Or _
Not (m_conODBC.State = ConnectionState.Broken) T... |
Imports System.Linq
Imports DevExpress.Data.Filtering
Imports DevExpress.Xpo
Imports DevExpress.Persistent.Base
''' <summary>
''' Represents a user that is allowed to use the DMS. Every filesystem user is allocated their own home directory for their own files, and may be granted access to other directories within the ... |
Public Class EditEventForm
Private DB As New DBAccess
Private Const SPRING As String = "Spring"
Private Const SUMMER As String = "Fall"
Private Const FALL As String = "Summer"
Private Const NOT_CORRECT_INPUT As String = "Not correct input"
Private Const CORRECT_INPUT As String = "correct"
P... |
Public Class PayStub
#Region "CONSTANTS"
Private Const FEDERAL_TAX_RATE As Decimal = 0.052
Private Const STATE_TAX_RATE As Decimal = 0.008
Private Const SOCAIL_SECURITY_TAX_RATE As Decimal = 0.062
Private Const MEDICARE_TAX_RATE As Decimal = 0.01449
#End Region
#Region "PROPERTIES"
' Pay Period St... |
Imports System
Public Module Program
' esta variable es accesible en cualquier lugar de la solución
Public publica As String
Sub Main()
Dim dato1, dato2, resultado As Integer
dato1 = 20
dato2 = 10
' suma
resultado = dato1 + dato2
' el método writeline reemp... |
Public Class Form1
Implements PIEHid32Net.PIEDataHandler
Implements PIEHid32Net.PIEErrorHandler
Dim devices() As PIEHid32Net.PIEDevice
Dim selecteddevice As Integer
Dim cbotodevice(127) As Integer 'max # of devices = 128
Dim wdata() As Byte = New Byte() {} 'write data buffer
' This delegat... |
Imports System.ServiceProcess
Imports System.Diagnostics
Imports System.Runtime.Remoting
Public Class RemotingService
Inherits System.ServiceProcess.ServiceBase
Public Shared SVC_NAME As String = ".NET Remoting Sample Service"
Private Shared evt As New EventLog("Application")
Public Sub New()
... |
Public MustInherit Class ISODownloadHelper
Public MustOverride ReadOnly Property DownloadName As String
Public MustOverride ReadOnly Property DownloadFileName As String
Public MustOverride Function GetDownloadURL() As String
Public Overridable Sub Download(strToFile As String, wndParent As IWin32... |
Namespace Route4MeSDK.QueryTypes
''' <summary>
''' Parameters for the address(es) geocoding request.
''' </summary>
Public NotInheritable Class GeocodingParameters
Inherits GenericParameters
''' <summary>
''' List of the addresses as a multiline text.
''' <remarks><para... |
End of preview. Expand in Data Studio
- Downloads last month
- 6