Ricerca
Register
Login
Home
Mappa del sito
Community
Mission
Bacheca Iscritti
Iscrizioni
Team
Contenuti
Articoli
Webcast
Risorse
Utility
Forums
Blogs
Workshops
Visual Basic 2010 Training Rallies
Community Tour: Mappa
Storico
Community Meeting - Developers professional tools
ADO.Net Boot Camp
Business Development Workshop
Community Tour: Seven Developers Experiences
Community Tour - Visual Studio 2010
DotNetWork Forums
Unanswered
Active Topics
Forums
Search
Forums
>
Forums Tecnici
>
.NET Framework - Desktop development
UserControl derivato da CheckBox
Last Post 04 Feb 2010 16:38 by Panatronic. 3 Replies.
Sort:
Oldest First
Most Recent First
Prev
Next
You are not authorized to post a reply.
Author
Messages
Posts:365
04 Feb 2010 15:06
Buonasera a tutti.
ho un Control derivato dal CheckBox (principalmente lo sto facendo col controllo infragistics ma il problema me lo da anche con quello Microsoft)
devo far in modo che in base allo stato del check, mi valorizzi una property "Messaggio".
Ho fatto questo questo metodo:
Protected Overrides Sub OnCheckedChanged(ByVal e As System.EventArgs) If Me.Checked = True Then
Messaggio= "SI"
Else
Messaggio= "NO"
End If
End Sub
Questo non funziona. Quale evento devo usare?
Grazie.
Posts:9
04 Feb 2010 15:26
In che cosa non funziona?
Se il guaio è solo che il controllo non risponde, devi solo aggiungere, come prima riga
MyBase.OnCheckedChanged()
Carmelo
Posts:9
04 Feb 2010 16:00
Errata corrige: come ULTIMA RIGA
Posts:365
04 Feb 2010 16:38
grazie Carmelo.
la riga che dici di mettere va bene col controllo Microsoft (va aggiunto il parametro MyBase.OnCheckedChanged(e) )
col controllo infragistics invece non ne vuole sapere.
grazie.
You are not authorized to post a reply.
Forums Tecnici
--.NET Framework - Desktop development
--.NET Framework - Web development
--Sql & Code for DataBase developers
--Amministrazione di sistemi e networking
--VB - VBA - MS Office
--Altro (COM, ActiveX, Legacy, ecc...)
--Controlli e componenti di terze parti
Forum Business
--Proposte
--Richieste
Forums
>
Forums Tecnici
>
.NET Framework - Desktop development
Active Forums 4.1
Articoli Pubblicati
Panoramica del Sistema dei Comandi
Come iniziare a capire com'è fatto WPF (parte 5)
2007/09/30 | Author: Patrizia Cosolo
Codedom Getting Started part 1
How to generate automatically C# or VB code using CodeDom and the .NET framework
2009/11/07 | Author: Sabrina Cosolo
Codedom Getting Started part 3
The helper class with CodeDom Functionalities
2009/11/07 | Author: Sabna Cosolo
Panoramica delle Proprietà Subordinate (Dependency Properties)
Come iniziare a capire WPF Parte 6
2007/11/22 | Author: Patrizia Cosolo
Code Unit Testing (part 1)
How to start building tests to strengthen our code
2007/12/26 | Author: Sabrina Cosolo
Miniguida alla OOP con il .NET Framework- Parte I
Come prendere per mano un tipico programmatore VB6
2008/07/27 | Author: Alberto De Luca
Working with Arrays
The backpack problem
2007/07/29 | Author: Alberto De Luca
Small guide to OOP with .Net framework - Part IV
How to Manage inheritance
2009/07/17 | Author: Alberto De Luca
Print
Home
|
Community
|
Contenuti
|
Forums
|
Blogs
|
Workshops
© 2007-2010 by DotNetWork
.:.
Terms Of Use
.:.
Privacy Statement
.:.
Login
.:.