private void CreateRhombus_Click(object sender, RoutedEventArgs e) { Rhombus rhomb = new Rhombus(); rhomb.Launch(Rhomb_Txb.Text); list_txb.Text = "Create object: " + rhomb.Nameobject.Name; count++; Console_Txb.Text = "Count of object: " + count.ToString(); }