private void executeCreateCommand() { if (!IsDefaultValues() && WoodenConstruction == true) { _table = new TableClass(_id, _tableName, _width, _height, _depth, _binderWidth, _material); IsEnableButton = false; IsEnabled = false; IsEnabledMarza = true; _table.CuttingList(); } else if (!IsDefaultValuesConstruction() && MetalConstruction == true) { _table = new TableClass(_id, _tableName, _width, _depth, _height, _material); IsEnabled = false; IsEnableButton = false; IsEnabledMarza = true; _table.CuttingList(); } }