26 lines
913 B
C#
26 lines
913 B
C#
///
|
|
/// Copyright (c) 2019 Sensus Slovensko a.s.
|
|
///
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Results.Forms
|
|
{
|
|
public interface IOneWMResultsCtrl
|
|
{
|
|
event EventHandler<WaterMeterEventArgs> WMResultsClickedHandler;
|
|
|
|
bool Disabled { get; } /// true when water meter position is disabled
|
|
int WMPosition { get; } /// 1-based WM position
|
|
int Width { get; set; } /// Control width
|
|
int Height { get; set; } /// Control height
|
|
ListView.ColumnHeaderCollection Columns { get; } /// Embedded ListView control columns
|
|
|
|
void Update(int[] columnWidths);
|
|
void Update(IList<Results.WMeterRsltItemSpec> items);
|
|
void Update(Results.Entities.WaterMeter wMtr);
|
|
}
|
|
}
|