o3o.notify.notify C# (CSharp) Method

notify() public method

public notify ( MainWindow1 parentWindow ) : System
parentWindow MainWindow1
return System
        public notify(MainWindow1 parentWindow)
        {
            parent = parentWindow;
            InitializeComponent();
            this.Left = ((parent.Displays[Properties.Settings.Default.DisplayIndex].Bounds.Location.X + parent.Displays[Properties.Settings.Default.DisplayIndex].Bounds.Width) - this.Width) - 107;
            this.Top =  parent.Displays[Properties.Settings.Default.DisplayIndex].Bounds.Location.Y-this.Height;

            ypos = parent.Displays[Properties.Settings.Default.DisplayIndex].Bounds.Location.Y;
            this.Show();
            this.SetAeroGlass();

            this.Topmost = Properties.Settings.Default.TopMostNotify;
            Timer.Tick += new EventHandler(timer_Tick);
            Timer.Interval = (1);
            Timer.Start();
        }