CtrEditor/ObjetosSim/ucBotella.xaml.cs

57 lines
1.3 KiB
C#
Raw Normal View History

2024-05-02 11:06:45 -03:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace CtrEditor.ObjetosSim
2024-05-02 11:06:45 -03:00
{
/// <summary>
/// Interaction logic for ucBotella.xaml
2024-05-02 11:06:45 -03:00
/// </summary>
///
public class osBotella : osBase
2024-05-02 11:06:45 -03:00
{
public double diametro { get; set; }
// Otros datos y métodos relevantes para la simulación
private string _nombre = "Botella";
public override void Update()
2024-05-03 05:13:25 -03:00
{
// implementation of Update method
}
2024-05-02 11:06:45 -03:00
}
public partial class ucBotella : UserControl, IDataContainer
{
public osBase? Datos { get; set; }
public ucBotella()
{
InitializeComponent();
}
public void Resize(double width, double height) { }
public void Move(double Left, double Top)
{
if (Datos != null)
{
Datos.Left = Left;
Datos.Top = Top;
}
}
public void Rotate(double Angle) { }
2024-05-04 16:27:04 -03:00
public void Highlight(bool State) { }
}
2024-05-02 11:06:45 -03:00
}