To change the default value of the base class code below
Public HuaweiDo1528 ()
{
InitializeComponent();
label17. Text="huawei 1528 single scan";
TxtTM04. Text="1528";
}
Parent has inherited the WINFORM base class 6, is the default value is different, other are all the same,
CodePudding user response:
New Form inherits a base class, the other set properties
CodePudding user response:
Label, TXT is set to the level of protection, in the derived class constructor to assign a value (base. The property),CodePudding user response:
Public partial class Form2: HuaweiDo1528{
Public Form2 ()
{
InitializeComponent();
Base. Label17. Text="WWWWWWW";
}
}
An error as below
CodePudding user response:
This way the game as if it won't work, at sixes and sevens errorCodePudding user response:
The