6 months ago
parent
commit
9a48ce11dd
1 changed files with 1 additions and 2 deletions
  1. 1 2
      03_1_Properties/Form1.cs

+ 1 - 2
03_1_Properties/Form1.cs

@@ -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