public partial class Form1 : Form
{
private void OnNoOrdersErrorEvent(object sender,ErrorEvent ev)
{
txtErrorLog.Text=ev.errorMessage;
}
public event myEventHandler ErrorLogEvent;
//System.EventHandler ErrorLogEvent;
///
/// Event to be matched with transaction complete for "No errors! All orders imported successfully!"
/// for error logging purpose.
///
//public event finalOrderProcessed FinalOrdersEvent;{
private void OnNoOrdersErrorEvent(object sender,ErrorEvent ev)
{
txtErrorLog.Text=ev.errorMessage;
}
public event myEventHandler
//System.EventHandler
///
/// Event to be matched with transaction complete for "No errors! All orders imported successfully!"
/// for error logging purpose.
///
public Form1()
{
InitializeComponent();
}
private BusinessObjects businessObject = new BusinessObjects();
private void chkImportAll_CheckedChanged(object sender, EventArgs e)
{
if (txtErrorLog.BackColor == Color.Red) txtErrorLog.BackColor = Color.Gray;
...
}
}
No comments:
Post a Comment