text
stringlengths
43
2.01M
Imports ENTITIES Imports BLL Public Class SensorLimiteVista Private vSensorLimiteENT As SensorLimiteENT Public Property SensorLimiteENT() As SensorLimiteENT Get Return vSensorLimiteENT End Get Set(ByVal value As SensorLimiteENT) vSensorLimiteENT = va...
Imports Microsoft.VisualStudio.TestTools.UnitTesting Imports UtilityLibraries Namespace StringLibraryTest <TestClass> Public Class UnitTest1 <TestMethod> Public Sub TestStartsWithUpper() ' Tests that we expect to return true. Dim words() As String = {"Alphabet", "Zebra"...
Imports System.Reflection Module DataGridviewExtensions ''' <summary> ''' Indicates if a job has been assigned for the current row ''' </summary> ''' <param name="GridView"></param> ''' <returns></returns> ''' <remarks></remarks> <System.Diagnostics.DebuggerStepThrough()> _ <Runtime.Co...
Public Class Parcelle Private nam, plant, datedebut, datefin, com As String Private tach As New List(Of Tache) Sub New() MyBase.New() Me.Name = nam Me.Plante = plant Me.Debut = datedebut Me.Fin = datefin Me.Commentaire = "" Me.Taches = Nothing End...
Imports System Imports Microsoft.VisualBasic Imports ChartDirector Public Class posnegbar Implements DemoModule 'Name of demo module Public Function getName() As String Implements DemoModule.getName Return "Positive Negative Bars" End Function 'Number of charts produced in this demo modul...
Imports Cryptlex Public Class Form1 Public Sub New() InitializeComponent() Try 'LexActivator.SetProductFile ("ABSOLUTE_PATH_OF_PRODUCT.DAT_FILE") LexActivator.SetProductData("PASTE_CONTENT_OF_PRODUCT.DAT_FILE") LexActivator.SetProductId("PASTE_PROD...
Public Class Constantes 'Contantes para buscar valores de la tabla app_param Public Const APP_PARAM_HORA_HOMBRE_OPERARIO As String = "Hora/Hombre Operario" Public Const APP_PARAM_GANANCIA As String = "Ganancia" 'String que se guarda en modelo de fresa Public Const MODELO_FRESA_ESTADO_BAJA A...
#Region "Object Notes" 'Terminology and Context: 'AccountID - this account's ID 'ParentID - this account's ParentID. May be the same for root account 'Comments: 'Account can update its own record but cannot change its own parent. 'Account can updates its direct child accounts by UI 'ParentID cannot be changed...
Imports DevExpress.Xpo.Metadata 'Imports DevExpress.ExpressApp.DC Imports DevExpress.Data.Filtering Imports DevExpress.Xpo.DB.Exceptions Imports DevExpress.ExpressApp.Utils Imports DevExpress.ExpressApp.Xpo Imports DevExpress.Xpo Imports DevExpress.Persistent.BaseImpl Imports AcurXAF.UFId.Utils.Helpers Imports DevExpr...
Imports System.Configuration Imports System.IO Imports System.Reflection Imports System.Text.RegularExpressions '-- '-- Class for returning general settings related to our Application, such as.. '-- '-- ** .config file settings '-- ** runtime version '-- ** application version '-- ** version and build date '-- **...
Imports System.Collections.ObjectModel Imports System.ComponentModel Imports System.Data Imports System.Globalization Imports System.IO Imports System.Net Imports System.Text Public Class ViewModel Implements INotifyPropertyChanged <DebuggerBrowsable(Diagnostics.DebuggerBrowsableState.Never)> Private Sha...
Public Class LoaiNguoiDungDTO Private _strMaLoaiNguoiDung As String Private _strTenLoaiNguoiDung As String Public Property StrMaLoaiNguoiDung As String Get Return _strMaLoaiNguoiDung End Get Set(value As String) _strMaLoaiNguoiDung = value End Set ...
Imports Route4MeSDKLibrary.Route4MeSDK Imports Route4MeSDKLibrary.Route4MeSDK.QueryTypes Namespace Route4MeSDKTest.Examples Partial Public NotInheritable Class Route4MeExamples ''' <summary> ''' Get the address book contacts by specified address book group. ''' </summary> Public Su...
Imports System Imports Microsoft.VisualBasic Imports ChartDirector Public Class polarzones Implements DemoModule 'Name of demo module Public Function getName() As String Implements DemoModule.getName Return "Circular Zones" End Function 'Number of charts produced in this demo module P...
Imports BurnSoft.Universal Imports System.Windows.Forms Imports MySql.Data.MySqlClient Imports System.Data.SQLite Imports System.IO Module modMain Dim _sessionId As Long Dim _appProjectMainProcessId As Long Dim _appPath As String Dim _uselocal As Boolean Dim _offline as Boolean Dim _...
' Example program that will convert a string ' into geometry using a true type font and ' extrude the result Option Strict On Imports System Imports System.Drawing Imports System.Drawing.Drawing2D Imports System.Windows.Forms Imports System.Collections Imports NXOpen Imports NXOpen.Features Imports NXOpen.UF Imports ...
Imports System.Windows.Forms Module Program ''' <summary> ''' The main entry point for the application. ''' </summary> ''' <STAThread> Sub Main(ByVal args As String()) Application.EnableVisualStyles() Application.SetCompatibleTextRenderingDefault(False) Using form As ...
Public Class FastMovingItems Public Property code As String Public Property description As String Public Property stock As Double Public Property qty As Double Public Property amount As Double End Class
Imports Otis.Repository Imports System.Data.Entity Public Class ExamenRespuestaRepositorio Private bdContexto As OtisContexto Public Sub New(contexto As OtisContexto) bdContexto = contexto End Sub Public Sub AgregarExamenRespuesta(examenRespuesta As ExamenRespuestaHistorial) bdContex...
Public Class ListUnitType Private m_strTypeCode As String Private m_strDescription As String Public Property TypeCode() As String Get Return m_strTypeCode End Get Set(ByVal value As String) m_strTypeCode = value End Set End Property Public ...
Imports ClassCommun Imports ClassMetier Public Class Recherche Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not (IsPostBack) Then lnkAccueil.NavigateUrl = ConfigurationManager.AppSettings("AccueilUrl") ...
Imports System.Text Imports System.Web Imports System.IO Public Module StringExtensions Public Function UrlDecode(input As String) As String Return HttpUtility.UrlDecode(input) End Function ''' <summary> ''' Uses Uri.EscapeDataString() based on recommendations on MSDN ''' http://blogs.ms...
Public Class Form1 #Region "Globals" Dim speed As Single = 10 ' Ball Speed Dim rndInst As New Random() ' Random instance Dim xVel As Single = Math.Cos(rndInst.Next(5, 10)) * speed Dim yVel As Single = Math.Sin(rndInst.Next(5, 10)) * speed ' The player's scores. Dim compScore As Integer = 0 ...
Imports DCS.ProjectBase.Data Imports DCS.mPosEngine.Core.Domain Namespace DataInterfaces Public Interface IDeviceDao Inherits IGenericDao(Of PosDevice, Long) Function GetDeviceBySerial(ByVal serial As String) As PosDevice Function GetDeviceByName(ByVal name As String) As PosDevice ...
Public Class Log10Normal Inherits ContinuousDistribution Private _mean As Double 'the mean of the input data Private _StDev As Double 'the standard deviation of the input data Private _sampleSize As Int32 'the number of records in the input data ''' <summary> ''' the log normal distribution con...
Imports System.Collections.Generic Imports System.ComponentModel Imports System.Drawing Imports System.IO Namespace EditorsDemo.ModuleResources Public Class CardWinExplorerFileSource Implements INotifyPropertyChanged Private fileName_Renamed As String Private fullPath_Renamed As String ...
'========================================================================== ' ' File: ByteArrayStream.vb ' Location: Firefly.Streaming <Visual Basic .Net> ' Description: 字节数组流 ' Version: 2010.12.01. ' Copyright(C) F.R.C. ' '====================================================================...
Imports ESRI.ArcGIS.esriSystem Imports ESRI.ArcGIS.Geometry Imports ESRI.ArcGIS.Framework Imports ESRI.ArcGIS.ArcMapUI '** 'Nom de la composante : cmdActiverMenu.vb ' '''<summary> '''Permet d'activer un menu pour afficher et modifier les paramètres de la barre de sélection. '''</summary> ''' '''<remarks> ''' Auteur :...
Public Class Character Public Name As String = "" Public TexturePath As String Public ViewDirection As ViewDirections = ViewDirections.Right Public CharacterType As CharacterTypes Public HealthPoints As Integer = 100 Public Weapon As Weapon Public Enum CharacterTypes Friendly ...
Imports System.Console Module Program Sub Main() Dim letters As Char() = "Anthony Diante Green" For Each l In letters Where Not Char.IsWhiteSpace(l) Group By l Into count = Count() Order By count Descending WriteLine($"The letter '{l}' appears {c...
@ModelType Models.TreeViewRefModel <p>Tree View Usage: Checkboxes, bound to a hiearachical UI control structure in the view model to prevent additional mapping. </p> @using (Html.BeginForm("TreeViewRef", "Home", FormMethod.Post)) @<div > <strong>Inline data (default settings)</strong> @code Html.Kendo.Tree...
Imports Microsoft.VisualBasic Imports System Imports Neurotec.Licensing Friend Class Program Shared Function Main(ByVal args() As String) As Integer TutorialUtils.PrintTutorialHeader(args) Try Dim dongle As NLicManDongle = NLicenseManager.FindFirstDongle() If dongle Is Nothing Then Console.W...
Imports System.Data.SqlClient Public Class Category_DBAccess Shared rootWebConfig As System.Configuration.Configuration Shared connString As System.Configuration.ConnectionStringSettings Shared Sub New() rootWebConfig = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration("/Web")...
Imports DevExpress.Xpo Imports DevExpress.ExpressApp.DC Imports DevExpress.Persistent.Base <XafDisplayName("Garrett Data"), XafDefaultProperty("PartNumber"), Persistent("ProductionData.Garrett"), DefaultClassOptions(), ImageName("BO_List")> Public Class ProductionData_Garrett Inherits XPObject Public Sub New(...
Module Module1 Sub close() Console.ReadLine() End End Sub Sub Main() Dim th As New Threading.Thread(AddressOf close) th.Start() While 1 Console.WriteLine("[" & Format(Now, "dd/MM/yyyy HH:mm:ss:ms") & "] " & "INFO: " & "Initializing check...") ...
Imports System.Data Imports Talent.Common Imports TCUtilities = Talent.Common.Utilities Imports TEBUtilities = Talent.eCommerce.Utilities Partial Class UserControls_BasketFees Inherits ControlBase #Region "Class Level Fields" Private _ucr As UserControlResource = Nothing Private _businessUnit As String = ...
Imports System.Threading Public Class UCMonitorPanel Public Overridable Sub RefreshData() End Sub Public Overridable ReadOnly Property MonitorID() As Integer Get Return Nothing End Get End Property Public Overridable ReadOnly Property MonitorName() As Strin...
Imports System Imports System.Web Imports System.Drawing ''' <summary> ''' ''' Captcha image stream HttpModule ''' allows us to generate images in memory and stream them to the browser ''' ''' You *MUST* enable this HttpHandler in your web.config, like so: ''' ''' &lt;httpHandlers&gt; ''' &lt;add verb="GET" path...
Imports System.IO Imports System.Text Public Class globalMethods Public Shared Sub appShutdown() 'gracefully shut down Rotext 'any configs to save? write 'em here 'currently blank 'removing temporary shutdown file If File.Exists(".\rotext\unsafeShutdown") Then Try ...
Imports System.Data.SqlClient Namespace DataObjects.TableObjects ''' <summary> ''' Provides the functionality to log the activity in tbl_data_transfer_status table ''' </summary> <Serializable()> _ Public Class tbl_data_transfer_status Inherits DBObjectBase #Region "Class Level Fields"...
Namespace BO Public MustInherit Class BoContainer Inherits BoWithId Implements IComparable(Of BoContainer) Protected m_boList As List(Of BoWithId) Protected Sub New() m_boList = New List(Of BoWithId) End Sub Public Function GetBo(index As Integer) As ...
Imports System.IO Imports System.Text Imports System.Text.RegularExpressions Namespace PDFObjects ''' <summary> ''' Представляет строковой объект PDF. ''' </summary> Public Class StringObject Inherits PDFObject Implements IContent Private _content As String ''' <summa...
Public Class clsBeMotivo_devolucion Implements ICloneable Private mIdMotivoDevolucion As Integer = 0 Private mIdEmpresa As Integer = 0 Private mIdPropietario As Integer = 0 Private mNombre As String = "" Private mUser_agr As String = "" Private mFec_agr As Date = Date.Now Private mUser_mod As String = ""...
Public Function IsInArray(stringToBeFound As String, arr As Variant) As Boolean ' From: https://stackoverflow.com/questions/38267950/check-if-a-value-is-in-an-array-or-not-with-excel-vba/38268261 Dim i For i = LBound(arr) To UBound(arr) If arr(i) = stringToBeFound Then IsInArray = True ...
Imports Sistema.PL.Entidad Imports Sistema.PL.Negocio Imports Sistema.PL.Negocio.Util Partial Public Class Secciones Inherits System.Web.UI.Page Dim ListadoPaginaPorSeccion As New List(Of InfoPaginasdelaSeccion) Dim oSeccion As New InfoSeccion Dim intMaximoPorLista As Integer = Convert.ToInt32(System...
 ' Instat-R ' Copyright (C) 2015 ' ' This program is free software: you can redistribute it and/or modify ' it under the terms of the GNU General Public License as published by ' the Free Software Foundation, either version 3 of the License, or ' (at your option) any later version. ' ' This program is distributed in t...
' Visual Basic .NET Document Option Strict On Module Example Public Sub Main() SetRegistryKey() Console.WriteLine(IsStringLegacyCompareMode()) MsgBox("Press any key...") Console.WriteLine(IsStringLegacyCompareMode()) MsgBox("Press any key...") Console.WriteLine(IsSt...
Imports System.Windows.Forms Friend Module Style ' Mostly All Images Are Declared In Constants.Vb Public Function MainMenuButtons(x As String) As String Return If(x = "SignUpButton", SignUpBtn, If(x = "RentBikeButton", RenBikeBtn, If(x = "ReturnBikeButton", RetBikeBtn, ...
'Class: ComplexThing 'Author: Apollo8 Dec, 2014 'Use this for any kind of 'vehicle'. Option Strict On Option Explicit On Imports OpenTK.Graphics.OpenGL Imports OpenTK Imports System Public Class ComplexThing 'This is a 'superclass' of SimpleThing '********************* Public P As SimpleThing 'Position and o...
Imports System.Drawing Imports System.Runtime.InteropServices <Guid("F0DAFCE8-5D35-4609-B0BE-48CBF0FC21DB"), ClassInterface(ClassInterfaceType.None), ComVisible(True), ProgId("GreenThumb.ThumbnailProvider")> Public Class ThumbnailProvider Implements IThumbnailProvider, IInitializeWithFile, IInitializeWithItem Priv...
Imports System.Runtime.InteropServices Imports System.Windows.Forms Public Class CDBufferFiller Private BufferArray As Byte() Private WritePosition As Integer = 0 Public Sub New(aBuffer As Byte()) BufferArray = aBuffer End Sub Public Sub OnCdDataRead(sender As Object, ea As DataReadEventArgs) Buffe...
Imports Automation.Components.Services Imports Automation.Components.CommandStateMachine Imports Automation.Components Imports System.Threading Imports System.Reflection Imports System.Text Partial Public MustInherit Class systemControlPrototype : Inherits driveBase Public Enum systemStatesEnum ...
Namespace Utilities Public Interface ITodoSerializer(Of Out T) Sub SerializeToFile(fileName As string) Function DeserializeFromFile(fileName As String) As T End Interface End NameSpace
' Name: Covington Resort Project ' Purpose: Display the total room charge, tax, ' total resort fee, and total due ' Programmer: Jason R. Johnson on 11/8-9/2015 Option Explicit On Option Infer Off Option Strict On Public Class Main_Form Private Sub btnExit_Click(sender As Object, e A...
Public Class FullSign Private state As Boolean Public Sub New() End Sub Public Sub New(ByVal FullSignBox As TextBox) state = False FullSignBox.Text = "OFF" End Sub Public Function getState() As Boolean Return state End Function Public Sub changeState(ByVal ...
' Database.vb Imports System.Data Imports System.Configuration Imports System.Data.SqlServerCe Public Class Database Friend objConnection As SqlCeConnection Friend objCommand As SqlCeCommand Friend objReader As SqlCeDataReader Friend strResult As String Friend strConnectionString As String ' A...
Imports cv = OpenCvSharp Public Class Hull_Basics : Implements IDisposable Public Sub New(ocvb As AlgorithmData) ocvb.desc = "Surround a set of random points with a convex hull" ocvb.label1 = "Convex Hull Output" ocvb.label2 = "Convex Hull Input" End Sub Public Sub Run(ocvb As Algor...
''Class Definition - PurchaseOrderItemAllocation (to PurchaseOrderItemAllocation)'Generated from Table:PurchaseOrderItemAllocation Imports RTIS.CommonVB Public Class dmPurchaseOrderItemAllocation : Inherits dmBase Private pPurchaseOrderItemAllocationID As Int32 Private pPurchaseOrderItemID As Int32 Private pSal...
Imports System.IO Imports DCS.mPosEngine.Core.DataInterfaces Imports DCS.mPosEngine.Core.Domain.Sales.Fulfillment Imports DCS.PlaycardBase.CardData Imports DCS.Library Namespace Infrastructure Public Class PlaycardBaseCardManager Implements ICardManager Private _log As log4net.ILog = log4net.LogManager.GetLogge...
Public Class Vehiculos 'Propiedades Private _Codigo As Integer Private _Nombre_modelo As String Private _Dominio As String Sub Vehiculo(cod As Integer, Nom As String, Dom As String) _Codigo = cod _Nombre_modelo = Nom _Dominio = Dom End Sub Public Property Codigo() A...
Imports System Imports System.Collections.Generic Partial Public Class SecteurActivite Public Property Id As Long Public Property Libelle As String Public Property Etat As Boolean = False Public Property DateCreation As DateTime = Now End Class
''' <summary> ''' 表示入口点对应的方法。如果参数没有默认值,用户可以省略参数名称,直接写参数。如果参数有默认值(是可选参数),用户需要输入 前缀+参数名 [参数内容]。例如,前缀是 "-", 参数名称是 "src", 类型是 <see cref="String"/>, 那么用户输入的参数可以是 -src xxx。如果用户没有输入参数的值并且类型不是 <see cref="Boolean"/>,则使用默认值。<see cref="Boolean"/> 类型的参数没有值,带有这种参数的开关则认为用户为这种参数输入了真。 ''' </summary> <AttributeUsage(AttributeTargets.M...
Imports System.IO Public Class ProgressState Const TwentyMegaBytes As Long = 20 * 1024 * 1024 Const TwentyKyroBytes As Long = 20 * 1024 Const OneGigaBytes As Long = 1024 * 1024 * 1024 Const FiftyMegaBytes As Long = 50 * 1024 * 1024 Const TwoHundredMegaBytes As Long = 200 * 1024 * 1024 Const Fi...
''' <summary> ''' A command whose sole purpose is to ''' relay its functionality to other ''' objects by invoking delegates. The ''' default return value for the CanExecute ''' method is 'true'. ''' ''' Code converted from the example on the following link. ''' http://stackoverflow.com/questions/3531772/binding-button...
Imports System.ServiceModel Imports System.Runtime.Serialization <DataContract()> _ Public Class BankAccount Public Class MaxFieldLength Public Const Name As Integer = 50 Public Const Number As Integer = 4 Public Const Type As Integer = 20 Public Const UserID As Integer = 15 E...
Partial Public Class Person Public ReadOnly Property Age() As Integer Get Return Convert.ToInt32(Date.UtcNow.Date.Year - BirthDate.Value.Year) End Get End Property Public Overrides Function ToString() As String Return $"{FirstName} {LastName}" End Function End Clas...
Public Class Bounds Public MinLat As Double Public MaxLat As Double Public MinLon As Double Public MaxLon As Double Public Sub New(ByVal aXmlNode As Xml.XmlNode) For Each lAttribute As XmlAttribute In aXmlNode.Attributes Select Case lAttribute.Name Case "...
Imports System.ComponentModel.DataAnnotations Imports System.ComponentModel.DataAnnotations.Schema Imports System.Collections.Generic Namespace Entities Public Class BankAccount <Display(Name:="Bank Account ID")> _ <MaxLength(3)> _ Public Property BankAccountID As String <Displa...
Imports CommandLine Namespace Options <Verb("template", HelpText := "Create a new template file")> Public Class TemplateOptions <Value(0, Default:=1, Required := False, HelpText:= "Number of custom properties")> Public Property NumberOfCustomPropertys As Integer? <[Option]("n"c, "name...
Public Class cDataProductListStatusDBIO Private pConn As OleDb.OleDbConnection Private pCommand As OleDb.OleDbCommand Private pDataReader As OleDb.OleDbDataReader Private pMessageBox As cMessageLib.fMessage Sub New(ByRef iConn As OleDb.OleDbConnection, ByRef iCommand As OleDb.OleDbCommand, ByRef i...
Public Class LocalizedString Public Sub New(name As String) Me.New(name, name) End Sub Public Sub New(name As String, value As String) If String.IsNullOrEmpty(name) Then Throw New ArgumentException($"'{NameOf(name)}' cannot be null or empty", NameOf(name)) End If ...
Public Enum BattleDirection North = 1 East South West End Enum
''' <summary> ''' Control to render a streamable video and a playback controls to a page. ''' </summary> ''' <remarks></remarks> #If DEBUG Then Public Class VideoViewerControl Inherits VideoBase #Else <ComponentModel.EditorBrowsable(ComponentModel.EditorBrowsableState.Never), ComponentModel.ToolboxItem(Fals...
Imports System.IO.Ports Imports System.Net.Sockets Imports System.Text Public Class Command Private m_commandName As String Private m_commandDisplay As String Private m_command As [Byte]() Public Sub New() End Sub Public Sub New(ByVal name As String, ByVal ASCII As String) m_commandName = name m_command...
Public Class clsNGSRegistry ' Definiert alle möglichen Root-Schlüssel Public Enum ERegistryPossibleRoots HKEY_CLASSES_ROOT = 0 HKEY_CURRENT_CONFIG = 1 HKEY_CURRENT_USER = 2 HKEY_DYNDATA = 3 HKEY_LOCALE_MACHINE = 4 HKEY_PERFORMANCE_DATA = 5 HKEY_USERS = 6 End Enum ' Auslesen des entspr. Registry-Keys...
Public Class vcliente Dim idcliente, id_direccion As Integer Dim nombre, ap_paterno, ap_materno, tel_cel As String 'metodos seter y geters Public Property gidcliente Get Return idcliente End Get Set(value) idcliente = value End Set End Proper...
' ___________.__ ________ .__ __ ___. ' \__ ___/| |__ ____ \_____ \ __ __ |__| ____ _/ |_ ____ _______ ___.__. ____ __ __ \_ |__ ____ __...
''Class Definition - ProductConstructionSubType (to ProductConstructionSubType)'Generated from Table:ProductConstructionSubType Imports RTIS.CommonVB Public Class dmProductConstructionSubType : Inherits dmBase Implements iValueItem Private pProductConstructionSubTypeID As Int32 Private pProductConstructionType...
#Region "Microsoft.VisualBasic::88ece210996cd260620bff2f9853c3b2, mzkit\src\mzmath\TargetedMetabolomics\GCMS\Extensions.vb" ' Author: ' ' xieguigang (gg.xie@bionovogene.com, BioNovoGene Co., LTD.) ' ' Copyright (c) 2018 gg.xie@bionovogene.com, BioNovoGene Co., LTD. ' ' ' MIT ...
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ '* Copyright (C) 2013-2016 NamCore Studio <https://github.com/megasus/Namcore-Studio> '* '* This program is free software; you can redistribute it and/or modify it '* under the terms of the GNU General Public License as publis...
Public Class frmListadoIncidencias Const mc_strNombre_Modulo As String = "frmListadoIncidencias" '<CABECERA>----------------------------------------------- 'Descripcion..: Carga las incidencias en al DataGridView 'Fecha........: 29/04/2014 '<FIN CABECERA>-------------------------------------------...
Imports Microsoft.VisualBasic Imports System.Collections.Generic Imports System.Data Imports System.Data.SqlClient Imports Talent.Common Imports System.Xml Imports System.IO Imports System.Security.Cryptography Imports System.Text Imports System.Web Imports System.Web.HttpServerUtility Namespace Talent.eCommerce ...
Imports System.Collections.ObjectModel Public Class BlockCollection Inherits ObservableCollection(Of BlockItem) Public Sub AddItem(source As String) Me.Add(New BlockItem(Me, source)) End Sub End Class
 Imports DevExpress.ExpressApp Imports DevExpress.ExpressApp.Editors Imports DevExpress.ExpressApp.Model Imports DevExpress.ExpressApp.SystemModule Imports DevExpress.ExpressApp.Win Imports DevExpress.ExpressApp.Win.Editors Imports DevExpress.XtraEditors Imports System Imports System.Collections.Generic Imports System...
Public Class BackupBAL Public Sub insertBackupRecord(ByVal backup As BackupBO) Dim query As String = "INSERT INTO BackupTable (BackupId,BackupDate,BackupPath,BackupUser,BackupInfo) VALUES (" & backup.NumberId & ",'" + Date.Now.ToString("yyyy/MM/dd hh:mm tt") + "','" + backup.BackupPath + "','" + backup.Bac...
Public MustInherit Class GameObject Private _speed As Integer Private _xPos As Integer Private _yPos As Integer Private _Moving As Boolean Private _dirLeft As Boolean Private _dirRight As Boolean Private _dirUp As Boolean Private _dirDown As Boolean Private _objectImage As Canvas ...
Namespace PFW.CSIST203.Project2.Persisters.Excel ''' <summary> ''' Excel Persister that interacts with data in an xls or xlsx file ''' </summary> Public Class ExcelPersister Implements IPersistData Private logger As log4net.ILog = log4net.LogManager.GetLogger(GetType(ExcelPersister)) ...
Imports cv = OpenCvSharp ' https://docs.opencv.org/3.4/d7/d8b/tutorial_py_lucas_kanade.html Public Class Features_GoodFeatures : Implements IDisposable Public sliders As New OptionsSliders Public goodFeatures As New List(Of cv.Point2f) Public gray As cv.Mat = Nothing Public externalUse As Boolean ...
Imports System.Runtime.Serialization <DataContract()> Public Class DynamicObject Inherits ObservableObject Implements IDynamicObject #Region "Properties" Private _Values As Dictionary(Of String, Object) Public ReadOnly Property Values As Dictionary(Of String, Object) Get If _Value...
Imports LibreriaLogica Public Class EscanerQR Private instanciaFunciones As New FuncionesEspecificas Private mensaje As String Public Sub New() InitializeComponent() Inicializar() traducirControles() OpcGraficas() End Sub Public Sub Inicializar() If Settings.GetSingleton.LangCFG = ...
''' <summary> ''' Represents a Type:Length:Value (Tuple-style) value that can be added to the payload of a command. ''' This object supports most primitive data types, and can be very useful in sending data to a ''' CommandServer/CommandClient in a standardized way. In the future, these TLVs could also be ''' encry...
'--------------------------------------------------- ' PartialImageRotate.vb (c) 2002 by Charles Petzold '--------------------------------------------------- Imports System Imports System.Drawing Imports System.Windows.Forms Class PartialImageRotate Inherits PrintableForm Private img As image ...
Imports System.Math Public Class Image_Display Inherits System.Windows.Forms.Form Private interval As String Private fullscreen As Boolean Private filelist As ArrayList Private currentindex As Integer Private maxindex As Integer Private clipcomplete As Boolean Private cliprandomize A...
Imports System.Data Imports System.Data.SqlClient Imports Talent.Common Partial Class UserControls_ProductOptions Inherits ControlBase #Region "Class Level Fields" Private _promotionItemEditMode As Boolean = False Private _personaliseButtonText As String = String.Empty Private _promotionOptionSelect...
Imports System.ComponentModel Imports System.Windows.Controls.Primitives ''' <summary> ''' Class that provides the Watermark attached property ''' </summary> Public NotInheritable Class WatermarkService Private Sub New() End Sub ''' <summary> ''' Watermark Attached Dependency Property ''' </summar...
Imports Sistema.PL.Entidad Imports Sistema.PL.Negocio Partial Class _404 Inherits System.Web.UI.Page Private Shared _Ambiente As String = System.Configuration.ConfigurationManager.AppSettings("PL_ENVIRONMENT") Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load ...
Imports Bing.Maps Imports System.Collections.Generic Imports Windows.UI.Xaml Namespace AnimatedMaps.Animations Public Class PathAnimation #Region "Private Properties" Private Const _delay As Integer = 30 Private Const EARTH_RADIUS_KM As Double = 6378.1 Private _timerId As DispatcherTimer...
Imports System.Runtime.Serialization Namespace Route4MeSDK.DataTypes.V5 ''' <summary> ''' Main data object data-structure ''' See "Optimization_Problem_V4". ''' </summary> <DataContract> Public Class DataObject Inherits DataObjectBase ''' <summary> ''' An optimization...
Module modPARAM_Checks Public Sub Parameter_Checks() ' FailSafe Header ' NOTE: $$$ just truns the Text Colour LightGreen by the formatter Dim MyString As String = "" WriteTextLog("$$$FAILSAFE SETTINGS:") ' Battery FailSafe MyString = "$$$ Main Battery = " ...
Option Strict On Option Explicit On Option Infer Off Imports Securex.FIT.Fitclient.Business.DataHolders Public Class TaskRole Private Shared m_TaskRole As TaskRole = New TaskRole() Private m_Selection As RoleSelection Private Sub New() Selection = New RoleSelection() End Sub Public Shared...