Projektdateien hinzufügen.
This commit is contained in:
29
WindowsFormsApp1/Test/BaseTextBox.cs
Normal file
29
WindowsFormsApp1/Test/BaseTextBox.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using WindowsFormsApp1.classes;
|
||||
using WindowsFormsApp1.OP;
|
||||
|
||||
namespace WindowsFormsApp1.Test
|
||||
{
|
||||
public class BaseTextBox : ABaseTexBox, OP.IObserver<string>
|
||||
{
|
||||
public BaseTextBox() : base()
|
||||
{
|
||||
ForeColor = Color.White;
|
||||
BackColor = Color.DarkOrange;
|
||||
}
|
||||
|
||||
public override string Description { get; set; }
|
||||
|
||||
public void Update(ISubject<string> subject)
|
||||
{
|
||||
|
||||
MessageBox.Show(subject.GetState());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user