39 lines
898 B
C#
39 lines
898 B
C#
///
|
|
/// Copyright (c) 2017 Sensus Metering Systems
|
|
///
|
|
using System;
|
|
using System.Windows.Forms;
|
|
using TBF.Resources;
|
|
using TBF.UiBridge;
|
|
|
|
namespace TBF.Screens
|
|
{
|
|
public partial class GraphsTabPageCtrl : UserControl
|
|
{
|
|
public GraphsTabPageCtrl()
|
|
{
|
|
InitializeComponent();
|
|
button1.Text = Strings.ClearBtnText;
|
|
|
|
Bridge.ProcessDataHandler += delegate(object sender, ProcessDataEventArgs args)
|
|
{
|
|
if (InvokeRequired)
|
|
{
|
|
Invoke(new EventHandler<ProcessDataEventArgs>(OnProcessData), sender, args);
|
|
}
|
|
else OnProcessData(sender, args);
|
|
};
|
|
}
|
|
|
|
private void button1_Click(object sender, EventArgs e)
|
|
{
|
|
/// TODO: implement
|
|
}
|
|
|
|
void OnProcessData(object sender, ProcessDataEventArgs args)
|
|
{
|
|
/// TODO: implement
|
|
}
|
|
}
|
|
}
|