Hallo,
ich möchte Dezimale Zeitwert (88,5) Std. als formatierte, rechtsbündigen Text anzeigen. Beispiel dafür: 88:30.
MG
Cesarion
protected override Control CreateControl() {
TextBox = new System.Windows.Forms.TextBox()
{
TextAlign = HorizontalAlignment.Right
};
return TextBox;
}
public override string Value
{
get { if (((System.Windows.Forms.TextBox)this.Control).Text != "")
this.RaiseControlAddInEvent(1, ((System.Windows.Forms.TextBox)this.Control).Text);
return ((System.Windows.Forms.TextBox)this.Control).Text; }
set { ((System.Windows.Forms.TextBox)this.Control).Text = Convert.ToString(value) != "" ? value : "error"; }
}
Mitglieder in diesem Forum: Unbekannter Robot und 1 Gast