text stringlengths 43 2.01M |
|---|
Option Strict On
' Name: Moya Goleski
' Date: 2020-07-17
' Description: The purpose of this program is to create a car inventory application that will
' allow the user to create and update content. The content will include the Make,
' Model, Year, Price, and a value indic... |
Option Strict On
Imports System.Runtime.InteropServices
Imports System.Diagnostics
Imports System.Reflection
Public Class Form5
Private Structure KBDLLHOOKSTRUCT
Public key As Keys
Public scanCode As Integer
Public flags As Integer
Public time As Integer
Public... |
<Command("Set Speed", "FanSpeed|0-100|% PumpSpeed|0-100|% Muzze|0-11| SwingSpeed|0-100|%", , , , CommandType.BatchParameter),
TranslateCommand("zh-TW", "风机/主泵", "风机|0-100|% 主泵|0-100|% 喷嘴|0-3| 摆布|0-100|% "),
Description("1=Injection1, 2=Injection2, 3=Injection1+2+3, 4=Injection1+2+3"),
TranslateDescription("zh... |
'Enhancements contributed by Rod Sawers: 10/25/2006
Imports System.Xml
Imports System.Text
Public Class FileMonitorEditor
#Region "Private Attributes"
Private mXMLTemplate As String
#End Region
#Region "Public Interface"
Public Sub New()
' This call is required by the Windows Form Designer.
... |
Imports Impacta.Dominio
Imports System.Data.SqlClient
Imports System.Transactions
Public Class ClienteRepositorio
Inherits RepositorioBase
Implements IClienteRepositorio
'Public Sub New()
' AbrirConexao()
'End Sub
Private Sub AbrirConexao()
If Conexao.State <> Connect... |
Imports MaintenancePortalDataSetTableAdapters
Imports Talent.Common
Partial Class Navigation_AdhocGroupMaintenance
Inherits System.Web.UI.Page
Dim objBUTableAdapter As New BUSINESS_UNIT_TableAdapter
Dim objPTableAdapter As New PARTNER_TableAdapter
Public wfrPage As New Talent.Common.WebFormResource
... |
' ****************************************************************
' This is free software licensed under the NUnit license. You
' may obtain a copy of the license as well as information regarding
' copyright ownership at http://nunit.org/?p=license&r=2.4.
' *************************************************************... |
'===============================================================================
' Microsoft patterns & practices
' CompositeUI Application Block
'===============================================================================
' Copyright © Microsoft Corporation. All rights reserved.
' THIS CODE AND INFORMATION I... |
Namespace UGPPSrvIntDocumento
'''<remarks/>
<System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0"),
System.SerializableAttribute(),
System.Diagnostics.DebuggerStepThroughAttribute(),
System.ComponentModel.DesignerCategoryAttribute("code"),
System.Xml.Serialization.XmlT... |
Imports FastColoredTextBoxNS
Imports System.Text.RegularExpressions
Public Class Pestania
Inherits System.Windows.Forms.TabPage
Private popupMenu As AutocompleteMenu
Private keywords As String() = { _
"entero", "doble", "boolean", "caracter", "cadena", _
"div", "border", "bgcolor", "widt... |
Imports TrackSpy.PlugIn
Imports System.Drawing
Imports Newtonsoft.Json.Linq
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.IO
Namespace plug_Ins
Public Class PluginMap
Inherits TrackSpy.PlugIn.BasePlugin
Implements IPlugin
#Region "Fields"
Priv... |
Namespace Views
Public Interface IPickRacerView
Function SelectRacer(sourceList As IList(Of RacerView)) As Boolean
ReadOnly Property SelectedRacerId As Long
End Interface
End Namespace
|
Public Class GeneralModels
Public Class About
Public Property ServerName As String
Public Property TimeRunning As String
Public Property ElasticsearchUrl As String
Public Property HostOs As String
Public Property Processors As String
Public Property CommandLine As... |
'NOTE: This in the end does not work due to the OpenXml packaging class unable to handle more than 10MB in multiple threads
' There was a open xml version 2.6 that fixes this, but its not strong named signed.
' After attempting to strong sign it, it threw many compilation errors that could not get fixed.
' Usin... |
Imports System.Configuration
Imports System.Data.SqlClient
Imports LibraryManagementDTO
Imports Utility
Public Class TinhHinhMuonSachDAL
Private connectionString As String
Public Sub New()
' Read ConnectionString value from App.config file
connectionString = ConfigurationManager.AppSettings("... |
Imports AMC.DNN.Modules.CertRecert.Business.BaseControl
Imports AMC.DNN.Modules.CertRecert.Business.EnumItems
Imports AMC.DNN.Modules.CertRecert.Controls.Certifications
Imports AMC.DNN.Modules.CertRecert.Business.Entities
Imports AMC.DNN.Modules.CertRecert.Business.Controller
Imports AMC.DNN.Modules.CertRecert.Bu... |
Imports System.Text
Imports CoinMPTestVB8.Coin.CoinMP
Namespace CoinMPTest
Module ProblemCOPTDynamic
Private _ds As New DataSet
Public Sub Solve(ByVal solveProblem As SolveProblem)
Const NUM_COLS As Integer = 32
Const NUM_ROWS As Integer = 27
Const ... |
'Program compilation
'created by Michael Dao
'This is a compilation of all my programs made during highschool, they all helped me practice programming
'Started: 11/11/2016
Public Class frmMenu
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
'LCD Demo
Me.Hide()
... |
Public Class CLASS_DARQTPHR
Private _phrno As String
Public Property phrno() As String
Get
Return _phrno
End Get
Set(ByVal value As String)
_phrno = value
End Set
End Property
Private _phrcd As Integer
Public Property phrcd() As Integer
... |
''' <summary>
''' Inherits DataGridViewColumn for allowing:
''' 1.) A custom cell editor to be used
''' 2.) A custom cell header to be used, which has a clickable "Filter" button
''' -- Using the filter button to display a CheckedListBox, which can be used by the end user to dynamically filter their DataGridView
''' </... |
'===============================================================================
' Microsoft patterns & practices
' CompositeUI Application Block
'===============================================================================
' Copyright © Microsoft Corporation. All rights reserved.
' THIS CODE AND INFORMATION I... |
Imports System.Net
Imports System.Net.Sockets
Imports System.Threading
Imports System.Text
''' <summary>
''' The AsyncClient class is an Asynchronous network socket implementation specifically designed act as
''' a network client. This class is used for providing logging over TCP support, as well as
''' Inter-Proce... |
Namespace AW.Types
Partial Public Class Address
Implements ITitledObject, INotEditableOncePersistent
Public Property AddressID() As Integer
#Region "City"
Public Property mappedCity As String
Friend myCity As TextString
<DemoProperty(Order:=13)>
Public ReadOnly ... |
Imports System
Imports System.Collections.Generic
Partial Public Class InfoFrais
Public Property Id As Long
Public Property GrilleId As Long
Public Property BornInf As Decimal
Public Property BornSup As Decimal
Public Property Frais As Decimal
Public Property Taux As Decimal
Public Overri... |
Namespace States
''' <summary>
''' (c) Martin Korneffel 2016
''' Zustand wird erreicht, wenn ein für das editieren ausgewählter Datensatz nicht editierbar ist
''' </summary>
''' <typeparam name="TID"></typeparam>
''' <typeparam name="TRecord"></typeparam>
''' <remarks></remarks>
Public ... |
Public Class FrmDevolucionBodega
#Region "Controles"
Sub bloquearEncabezado()
txtSolicitante.Enabled = False
txtObservaciones.Enabled = False
cmbBodega.Enabled = False
cmbTipo.Enabled = False
cmbSalida.Enabled = False
End Sub
Sub desbloquearEncabezado()
txtS... |
Module modServerTCP
Public obj_Server As Nading.Network.Server.clsServer
Public Sub InitServerTCP()
' Declare the new object to make sure we can make use of it in the project.
obj_Server = New Nading.Network.Server.clsServer
' Add event handlers to the Server Object that will determi... |
Imports System.Data.SqlClient
Imports Cerberus
Public Class MetodoPagoRuta
Implements InterfaceTablas
'VARIABLES DE LA TABLA
Public idMetodoPago As Integer
Public inicioKm As Decimal
Public finKm As Decimal
Public tipoMetodo As String
Public valorMetodo As Decimal
Public creadoPor As I... |
Imports System.Configuration
Imports System.Data.SqlClient
Imports QuanLyDaiLy_DTO
Imports Utility
Public Class ChiTietPhieuXuat_DAL
Private connectionString As String
Public Sub New()
' Read ConnectionString value from App.config file
connectionString = ConfigurationManager.AppSettings("Connec... |
Imports System
Imports System.Collections.Generic
Imports System.Windows.Forms
Imports Neurotec.Biometrics.Client
Imports Neurotec.Images
Imports Neurotec.Licensing
Partial Public Class DetectFaces
Inherits UserControl
#Region "Public constructor"
Public Sub New()
InitializeComponent()
End Sub
#E... |
Namespace Entity
Public Class Su_kien
Private _ID As Long
Private _ID_kh_tuan As Integer
Private _ID_phong As Integer
Private _ID_mon As Integer
Private _ID_bm As Integer
Private _ID_cb As Integer
Private _ID_lop As Integer
Private _Ten_phong As String... |
Imports System.Text
Imports System
Imports System.ComponentModel
Imports System.Security.Permissions
Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.WebControls
#If DEBUG Then
Public Class RollOverImage
Inherits System.Web.UI.WebControls.Image
#Else
<AspNetHostingPermission(SecurityAction.Demand... |
#Region "Microsoft.VisualBasic::75a4e0207708d985ae588165706e7511, mzkit\src\assembly\assembly\MarkupData\mzML\XML\mzML.vb"
' Author:
'
' xieguigang (gg.xie@bionovogene.com, BioNovoGene Co., LTD.)
'
' Copyright (c) 2018 gg.xie@bionovogene.com, BioNovoGene Co., LTD.
'
'
' MIT L... |
Imports Microsoft.VisualBasic
Imports System
Imports System.Drawing
Imports System.IO
Imports System.Text
Imports System.Windows.Forms
Imports Neurotec.Biometrics
Partial Public Class DeduplicationPanel
Inherits ControlBase
#Region "Public constructor"
Public Sub New()
InitializeComponent()
End Sub... |
Imports System.IO.Ports
Imports System.Threading
Public Class BrailleComLib
#Region "Constantes de comandos UART"
Public ReadOnly BCLS_HANDSHAKE As Byte = &HF0
Public ReadOnly BCLS_PREPARAR_IMPRESION As Byte = &HF1
Public ReadOnly BCLS_HOJA_NUMERO As Byte = &HF2
Public ReadOnly BCLS_HOJA_ACTUAL As By... |
Imports System.Runtime.InteropServices
Imports Electroduck.WinIt.DiskInternal
Public Class Harddisk
Inherits FileLike
Public Structure PartitionPrototype
Dim nLength As DataQuantity
'Dim nType As Byte
Dim bBootable As Boolean
'Public Const PARTTYPE_EXTENDED As Byte... |
Imports DevExpress.Xpf.Charts
Imports DevExpress.Mvvm
Imports System
Imports System.Windows.Input
Imports DevExpress.SalesDemo.Model
Namespace ProductsDemo
Public Enum SalesPerformanceViewMode
Daily
Monthly
End Enum
Public Class SalesPerformanceViewModel
Inherits ViewModelBase
... |
Imports FLEXYGO.Configuration.Tokens
Imports FLEXYGO.Objects
Imports FLEXYGO.Objects.Settings
Imports FLEXYGO.Security
Imports FLEXYGO.Data
Imports FLEXYGO.Web
Imports FLEXYGO.Mocks
Imports Sample_Project
<TestClass()> Public Class UnitTest
''' <summary>
''' The User name
''' </summary>
Friend UserNa... |
'===============================================================================
' Microsoft patterns & practices
' CompositeUI Application Block
'===============================================================================
' Copyright © Microsoft Corporation. All rights reserved.
' THIS CODE AND INFORMATION I... |
Public Class ItemVenda : Implements ITotalizavel
Private ID As Integer
Private Produto As Produto
Private Valor As Decimal
Private Quantidade As Integer
Public Sub New()
End Sub
Public Sub New(ByVal Produto As Produto)
Me.Produto = Produto
End Sub
Public Sub New(ByVal Pr... |
Imports System.IO
Public Class Form1
'MEMBERS
Private currentIndex As Integer
Private population As Integer
Private tree(1) As Person
Private adminKey As Boolean = False
'MEMBER FUNCTIONS
'manageOption
'Given an index, we manage the display of pictures and names
'P... |
#Region "Notes"
' Each instance of this class represents a service (cart, inventory, whatever)
' A "service" consists of a single entry in the AccountTypeCode table with a Type of Service
' and a Dataset of configuration values for the service.
' Each Dataset contains one or more data tables exposed throug... |
Imports System
Imports System.Net.NetworkInformation
Imports System.Collections.Generic
Imports Ladle.Module.XPO
Imports Ladle.Utils
Imports Ladle.AppLogger
Imports System.Data.SqlClient
Imports System.Linq
Public Class NetworkDeviceStatsTask
Inherits Task
Private FirstRun As Boolean = True
''' <summary>... |
Imports NXOpen
Imports NXOpen.Features
Public Class BodyFeatureSurrogate
Inherits FeatureSurrogate
Private nxBodyFeature As BodyFeature
Public Sub New(ByVal featureRef As BodyFeature)
MyBase.New(featureRef)
Me.nxBodyFeature = featureRef
End Sub
Public ReadOnly Property Bodies() A... |
Public Class DisplaySettingForm
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()
'Add any initialization after the InitializeComponent()... |
Imports AutoMapper
Imports UGPP.CobrosCoactivo.Datos
Imports UGPP.CobrosCoactivo.Entidades
Public Class EtapaProcesalBLL
Private Property _etapaProcesal As EtapaProcesalDAL
Private Property _AuditEntity As LogAuditoria
Public Sub New()
_etapaProcesal = New EtapaProcesalDAL()
End Sub
Pub... |
Imports Brilliantech.Framework.WCF.Data
Imports Brilliantech.ReportGenConnector
''' <summary>
''' 打印数据传输消息类
''' </summary>
''' <remarks></remarks>
<DataContract()>
Public Class PrintDataMessage
Inherits ServiceMessage
Private pf_printTask As List(Of PrintTask)
''' <summary>
''' 打印数据
''' </summar... |
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs)
MsgBox("Hola mundo")
End Sub
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
Private Sub Label1_Click(sender As Object, e As EventArgs) Handles lbl_primervalor.Click
... |
Imports System
Imports System.Windows
Imports System.Windows.Controls
Imports System.Windows.Markup
Imports System.Windows.Data
Imports System.Globalization
Imports DevExpress.Diagram.Core
Imports DevExpress.Diagram.Core.Layout
Namespace DiagramDemo.Utils
Public Class FormatWrapper
Public Sub New()
... |
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class FrmLanguage
Inherits DevExpress.XtraEditors.XtraForm
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
... |
Imports BVSoftware.Bvc5.Core.Content
Imports BVSoftware.Bvc5.Core
Imports System.Collections.Generic
Partial Class BVModules_ProductInputs_File_Upload_View
Inherits ProductInputTemplate
Protected required As Boolean
Protected wrapText As Boolean
Private generatedFileName As String
Public Overri... |
Imports System.IO
Imports System.Net
Imports Newtonsoft.Json
Public Class Editor
Dim FileContent
Dim DialogBoxResult
Dim CurrentLine = 1
Dim SelectionIndex = 0
Dim CurrentCol = 0
Dim FirstTick As Boolean
Dim UpdateError As Exception = Nothing
Public Function HandleKeyEvent(e As KeyEve... |
Imports System.IO
Imports System.Security.Cryptography
Imports System.Text
Public Class Security
#Region " EncryptString() "
Public Shared Function encryptString(ByVal textToBeEncrypted As String, ByVal encryptionKey As String) As Byte()
Dim bytValue() As Byte
Dim bytKey() As Byte
Dim bytEncoded() As Byte =... |
Imports Route4MeSDKLibrary.Route4MeSDK
Imports Route4MeSDKLibrary.Route4MeSDK.DataTypes
Imports Route4MeSDKLibrary.Route4MeSDK.QueryTypes
Namespace Route4MeSDKTest.Examples
Partial Public NotInheritable Class Route4MeExamples
''' <summary>
''' Reoptimize a route
''' </summary>
'''... |
Imports RTIS.CommonVB
Public Class clsWorkOrderHandler
Private pWorkOrder As dmWorkOrder
Public Sub New(ByRef rWorkOrder As dmWorkOrder)
pWorkOrder = rWorkOrder
End Sub
Public Shared Function CreateInternalWorkOrder(ByVal vProductType As eProductType) As dmWorkOrder
Dim mRetVal As dmWorkOrder
mR... |
Imports System
Imports System.Windows
Imports System.Windows.Media
Imports System.Windows.Media.Imaging
Imports DevExpress.Xpf.Charts
Imports DevExpress.Xpf.DemoBase
Namespace ChartsDemo
Public Class ChartsDemoModule
Inherits DemoModule
Private Shared ReadOnly ActualChartPropertyKey As DependencyP... |
'
' DotNetNuke® - http://www.dotnetnuke.com
' Copyright (c) 2002-2010
' by DotNetNuke Corporation
'
' Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
' documentation files (the "Software"), to deal in the Software without restriction, including without limi... |
Imports System.Collections.Generic
Imports System.Diagnostics
Imports System.Data
Imports System.Text.RegularExpressions '引入正则表达式命名空间
Imports System.IO.IsolatedStorage
Public Class Form1
'定义了一个到处函数
Public Function daochu(ByVal x As DataGridView, ByVal filename As String, ByVal n As Integer) As Boolean '导出... |
' Developer Express Code Central Example:
' How to generate and assign a sequential number for a business object within a database transaction, while being a part of a successful saving process (XAF)
'
' This version of the http://www.devexpress.com/scid=E2620 example is primarily
' intended for XAF applications, be... |
Imports System
Imports System.Collections.Generic
Imports System.ComponentModel.DataAnnotations
Imports System.ComponentModel.DataAnnotations.Schema
Imports System.Data.Entity.Spatial
<Table("tblNOISubmissionAcceptedPDF")>
Public Class NOISubmissionAcceptedPDF
Implements IEntity
<Key>
<DatabaseGenerated(... |
Imports System.Collections.Generic
Imports System.Collections.ObjectModel
Imports System.Drawing
Imports System.Linq
Imports System.Text
Imports System.Windows
Imports System.Windows.Controls
Imports System.Windows.Controls.Primitives
Imports System.Windows.Data
Imports System.Windows.Documents
Imports System.Windows.I... |
Imports System.Text
Imports Microsoft.VisualStudio.TestTools.UnitTesting
Imports MatthewSnaith.MatthewSnaith.Models
Imports System.Web.Mvc
<TestClass()> Public Class AboutControllerTest
<TestMethod()> Public Sub About_Controller_Returns_About_View()
Dim controller As New AboutController
Dim resul... |
Imports ControlsDemo.Helpers
Imports DevExpress.DemoData.Models
Imports DevExpress.Mvvm.DataAnnotations
Imports DevExpress.Mvvm.POCO
Imports DevExpress.Xpf.Core
Imports System.Collections.Generic
Imports System.Linq
Imports System.Windows.Media
Namespace ControlsDemo.TabControl.ColorizedTabs
Public Class MainViewM... |
Imports System.Windows.Forms
Namespace std_ez
''' <summary>
''' 自定义控件:DataGridView,向其中增加了:插入行、删除行、显示行号等功能
''' </summary>
''' <remarks></remarks>
Public Class eZDataGridView
Inherits System.Windows.Forms.DataGridView
Private components As System.ComponentModel.IContainer
P... |
Imports MongoDB.Bson
Imports MongoDB.Driver
Namespace Utilities.DBUtil.MongoDB
Public Class MongoDBContext
Protected _mongo As MongoServer
Protected _db As MongoDatabase
Protected _dbName As String
Protected ReadOnly _connStr As String
Protected ReadOnly _mapper As Mongo... |
Imports DCS.mPosEngine.Core.Domain.Sales.Fulfillment
Imports DCS.mPosEngine.Data.Infrastructure
Imports NUnit.Framework
Imports DCS.mPosEngine.Core.Domain.Sales
Imports DCS.mPosEngine.Core.Domain.Sales.Payment
Namespace Domain
<TestFixture()>
Public Class PaymentTests
<Test()> _
Public Sub Can... |
Public Class ReemplazoEnNombre
Inherits Operacion
Public Overrides Property Nombre As String = Operaciones.ReemplazoEnNombre_Nombre
Public origen As String
Public destino As String
Public Overrides Function ToString() As String
Dim txt As String = Operaciones.ReemplazoEnNombre_ToString
... |
Public Class BaseInput
Inherits Grid
#Region "Properties"
Public BaseTextBox As TextBox
Public Enum ShowFlare
Show
Hide
End Enum
Public Enum FontSz
Small '8pt font
Smaller '10pt font
Standard '12pt font
Medium '16pt font
Lar... |
Imports RTIS.CommonVB
Imports RTIS.CommonVB.libDateTime
Public Class fccPhaseManagement
Private pDBConn As RTIS.DataLayer.clsDBConnBase
Private pSalesOrderPhaseInfos As colSalesOrderPhaseInfos
Public ReadOnly Property SalesOrderPhaseInfos As colSalesOrderPhaseInfos
Get
Return pSalesOrderPhaseInfos
... |
Imports System.Data
Imports SNProcotiza
Partial Class aspx_manejaTiposOperacion
Inherits System.Web.UI.Page
Dim strErr As String = ""
Dim strPersonas As String = ""
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
Dim objUsuFirma As New SNProcotiza.clsUsuario... |
Namespace MenuProject
Class MenuItemForChildForm
Inherits ToolStripMenuItem
Shadows Parent As mainForm
Private _childForm As Type
Public Sub New(ByVal inputMainForm As mainForm, ByVal inputChildForm As Type)
Parent = inputMainForm
_childForm = inputCh... |
Public Class frmMainMenu1
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()
'Add any initialization after the InitializeComponent() call
... |
Module SoldiersSoulSave
Public Class Savedata
Public Const EXPECTEDFILESIZE As Integer = 25336
Public Const PLAYABLECHARACTERCOUNT As Integer = 147
Public Const PLAYABLESTAGECOUNT As Integer = 40
Public Shared Content() As Byte = Nothing
Public Shared IsLittleEndian As Bo... |
Namespace Helpers
Public Module MatrixMath
Public Function Mult(ByRef m1 As Integer(,), ByRef m2 As Integer()) As Integer()
If (m1.GetLength(0) <> m2.Length) Then
Throw New ArgumentException("Number of rows and/or columns of matrices do not match")
End If
... |
Imports Route4MeSDKLibrary.Route4MeSDK
Imports Route4MeSDKLibrary.Route4MeSDK.DataTypes
Imports Route4MeSDKLibrary.Route4MeSDK.QueryTypes
Namespace Route4MeSDKTest.Examples
Partial Public NotInheritable Class Route4MeExamples
''' <summary>
''' Search for Specified Text, Show Specified Fields
... |
Imports ACS.Form1
Public Class TooltipMgr
Public VENDOR_ENTRY As String = "NPC Entry, must be unique."
Public VENDOR_MODEL As String = "NPC Model id, usually it is taken from existing creatures. Use the button to browse them."
Public VENDOR_SIZE As String = "NPC Size, 1 = normal size, 0.5 = half size, 2 = ... |
Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Text
Imports System.Xml.Serialization
Namespace ChartsDemo
<XmlRoot("CountryPopulationData")>
Public Class CountryPopulationData
Inherits List(Of CountryPopulation)
Private Shared data_Renamed As List(Of Coun... |
' Inspired from http://www.codeproject.com/KB/cs/enumdatabinding.aspx
Imports System.Reflection
Imports Solution1.Module.Win.XEnums
'Imports XApp.XEnums
'Imports XFW.XEnums
<AttributeUsage(AttributeTargets.Enum Or AttributeTargets.Field, AllowMultiple:=False)>
Public NotInheritable Class EnumDescriptionAttribute
... |
Public Class Ship
Implements ShipCombat
Public Shared Function Generate(ByVal size As ShipSize) As Ship
Dim ship As New Ship
With ship
.Name = ShipGenerator.GetName
.Size = size
Select Case size
Case ShipSize.Sloop
.Quadran... |
Imports System.ComponentModel.DataAnnotations
Public Class clsUser
<Required>
<EmailAddress>
Property email As String
Property id As String
Property shop_connections As New List(Of String)
Property eskimo_operator_id As String
End Class
Class clsAppPermission
Property PermissionDescriptio... |
Public Interface IProject
Inherits IProjectFile
ReadOnly Property FilesExtension() As String
ReadOnly Property Files() As IEnumerable(Of IProjectFile)
End Interface
|
Imports System.ComponentModel.DataAnnotations
Imports System.ComponentModel.DataAnnotations.Schema
Imports System.Collections.Generic
Namespace Entities
Public Class Invoice
<Key> _
<MaxLength(15)> _
<Display(Name:="Invoice No.")> _
Public Property InvoiceID As String
Pu... |
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class FrmUser
Inherits DevExpress.XtraEditors.XtraForm
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
... |
Imports System
Imports System.Data.Entity.Migrations
Imports Microsoft.VisualBasic
Namespace Migrations
Public Partial Class ModifDu16042019AjoutTableAgiosClient
Inherits DbMigration
Public Overrides Sub Up()
CreateTable(
"dbo.AgiosClient",
Function(... |
Module Module_Pci8158TrMoveFor2Axis
Const card8158 As Short = 0
' winmm.dll is better than dateTime in the donet framwork
Private Declare Function timeGetTime Lib "winmm.dll" Alias "timeGetTime" () As Long
' QueryPerformance as the more accurate timer
Declare Function QueryPerformanceCounter Lib ... |
Imports System.Data.Entity
Imports System.Net
Imports PagedList
Imports Microsoft.AspNet.Identity
Imports System.Data.Entity.Validation
Namespace TeamCollect
Public Class GrilleController
Inherits BaseController
Private db As New ApplicationDbContext
Private Function getCurrentUser() As ... |
Public Interface IParkingLot
Property PrecioPorHora As Integer
Property CapacidadTotal As Integer
ReadOnly Property CantidadEstacionados As Integer
ReadOnly Property EspaciosDisponibles As Integer
ReadOnly Property TotalFacturado As Double
Sub IngresoDetectado(patente As String)
Su... |
Namespace MB.TheBeerHouse.UI
Partial Class Template
Inherits System.Web.UI.MasterPage
Private _enablePersonalization As Boolean = False
Public Property EnablePersonalization() As Boolean
Get
Return _enablePersonalization
End Get
Set(ByVal... |
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
'* 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... |
Imports Neurotec.Licensing
Imports Microsoft.VisualBasic
Imports System
Imports System.IO
Friend Class Program
Private Shared Function Usage() As Integer
Console.WriteLine("usage:")
Console.WriteLine(vbTab & "{0} [serial file name] [id file name]", TutorialUtils.GetAssemblyName())
Console.WriteLine()
... |
Imports AMC.DNN.Modules.CertRecert.Business.Controller
Imports System.Web.UI.WebControls
Imports System.IO
Imports System.Text.RegularExpressions
Imports TIMSS.API.User.CertificationInfo
Imports TIMSS.API.User.UserDefinedInfo
Namespace Helpers
Public Class CommonHelper
#Region "Singleton"
... |
Public Class clsBeTrans_re_det_parametros
Implements ICloneable
Private mIdParametroDet As Integer = 0
Private mIdRecepcionDet As Integer = 0
Private mIdParametro As Integer = 0
Private mValor_texto As String = ""
Private mValor_numerico As Double = 0.0
Private mValor_fecha As Date = Date.Now
Private mValor_lo... |
'Jemika Smith
'RCET0265
'Spring2020
'Math Contest
'https://github.com/smitjemi/JKS-VS-S20
Public Class MathContestForm
Dim userMessage As String
Dim randomNumber As Integer
Dim studentAnswer As Integer
Dim correctAnswer As Integer
Dim firstNumber As Integer
Dim secondNumber As Integer
Dim n... |
Imports System.IO
Imports Snarl
Module mdl_Globals
' Locale Settings
Public strLocaleDecimal As String = Mid(CStr(11 / 10), 2, 1)
Public strLocaleComma As String = Chr(90 - Asc(strLocaleDecimal))
' OS Information
Public str_OSFullName As String = My.Computer.Info.OSFullName
Public str_OSVers... |
Public Class frmViewRequest
Private Enum GridColumIndex
RequestId = 0
RequestUserId
Requester
Phone
RequestDate
RequestSubject
RequestDescription
Status
Technician
TechnicianPhone
CompletionDate
TEchnicalCo... |
Imports System.ComponentModel.DataAnnotations
Public Class CartItem
<Key> _
Public Property ItemId() As String
Public Property CartId() As String
Public Property Quantity() As Integer
Public Property DateCreated() As DateTime
Public Property ProductId() As Integer
Pub... |
Imports System.Data.OleDb
Public Class ClienteRepositorio
Public Sub Inserir(cliente As Impacta.Dominio.Cliente)
Dim caminho = "C:\Users\Vitor\Documents\Aulas\Impacta\CSharp\II\Pedido.accdb"
Using con As New OleDbConnection(String.Format("Provider=Microsoft.ACE.OLEDB.12.0;DataSource={0};"... |
Imports System.IO
Imports System.Drawing.Printing
Imports System.Runtime.InteropServices
Public Class RawPrinterHelper
' Structure and API declarions:
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)> _
Structure DOCINFOW
<MarshalAs(UnmanagedType.LPWStr)> Public pDocName As String
<MarshalAs(Unman... |
Public Class PhieuThu_DTO
Private strMaPhieuThuTien As String
Private strMaDaiLy As String
Private dateNgayThuTien As Date
Private iSoTienThu As Integer
Public Sub New()
End Sub
Public Sub New(strMaPhieuThuTien As String, strMaDaiLy As String, dateNgayThuTien As Date, iSoTienThu As Integer)... |
Imports System.Data.SqlClient
Imports SecurityLib
Imports System.Text
Public Class Checkout
Inherits System.Web.UI.Page
Private customerID As Integer
#Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub In... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.