Exemple #1
0
        /// <summary>
        /// Contructor
        /// </summary>
        public Form1()
        {
            // Access form components.
            Components = new Container();

            // Set Form width.
            Width = WIDTH;

            // Form system tray icon.
            TrayIcon = new TrayIcon(this);

            // Hide form.
            Deactivate += Form1_Deactivate;
        }
Exemple #2
0
 public void TrayIconConstructorTest()
 {
     Form1 form = null; // TODO: Initialize to an appropriate value
     TrayIcon target = new TrayIcon(form);
     Assert.Inconclusive("TODO: Implement code to verify target");
 }