Click here to Skip to main content
15,888,454 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: serialport timeout c# .net 4 client profile Pin
Gerry Schmitz12-Feb-14 9:03
mveGerry Schmitz12-Feb-14 9:03 
QuestionHow to call a Phython Script from .Net Pin
Kandepu Rajesh10-Feb-14 12:11
Kandepu Rajesh10-Feb-14 12:11 
SuggestionRe: How to call a Phython Script from .Net Pin
Richard MacCutchan10-Feb-14 21:00
mveRichard MacCutchan10-Feb-14 21:00 
AnswerRe: How to call a Phython Script from .Net Pin
Bernhard Hiller10-Feb-14 21:15
Bernhard Hiller10-Feb-14 21:15 
GeneralRe: How to call a Phython Script from .Net Pin
Kandepu Rajesh10-Feb-14 21:18
Kandepu Rajesh10-Feb-14 21:18 
GeneralRe: How to call a Phython Script from .Net Pin
Pete O'Hanlon10-Feb-14 23:52
mvePete O'Hanlon10-Feb-14 23:52 
AnswerRe: How to call a Phython Script from .Net Pin
Kornfeld Eliyahu Peter10-Feb-14 23:29
professionalKornfeld Eliyahu Peter10-Feb-14 23:29 
QuestionCustom Control Visual Basic .Net Pin
JM768-Feb-14 2:01
JM768-Feb-14 2:01 
Hi everybody

I´m trying to do my own Custom Control, and I followed this helpfull tutorial
Writing your Custom Control: step by step[^]

But I have a problem, I can´t see the properties that I have created.

This is my code

XML
Imports System.Windows.Forms
Imports System.Drawing
Imports System.ComponentModel
Imports Microsoft.VisualBasic.PowerPacks

Public Class ClaseTarjeta
    Inherits RectangleShape
    Private Bit As Boolean

    '<Browsable(True)>
    <Description("Estado del Bit")>
    <Category("BITS")>
    Public Property EstadoBit() As Boolean
        Get
            Return Bit
        End Get
        Set(ByVal Value As Boolean)
            Bit = Value
        End Set
    End Property
    Sub New()

    End Sub


And I have in the user control that

VB
Imports ClassTarjeta

Public Class Tarjeta

    Dim bit_0 As ClaseTarjeta

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        If bit_0.EstadoBit = False Then
            rBit0.FillColor = Drawing.Color.Gray
        Else
            rBit0.FillColor = Drawing.Color.Green
        End If
    End Sub

    Private Sub Tarjeta_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Timer1.Enabled = False
        Timer1.Interval = 500

    End Sub
End Class



any help will be gratefull, because I don´t know what I have made wrong

Sorry for my poor english Frown | :(
AnswerRe: Custom Control Visual Basic .Net Pin
Dave Kreskowiak8-Feb-14 2:54
mveDave Kreskowiak8-Feb-14 2:54 
GeneralRe: Custom Control Visual Basic .Net Pin
JM768-Feb-14 3:04
JM768-Feb-14 3:04 
QuestionToolstrip Pin
KirtiZare7-Feb-14 22:42
KirtiZare7-Feb-14 22:42 
AnswerRe: Toolstrip Pin
Dave Kreskowiak8-Feb-14 2:51
mveDave Kreskowiak8-Feb-14 2:51 
Questionnot able to save image which is already saved with same name and to the same location Pin
ven7537-Feb-14 18:05
ven7537-Feb-14 18:05 
AnswerRe: not able to save image which is already saved with same name and to the same location Pin
TnTinMn7-Feb-14 18:37
TnTinMn7-Feb-14 18:37 
GeneralRe: not able to save image which is already saved with same name and to the same location Pin
ven7537-Feb-14 23:22
ven7537-Feb-14 23:22 
GeneralRe: not able to save image which is already saved with same name and to the same location Pin
TnTinMn8-Feb-14 8:43
TnTinMn8-Feb-14 8:43 
GeneralRe: not able to save image which is already saved with same name and to the same location Pin
ven7539-Feb-14 2:13
ven7539-Feb-14 2:13 
AnswerRe: not able to save image which is already saved with same name and to the same location Pin
PKJain7512-Feb-14 23:51
professionalPKJain7512-Feb-14 23:51 
Questionpopulating data from datagridview into textboxes Pin
Member 105062157-Feb-14 1:10
Member 105062157-Feb-14 1:10 
QuestionRe: populating data from datagridview into textboxes Pin
Eddy Vluggen7-Feb-14 8:55
professionalEddy Vluggen7-Feb-14 8:55 
QuestionError in conversion of application Pin
Ashish Sharma6-Feb-14 18:18
Ashish Sharma6-Feb-14 18:18 
AnswerRe: Error in conversion of application Pin
thatraja6-Feb-14 20:24
professionalthatraja6-Feb-14 20:24 
Questionnot able to Deserialize json signature lines Pin
ven7534-Feb-14 18:36
ven7534-Feb-14 18:36 
AnswerRe: not able to Deserialize json signature lines Pin
Richard Deeming5-Feb-14 2:57
mveRichard Deeming5-Feb-14 2:57 
GeneralRe: not able to Deserialize json signature lines Pin
ven7535-Feb-14 5:17
ven7535-Feb-14 5:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.