ATMLCommonLibrary.forms.HelpMessageBox.HelpMessageBox_Load C# (CSharp) Method

HelpMessageBox_Load() private method

private HelpMessageBox_Load ( object sender, System e ) : void
sender object
e System
return void
        void HelpMessageBox_Load(object sender, System.EventArgs e)
        {
            GraphicsPath path = GetRoundedRect( this.DisplayRectangle, 20f );
            Region = new Region(path);
            Location = _startingLocation;
            if ((Location.Y + this.Height) > Convert.ToInt32(System.Windows.SystemParameters.PrimaryScreenHeight))
            {
                Location = new Point(Location.X, Location.Y - ((Location.Y + this.Height) - Convert.ToInt32(System.Windows.SystemParameters.PrimaryScreenHeight) ) );
            }
        }