text stringlengths 43 2.01M |
|---|
Public Module DictionaryExtensions
<System.Runtime.CompilerServices.Extension()> _
Public Function GetValue(Of T)(bag As IDictionary, key As Object, defaultValue As T) As T
Try
If bag(key) Is Nothing Then Return defaultValue
Return CType(bag(key), T)
Catch ex As Exception
Return defaultValue
End Try
... |
Imports System.Text
Public Class cEncode
Private enc As Encoding
Public Sub New(ByVal encStr As String)
enc = Encoding.GetEncoding(encStr)
End Sub
Public Function Encode(ByVal str As String) As String
Return Convert.ToBase64String(enc.GetBytes(str))
End Function
Public Func... |
Imports DTIServerControls
Imports DTISortable
Imports DTIMiniControls
''' <summary>
''' Adds dynamic page creation and ability to switch to layout, edit or preview mode. Best used on a master page where automatic templates will take effect.
''' </summary>
''' <remarks></remarks>
<System.ComponentModel.Description("Add... |
Option Explicit On
Public Class Form1
Dim acColors As New AutoCompleteStringCollection()
Dim acAnimal As New AutoCompleteStringCollection()
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
acColors.AddRange(New String() {"Red", "Orange", "Red Orange", "Blue", "Green"... |
Imports System.Text
Imports System.Diagnostics
Class cProcessTask
'*********** Notes about process task ***********'
'[1] If you run something like bcp and it goes into an unresponsive state, it won't output an error, it will just hang at the waitforexit command
' -> as long as you redirect... |
Public Class DBO_CompuestoPor
Private m_LoteFinal As Int32
Private m_LotePartida As Int32
Private m_MovimientoID As Int32
Private m_Cantidad As String
Private m_FechaModificacion As date
Private m_UsuarioModificacion As Int32
Public Sub New()
End Sub
Public Property LoteFinal() As Int... |
Imports Extensions
Namespace Classes
Public Class Employee
Implements IEquatable(Of Employee)
Public Property EmployeeIdentifier() As Integer
Public Property FirstName() As String
Public Property LastName() As String
Public Property DepartmentName() As String
Publi... |
Imports System.IO
Public Class clsRecentFiles
Public mnuItems As New List(Of Form)
Dim strRecentFiles As String = "Recent_Files\recent.mru"
Dim mnuTbShowLast10 As ToolStripDropDownItem
Dim mnuFile As ToolStripMenuItem
Dim sepStart As ToolStripSeparator
Dim sepEnd As ToolStripSeparator
' de... |
Imports Microsoft.Xna.Framework
Public Class Animation
Public Name As String
Public FrameDuration As Integer
Public IterationCount As Integer = -1 ' -1 = Repeat, other numbers = times it is played
Public FrameCount As Integer
Public FrameRect As Rectangle
End Class
|
Imports System.IO
Imports GemBox.Presentation
Module Program
Sub Main()
' If using Professional version, put your serial key below.
ComponentInfo.SetLicense("FREE-LIMITED-KEY")
Dim presentation = New PresentationDocument
' Create New presentation slide.
Dim slide = prese... |
Imports StudentSection.DataLayer
Imports StudentSection.DomainClasses
Namespace Services
Public Class StatService
Private _uow As UnitOfWorkStudentSection
Private _StatRepo As IStatRepository
Private _AthleteRepo As IAthleteRepository
Private _CollegeRepo As ICollegeRepository
... |
Public Class StepMFCs
Public xmlMFCs As XElement
Public MFCs() As StepMFC
Private dimSize As Integer = 8
Public count As Integer = 0
Public listViewStep As ListViewItem
Public Sub New(ByRef xmlMFCs As XElement, ByRef listViewStep As ListViewItem)
Me.xmlMFCs = xmlMFCs
Me.listViewStep = listViewStep
... |
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'Developer Date created/modified comments
'-----------------------------------------------------------------------------------------------... |
Imports System.Collections.ObjectModel
Imports System.Linq
Imports System.Reflection
Imports BVSoftware.BVC5.Core
Namespace ImportExport.CatalogData
Public Class ProductCategoryImport
Inherits BaseImport
Private _CategoryId As String = Nothing
Private _Category As Catalog.Category = Noth... |
Imports Infoware.Datos
Imports Infoware.Reglas
Imports Infoware.Reglas.General
Imports Infoware.Consola.Base
Imports ActivosFijos.Reglas
Public Class FrmListaActivoCustodioAprobar
Private mActivoCustodio As ActivoCustodio = Nothing
Public Property ActivoCustodio() As ActivoCustodio
Get
If ListBindingSour... |
Public Class AVSBO
Public Property PermitKey As Integer
Public Property PermitID As String
Public Property SiteName As String
Public Property AVSEntryDate As Date?
Public Property AVSCompletenessEvaluationDate As Date?
Public Property AVSAcceptabilityEvaluationDate As Date?
Public Property ... |
Public Class ThamSoDTO
Public Sub New()
_SoLuongNhapToiThieu = 150
_SoLuongTonToiDaTruocKhiNhap = 300
_SoTienNoToiDa = 20000
_SoLuongTonToiThieuSauKhiBan = 20
_SuDungQuyDinh4 = True
End Sub
Dim _SoLuongNhapToiThieu As Integer
Dim _SoLuongTonToiDaTruocKhiNhap As... |
Option Explicit On
Namespace BO
Public MustInherit Class BoEdition_Color
Inherits Bo
Private m_fieldsNames As String() = {"IdEdition", "IdColor"}
Dim m_Edition As BoEdition
Dim m_Color As BoColor
Public Overrides Function GetTableName() As String
Return "Edi... |
Public Class Form1
Private Sub btnClose_Click(sender As Object, e As EventArgs) Handles btnClose.Click
Me.Close() 'to close the system
End Sub
Private Sub btnClear_Click(sender As Object, e As EventArgs) Handles btnClear.Click
txtIc.Clear() 'to clear value in the text box
End Sub
... |
Public Class frmTimeSpan
Public Event Changed(ByVal aUTCoffset As TimeSpan)
Private pPopulating As Boolean = False
Private pLayers As New Generic.List(Of clsLayer)
Public Sub PopulateList(ByVal aLayers As Generic.List(Of clsLayer))
Dim lSelectedIndex As Integer = -1
pPopulati... |
Option Explicit On
Public Class Idioma
Public Property id As String
Public Property nombre As String
End Class
Public Class IdiomaTexto
Public Property original As String
Public Property traduccion As String
Public Property page As String
Public Property control As String
End Class |
'Copyright 2015 - 2016 Alldroid Media
'
'Licensed under the Apache License, Version 2.0 (the "License");
'you may not use this file except in compliance with the License.
'You may obtain a copy of the License at
'
' http://www.apache.org/licenses/LICENSE-2.0
'
'Unless required by applicable law or agreed to in writi... |
Imports Microsoft.VisualBasic
Imports System.Collections.Generic
Imports MB.TheBeerHouse.DAL
Namespace MB.TheBeerHouse.BLL.Store
Public Class Department
Inherits BaseStore
' ==========
' Private variables
' ==========
Private _title As String = ""
Private _importan... |
Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Text
Namespace GridDemo
Public NotInheritable Class VirtualDataSourceValuesProvider
Private Sub New()
End Sub
Public Const UniqueTypesCount As Integer = 5
Public Const DateTimePropertyOffset As In... |
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' Copyleft (C) 2018 - coded by Marcos A. Guerine [mguerine@id.uff.br].
'
' Based on http://www.instructables.com/id/How-to-Program-Arduino-Bluetooth-Serial-Communicat/
'
' This file is part of a Bluetooth Controller for ... |
Public Class spCargasNecesidades
inherits BasesParaCompatibilidad.sp
Public Sub New()
MyBase.New("", "", "", "", "", "")
End Sub
Private _Seleccion As Integer = 0
Private _Insert As Integer = 1
Private _Update As Integer = 2
Private _Delete As Integer = 3
Public ReadOnly P... |
Option Strict On
Option Explicit On
Imports QuakeStats
Partial Class site_QuakeStats
Inherits System.Web.UI.MasterPage
Private mobjStats As clsStatsManager
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
'Get stats manager
mobjStats = CType(A... |
Imports Entities
Imports Domain
Public Class frmVE
Private Sub frmLogin_Load(sender As Object, e As EventArgs) Handles MyBase.Load
'Se cambia el nombre de la ventana por Log In
Me.Text = "Montes del Plata - Log In"
'Se ajusta el panel del Login para que ocupe toda la ventana
loginPa... |
''' <summary>
''' 绘制器接口
''' </summary>
Public Interface IPainter
''' <summary>
''' 绘制时发生的事件
''' </summary>
Event UpdatePaint(sender As Object, e As UpdatePaintEventArgs)
''' <summary>
''' 开始
''' </summary>
Sub Start(lines As List(Of ILine))
''' <summary>
''' 暂停
''' </summary... |
Imports System
Imports System.Globalization
Imports System.Linq
Imports System.Windows
Imports System.Windows.Controls
Imports System.Windows.Data
Imports DevExpress.Mvvm
Imports DevExpress.Xpf.Bars
Imports DevExpress.Xpf.Charts
Namespace ChartsDemo
Partial Public Class ChartsDemoRibbon
Inherits UserContro... |
Imports BioNovoGene.Analytical.MassSpectrometry.Math.Spectra.Xml
Namespace PoolData
''' <summary>
''' a spectrum cluster node collection proxy
''' </summary>
Public MustInherit Class MetadataProxy
Default Public MustOverride ReadOnly Property GetById(id As String) As Metadata
Public ... |
Imports System.Collections.Generic
Imports System.Diagnostics
Imports System.Text
Imports System.Windows.Input
Imports devDept.Eyeshot
Imports devDept.Graphics
Imports devDept.Geometry
Imports devDept.Eyeshot.Entities
Imports System.Drawing
Imports System.Collections
Imports KeyEventArgs = System.Windows.Input.KeyEven... |
Option Explicit Off
Imports System.Windows.Interop
Public Class AboutWindow
Protected Overrides Sub OnSourceInitialized(ByVal e As EventArgs)
MyBase.OnSourceInitialized(e)
ExtendGlass()
LabelVersion.Content = "Version " + My.Application.Info.Version.Major.ToString + "." + My.Application.Inf... |
<ToolboxData("<{0}:ToolTip ID=""ToolTip1"" runat=""server""> </{0}:ToolTip>"), ComponentModel.ToolboxItem(False), Obsolete("This Method is Deprecated, use JqueryUIControls.ToolTip instead.")> _
Public Class ToolTip
Inherits Panel
#Region "Properties"
Private _text As String = ""
''' <summary>
''' Text... |
Public MustInherit Class Person
Public Property FirstName() As String
Public Property LastName() As String
Public MustOverride Sub Display()
Public Sub New(fName As String, lName As String)
FirstName = fName
LastName = lName
End Sub
End Class
Public Class Client
Inherits Per... |
Imports cv = OpenCvSharp
Imports OpenCvSharp.XFeatures2D
'https://github.com/shimat/opencvsharp/wiki/ORB-and-FREAK
Public Class FREAK_Basics : Implements IDisposable
Public Sub New(ocvb As AlgorithmData)
ocvb.desc = "Find keypoints using ORB and FREAK algorithm"
End Sub
Public Sub Run(ocvb As Algor... |
Namespace ExceptionHandlers
Public Class DatabaseCascadeExceptionHandler
Implements ICascadeExceptionHandler
Public ReadOnly Property NextHandler As ICascadeExceptionHandler Implements ICascadeExceptionHandler.NextHandler
Get
Return Nothing
End Get
E... |
Imports ChartDirector
Public Class FrmXYZoomScroll
' Data arrays
Dim dataX0 As Double()
Dim dataY0 As Double()
Dim dataX1 As Double()
Dim dataY1 As Double()
Dim dataX2 As Double()
Dim dataY2 As Double()
Private Sub FrmXYZoomScroll_Load(ByVal sender As Object, ByVal e As EventArgs) _
... |
'==========================================================================
'
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
' ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
' THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
' PARTICULAR PURPOSE.
'
' Copyright (c)... |
Imports System
Imports System.Collections.Generic
Imports System.Text
Imports System.Runtime.InteropServices
Module SLABCP2110
'///////////////////////////////////////////////////////////////////////////
' SLABCP2110.h
' For SLABHIDtoUART.dll version 2.0
' and Silicon Labs CP2110 HID to UART
'/////... |
Imports System
Imports System.Collections.Generic
Imports System.Collections.ObjectModel
Imports System.ComponentModel
Imports System.Drawing
Imports System.IO
Imports System.Linq
Imports System.Text
Imports System.Threading.Tasks
Imports System.Windows.Forms
Imports SyncfusionWindowsFormsApplication1
#Region "Pictur... |
Public Class ClassNhanvien
Private _manv, _hotennhanvien, _gioitinh, _diachi, _sdt As String
Private _ngaysinh As Date
Public Sub New()
End Sub
Public Property Diachi As String
Get
Return _diachi
End Get
Set(value As String)
_diachi = value
... |
Attribute VB_Name = "Module1"
Option Explicit
Public Sub Process()
Const elementsInGroupCount As Integer = 4
Dim sourceWorksheet As Worksheet
Dim destinationWorksheet As Worksheet
Set sourceWorksheet = ThisWorkbook.Sheets("original")
Set destinationWorksheet = ThisWorkbook.Sheets("ne... |
Private Function IsNINOValid(ByVal NINO As String)
'Presence Check
If NINO = "" Then
IsNINOValid = "Missing NINO"
Exit Function
End If
'Test length
If Len(NINO) > 9 Then IsNINOValid = "NINO: Too Long"
If Len(NINO) < 8 Then IsNINOValid = "NINO: Too Short"
If IsNINOValid <> "... |
Public Class FolhaPgtoTributos
Dim Ação As New TrfGerais()
Private Operation As Byte
Const INS As Byte = 0
Const UPD As Byte = 1
Const DEL As Byte = 2
Private Sub FecharBT_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FecharBT.Click
Me.Close()
... |
Imports System.Runtime.InteropServices
Imports System.Drawing
Imports ESRI.ArcGIS.ADF.BaseClasses
Imports ESRI.ArcGIS.ADF.CATIDs
Imports ESRI.ArcGIS.Framework
Imports ESRI.ArcGIS.ArcMapUI
Imports System.Windows.Forms
Imports ESRI.ArcGIS.Controls
Imports ESRI.ArcGIS.Carto
Imports ESRI.ArcGIS.Editor
Imports SanGISMainte... |
Imports System
Imports System.Windows
Imports DevExpress.Mvvm.POCO
Imports DevExpress.Xpf.Core
Imports DevExpress.Xpf.Scheduling
Imports DevExpress.Xpf.Scheduling.OutlookExchange
Namespace SchedulingDemo.ViewModels
Public Enum OutlookExchangeType
Import
Export
End Enum
Public Class OutlookE... |
Imports UGPP.CobrosCoactivo.Entidades
Imports UGPP.CobrosCoactivo.Logica
Public Class SolicitudReasignación
Inherits System.Web.UI.UserControl
''' <summary>
''' Variable que indica si hubo un error al guardar la priorización
''' </summary>
''' <returns></returns>
Public Property errorReasigna... |
Namespace MVVMDemo.Converters
Public Enum StartState
Ready
Steady
Go
End Enum
End Namespace
|
#Region "Imports directives"
Imports System
Imports System.Threading
Imports System.Security.Principal
Imports System.Diagnostics
Imports System.Reflection
Imports System.Drawing
Imports System.Windows.Forms
Imports System.ComponentModel
#End Region
Namespace Security
Public Class LoginEventArgs
Inherits E... |
'Project: Quiz 3
'Programmer: Arthur Buckowitz
'Date: June 26, 2012
'Description: Allows the user to hire a new person with input and clicking hire button, fire current employees, moving their name
' to the past employees list, or re-hire past employess, moving their name to the curr... |
Public Class VCausas
Public idCausa As Integer
Public Descripcion As String
'setter y getters
Public Property gid_Causa
Get
Return idCausa
End Get
Set(value)
idCausa = value
End Set
End Property
Public Property getDescripcion
Ge... |
Imports ESRI.ArcGIS.Carto
Imports ESRI.ArcGIS.Geometry
Imports System.Text.RegularExpressions
Imports ESRI.ArcGIS.Geodatabase
Imports ESRI.ArcGIS.esriSystem
'**
'Nom de la composante : clsCreerGeometrie.vb
'
'''<summary>
''' Classe qui permet de créer des nouvelles géométries complexes ou multiples selon diverses mét... |
Option Explicit On
Option Strict On
Imports System.Windows.Forms
Public Class ctlButton2
Inherits System.Windows.Forms.UserControl
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent... |
Public Class Room
Public Property Id As Integer
Public Property User As User
Public Property Description As String
End Class |
' Copyright (c) 2013-15 Arumsoft
' All rights reserved.
'
' Created: 21/01/2013. Author: Cloudcoder
'
' This source is subject to the Microsoft Permissive License. http://www.microsoft.com/en-us/openness/licenses.aspx
'
' THE CODE IS PROVIDED ON AN "AS IS" BASIS WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPL... |
Imports System.IO
Imports System.Security.Cryptography
Module modAES
Public Function EncryptStringToBytes_Aes(ByVal plainText As String, ByVal Key() As Byte, ByVal IV() As Byte) As Byte()
' Check arguments.
If plainText Is Nothing OrElse plainText.Length <= 0 Then
Throw New ArgumentNul... |
'Test de la classe dbConnection
Imports System
Imports Microsoft.VisualStudio.TestTools.UnitTesting
Imports vini_DB
<TestClass()> Public Class test_V193
Inherits test_Base
Private m_objPRD As Produit
Private m_objFRN As Fournisseur
<TestInitialize()> Public Overrides Sub TestInitialize()
M... |
Public Class SPPayModeCategories
Public Shared ReadOnly Property DefaulList() As SPPayModeItem()
Get
Dim _DefaultList() As SPPayModeItem = {New SPPayModeItem("Cash", "CASH"), _
New SPPayModeItem("Credit", "CREDIT"), _
... |
Imports AppSimplicity.SchemaDiscovery
Namespace Engine
Public Class CodeGenerator
Private _TemplateConfigurationFile As String
Private _Templates As List(Of TemplateDefinition)
Public ReadOnly Property Templates() As List(Of TemplateDefinition)
Get
Ret... |
Public Class Departments
#Region "Variables"
Dim isNew As Boolean = True
Dim idUpdate As Integer
#End Region
Private Sub DataGridView1_CellContentClick(sender As Object, e As DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick
End Sub
Private Sub Departments_Load(sender As Object,... |
Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Imports System.Text
Imports Neurotec.Biometrics
Imports Neurotec.Biometrics.Standards
Public Class RecordTransformations
Public Shared Function NFRecordToANTemplate(ByVal nfRecord As NFRecord) As ANTemplate
Dim tot As String = ... |
'**************************************************************************
' adnCommerce Online Web Shop
'
' Developer : Cem Ikta
'
' Copyright(c) 2009-2010, adnatives new media agency
' www.adnatives.com
'**************************************************************************
Imports Microsoft.VisualBas... |
Imports System
Imports Microsoft.VisualBasic
Imports ChartDirector
Public Class rose
Implements DemoModule
'Name of demo module
Public Function getName() As String Implements DemoModule.getName
Return "Simple Rose Chart"
End Function
'Number of charts produced in this demo module
Publ... |
Public NotInheritable Class DialogLogin
Private Enum LoginStatus
STATUS_READY = 0
STATUS_CONNECTING = 1
STATUS_AUTHENTICATING = 2
STATUS_AUTHENTICATED = 3
'-- Error Code
STATUS_DB_FAILED = -10
STATUS_USER_NOTFOUND = -20
STATUS_USER_DUPLICATES = -21
... |
Imports System.ComponentModel.DataAnnotations
Imports System.ComponentModel.DataAnnotations.Schema
Imports System.ComponentModel
Imports EskimoClassLibraries
Imports System.Globalization
Public Class AddressConverter
Inherits ExpandableObjectConverter
Public Overrides Function CanConvertTo(context As ITypeDes... |
' Copyright © Decebal Mihailescu 2015
' Some code was obtained by reverse engineering the PresentationFramework.dll using Reflector
' All rights reserved.
' This code is released under The Code Project Open License (CPOL) 1.02
' The full licensing terms are available at http://www.codeproject.com/info/cpol10.aspx... |
Imports System.IO
Imports System.Xml
Public Class FileFunctions
Dim myXwriter As System.Xml.XmlTextWriter
Sub New()
End Sub
#Region "Public Function ProcessDir(ByVal strDir As String, ByVal strFileName As String) As Boolean"
Public Function ProcessDir(ByVal strDir As String, ByVal strFileName As Stri... |
'===============================================================================
' Microsoft Caching Application Block for .NET
' http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/CachingBlock.asp
'
' StorageInfo.vb
' Class that defines the storage provider settings within the cache
' configur... |
Option Explicit On
'An Patel
'CISC113
'This program will give the recommdation of food by AHA.
'(assingh assignment, page 161 #2)
Public Class Nutrition
Dim Food As String
Dim Calories As Integer
Dim Fat As Integer
Dim CalFat As Double
Dim recommedeation As String
Private Sub btnCalCalories... |
Imports System.Drawing.Drawing2D
Imports System.Drawing.Imaging
Imports System.IO
Imports fNbt
Imports MinecraftMapManager.Colour.Conversions
Namespace Data
Public Class MapColours
Public Shared ReadOnly VariantTable = New Double(3) {0.71, 0.86, 1.0, 0.53}
Public Shared ReadOnly ColourTable = New... |
Imports Components
Imports DataLayer
Imports Controls
Imports Events.DataLayer
Imports Events.EventHelper
Imports Common.Extensions
Partial Class modules_events_Day
Inherits ModuleControl
Private ReadOnly Property SitePage() As SitePage
Get
If TypeOf Page Is SitePage Then
... |
Imports System.Runtime.CompilerServices
Imports Defs = mko.VB.Db.BaseEntityViewDefs
Public Module DBSetExtensions
<Extension>
Public Sub UpdateWithObservableViewCollection(Of TEntity As {New, Class}, TEntityView As {BaseEntityView(Of TEntity)})(Entities As System.Data.Entity.DbSet(Of TEntity), EntityViewColl... |
Public Class frmWorker
Dim act As Integer
Dim db As DataBase = New DataBase()
''' <summary>
''' Завантаження форми з параметрами
''' </summary>
''' <param name="id">id працівника для зміни даних</param>
Public Sub loadForm(id As Integer)
'Якщо додаємо працівника то ниічго не заповн... |
Imports System.Data.Entity
Imports System.IO
Imports System.Net
Imports System.Reflection
Imports System.Text
Imports Newtonsoft.Json
''' <summary>
''' Static helper class.
''' </summary>
Module Helper
Private m_DB As New WorkrDB
Private m_JSONSettings As New JsonSerializerSettings() With {.MissingMemberHandl... |
#Region "Microsoft.VisualBasic::5c7020fca5b93170beacac0ae8cb3da4, mzkit\Rscript\Library\mzkit.plot\NMR.vb"
' Author:
'
' xieguigang (gg.xie@bionovogene.com, BioNovoGene Co., LTD.)
'
' Copyright (c) 2018 gg.xie@bionovogene.com, BioNovoGene Co., LTD.
'
'
' MIT License
'
... |
Imports System.Configuration
Public Class MetaDataProviderElementCollection
Inherits ConfigurationElementCollection
Default Public Property Providers(Index As Integer) As MetaDataProviderElement
Get
Return MyBase.BaseGet(Index)
End Get
Set(value As MetaDataProvide... |
Imports System.Data.SqlClient
Public Class T_SEIKYURead
Private connectionString As String
''' <summary>
''' クラス初期化
''' </summary>
Public Sub New()
connectionString = CommonUtility.DBUtility.GetConnectionString
End Sub
''' <summary>
''' 請求枝番の最大取得
''' </summary>
''' <... |
'
' Copyright (c) Clevergy
'
' The SOFTWARE, as well as the related copyrights and intellectual property rights, are the exclusive property of Clevergy srl.
' Licensee acquires no title, right or interest in the SOFTWARE other than the license rights granted herein.
'
' conceived and developed by Marco Fagnano (D.R.T... |
Imports System.Data
Imports System.Data.SqlClient
Imports System.Xml
Namespace Monitors
Public Class MonitorMetadata
#Region "Private Properties"
Private mSQLConn As String
Private mIsNewInstance As Boolean
'Monitor metadata
Private mCurrentDT As Date
Private mIsEnabled A... |
Imports System.Data
Partial Class aspx_relacionAgenciaMarcas
Inherits System.Web.UI.Page
Dim strError As String = String.Empty
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
Dim objUsuFirma As New SNProcotiza.clsUsuariosSistema(Val(Session("cveAcceso")), Val(Sess... |
Imports Microsoft.VisualBasic
Imports System.Data
Imports System.Data.SqlClient
''' <summary>
'''
''' </summary>
Public Class PersonalProfileDAL
''' <summary>
''' Emails the personal information to employee.
''' </summary>
''' <param name="intUsername">The int username.</param>
''' <param name="st... |
Imports DevExpress.Xpo
Imports DevExpress.ExpressApp.DC
Imports DevExpress.Persistent.Base
Imports DevExpress.Persistent.Validation
Imports System.Data
<ImageName("BO_Customer"), XafDefaultProperty("CustomerNumber"), DefaultClassOptions(), Persistent("IRR_Pricing.Customer"), RuleCriteria("Valid ERP Cutomer RuleCriteri... |
<ServiceContract()>
Public Interface iSMS_Rest
<OperationContract(Name:="Starter")>
<WebInvoke(Method:="POST", BodyStyle:=WebMessageBodyStyle.Bare, RequestFormat:=WebMessageFormat.Json, ResponseFormat:=WebMessageFormat.Json, UriTemplate:="Starter")>
Function Starter(starterInput As LoginUserResponse) As L... |
'--------------------------------------------------
' FindReplaceDialog.vb (c) 2002 by Charles Petzold
'--------------------------------------------------
Imports System
Imports System.Drawing
Imports System.Windows.Forms
Class FindDialog
Inherits FindReplaceDialog
Sub New()
Text = "Find"
... |
Imports System.Data.SqlClient
Imports CommonUtilities
Public Class DataUtility
Public Shared Function GetProPositionObject(row As DataRow) As ProPosition
Dim p As New ProPosition()
p.PositionId = Util.GetStringSafely(row("position_id"))
p.PositionName = Util.GetStringSafely(row("position_n... |
Imports System.Runtime.Serialization
Namespace Route4MeSDK.DataTypes.V5
''' <summary>
''' Response from the endpoint /vehicles/location
''' </summary>
<DataContract>
Public NotInheritable Class VehicleLocationResponse
Inherits QueryTypes.GenericParameters
''' <summary>
''... |
Public Class Data
Dim m_TICKET_SUMMARY As String
Dim m_PROGRESS As String
Dim m_CREATED As String
Dim m_DUE_DATE As String
Dim m_CATEGORY As String
Dim m_SUB_CATEGORY As String
Dim m_REQUESTOR As String
Dim m_TICKET As String
Dim m_DESCRIPTION As String
Dim m_STATUS As... |
Namespace Logging
Public Class Entry : Implements IEquatable(Of Entry)
Private ReadOnly _id As Integer
Public ReadOnly Property Level As Level
Public ReadOnly Property Message As String
Public ReadOnly Property TimeStamp As DateTime
Public Sub New(level As Level, message A... |
Imports Route4MeSDKLibrary.Route4MeSDK
Imports Route4MeSDKLibrary.Route4MeSDK.DataTypes
Imports Route4MeSDKLibrary.Route4MeSDK.QueryTypes
Namespace Route4MeSDKTest.Examples
Partial Public NotInheritable Class Route4MeExamples
''' <summary>
''' Example refers to the process of searching for the spe... |
' Name: Play it again Project
' Purpose: Calculate the total number of discs sold and the total sales amount
'
'
'
' Programmer: Jason R. Johnson on 9/28/2015
Public Class MainForm
Private Sub btnExit_Click(sender As Object, e As EventArgs) Handles btnExit.Click
Me.Close()
End Sub
Private Sub... |
'
' SPDX-FileCopyrightText: 2020 DB Systel GmbH
'
' SPDX-License-Identifier: Apache-2.0
'
' Licensed under the Apache License, Version 2.0 (the "License");
' You may not use this file except in compliance with the License.
'
' You may obtain a copy of the License at
'
' http://www.apache.org/licenses/LICENSE-2.0
'... |
Imports System ' For Webpage download
Imports System.Web
Imports System.Xml.Serialization
Imports System.Net
Imports System.IO
Imports System.Text ' For MD5 Hash
Imports System.Security.Cryptography
Public Class frmMain
Inherits System.Windows.Forms.For... |
Imports System.Data.SqlClient
Module mdlDatabaseRelated
#Region "Connections events"
Function OpenConnection()
' Connect to the database. Return True on success
Dim strConnection As String
' Build the connection string
strConnection = "Data Source=.\SQLEXPRESS;AttachD... |
Imports DataDynamics.ActiveReports
Imports DataDynamics.ActiveReports.Export
Imports DataDynamics.ActiveReports.Export.Html
Imports DataDynamics.ActiveReports.Export.Xls
Public Class ViewReport
Private Sub btExportPDF_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btExportPDF.C... |
Imports Route4MeSDKLibrary.Route4MeSDK
Imports Route4MeSDKLibrary.Route4MeSDK.DataTypes
Imports Route4MeSDKLibrary.Route4MeSDK.QueryTypes
Namespace Route4MeSDKTest.Examples
Partial Public NotInheritable Class Route4MeExamples
''' <summary>
''' Get optimizations scheduled to date from the specified... |
Option Strict On
Imports System.Windows.Forms
Imports BOPr
Public Class frmPOSOverride
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
... |
Module AutomatedSearch
' Windows Visual Basic Sample Console Application: AutomatedSearch
'
' ------------------------------------------------------------------------
' Adapted from AutomatedSearch.vbs (Visual Basic Script)
' Copyright (C) Software Bisque (2009?)... |
'===============================================================================
' Microsoft patterns & practices
' CompositeUI Application Block
'===============================================================================
' Copyright © Microsoft Corporation. All rights reserved.
' THIS CODE AND INFORMATION I... |
Public Class LUniform
Inherits ContinuousDistribution
Private _alpha As Double
Private _beta As Double
Private _sampleSize As Int32
Sub New()
End Sub
Sub New(ByVal data() As Double)
SetParameters(data)
End Sub
Sub New(ByVal min As Double, ByVal max As Double)
_alpha... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.