|
@@ -39,8 +39,7 @@ namespace _03_1_Properties
|
|
|
|
|
|
private void button3_Click(object sender, EventArgs e)
|
|
|
{
|
|
|
- Przyklad prz = new Przyklad();
|
|
|
- prz.lbl = label1;
|
|
|
+ Przyklad prz = new Przyklad();
|
|
|
prz.M2 = 123;
|
|
|
MessageBox.Show($"Wartość właściwości N: {prz.M2}");
|
|
|
try
|