Click here to Skip to main content
15,903,175 members
Home / Discussions / C#
   

C#

 
Questioncursor Pin
litao517-Oct-13 4:29
litao517-Oct-13 4:29 
AnswerRe: cursor Pin
Eddy Vluggen17-Oct-13 5:12
professionalEddy Vluggen17-Oct-13 5:12 
GeneralRe: cursor Pin
litao517-Oct-13 18:10
litao517-Oct-13 18:10 
AnswerRe: cursor Pin
BillWoodruff17-Oct-13 16:19
professionalBillWoodruff17-Oct-13 16:19 
QuestionControl from scratch ? Pin
_Q12_16-Oct-13 21:16
_Q12_16-Oct-13 21:16 
AnswerRe: Control from scratch ? Pin
Chris Quinn16-Oct-13 21:37
Chris Quinn16-Oct-13 21:37 
GeneralRe: Control from scratch ? Pin
_Q12_16-Oct-13 21:43
_Q12_16-Oct-13 21:43 
GeneralRe: Control from scratch ? Pin
_Q12_16-Oct-13 22:04
_Q12_16-Oct-13 22:04 
any idea on how can be achieved this high level of programming stuff?
Any simple example --rudimentary-- like a snippet ?

What i manage to create until now: But is a UserControl extension.
C#
public partial class Car : UserControl
    {
        public Car()
        {
            InitializeComponent();
            CarLoad();
        }
        public void CarLoad()
        {
            Life = 50;
            Wheels = 4;
            PaintColor = BackColor = Color.Aqua;
            this.Size = new Size(20, 20);
        }

        [DefaultValue(50)]
        [Description("...")]
        public int Life { set; get; }
        [DefaultValue(4)]
        public int Wheels { set; get; }

        [DefaultValue(typeof(Color), "Aqua ")]//"255, 0, 0"?
        public Color PaintColor { set; get; }

AnswerRe: Control from scratch ? Pin
Mycroft Holmes16-Oct-13 22:07
professionalMycroft Holmes16-Oct-13 22:07 
GeneralRe: Control from scratch ? Pin
_Q12_16-Oct-13 22:10
_Q12_16-Oct-13 22:10 
AnswerRe: Control from scratch ? Pin
Pete O'Hanlon16-Oct-13 22:42
mvePete O'Hanlon16-Oct-13 22:42 
GeneralRe: Control from scratch ? Pin
_Q12_16-Oct-13 23:07
_Q12_16-Oct-13 23:07 
GeneralRe: Control from scratch ? Pin
Pete O'Hanlon16-Oct-13 23:13
mvePete O'Hanlon16-Oct-13 23:13 
GeneralRe: Control from scratch ? Pin
_Q12_17-Oct-13 5:30
_Q12_17-Oct-13 5:30 
AnswerRe: Control from scratch ? Pin
Richard MacCutchan16-Oct-13 23:13
mveRichard MacCutchan16-Oct-13 23:13 
AnswerRe: Control from scratch ? PinPopular
Eddy Vluggen17-Oct-13 0:28
professionalEddy Vluggen17-Oct-13 0:28 
GeneralRe: Control from scratch ? Pin
_Q12_17-Oct-13 5:30
_Q12_17-Oct-13 5:30 
AnswerRe: Control from scratch ? Pin
Eddy Vluggen17-Oct-13 6:45
professionalEddy Vluggen17-Oct-13 6:45 
GeneralRe: Control from scratch ? Pin
_Q12_17-Oct-13 7:01
_Q12_17-Oct-13 7:01 
GeneralRe: Control from scratch ? Pin
Eddy Vluggen17-Oct-13 9:27
professionalEddy Vluggen17-Oct-13 9:27 
AnswerRe: Control from scratch ? Pin
Dave Kreskowiak17-Oct-13 1:15
mveDave Kreskowiak17-Oct-13 1:15 
AnswerRe: Control from scratch ? Pin
_Q12_17-Oct-13 9:25
_Q12_17-Oct-13 9:25 
QuestionHow To Read And Write OMRON PLC? Pin
Member 820069316-Oct-13 15:41
Member 820069316-Oct-13 15:41 
AnswerRe: How To Read And Write OMRON PLC? Pin
Richard Andrew x6416-Oct-13 16:37
professionalRichard Andrew x6416-Oct-13 16:37 
AnswerRe: How To Read And Write OMRON PLC? Pin
tiliga16-Oct-13 17:00
tiliga16-Oct-13 17:00 

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.