|
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace winServiceAndWindowsInterface
{
/// <summary>
/// Summary description for NotifyFrm.
/// </summary>
public class NotifyFrm : System.Windows.Forms.Form
{
StructDisplayInfo myDisplayInfo ;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public NotifyFrm()
{
myDisplayInfo = new StructDisplayInfo();
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
//
// NotifyFrm
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(0, 0);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.MinimizeBox = false;
this.Name = "NotifyFrm";
this.ShowInTaskbar = false;
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
this.Activated += new System.EventHandler(this.NotifyFrm_Activated);
}
#endregion
public void fillDisplayInfo (StructDisplayInfo inInfo)
{
myDisplayInfo = inInfo;
}
private void NotifyFrm_Activated(object sender, System.EventArgs e)
{
NotifyMe myNotify = new NotifyMe(myDisplayInfo);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.