CSL.MainWindow.MainWindow_Resize C# (CSharp) Метод

MainWindow_Resize() приватный Метод

private MainWindow_Resize ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void
        private void MainWindow_Resize(object sender, EventArgs e)
        {
            if (this.WindowState == FormWindowState.Minimized)
            {
                if (SettingsHandler.GetMinimizeToTray())
                {
                    Hide();
                    notifyIcon.Visible = true;
                }
            }
            //DATAGRIDVIEW
            TabbedContainer.Location = new System.Drawing.Point(0, 187);
            TabbedContainer.Size = new System.Drawing.Size(this.Width - 15, this.Height - 240);

            //DELETE BUTTON
            DeleteButton.Location = new System.Drawing.Point(this.Width - 105, 113);
            //uTORRENT SEND BUTTON
            uTorrentSendIndividualButton.Location = new System.Drawing.Point(this.Width - 145, 150);
            //REFRESH BUTTON
            RefreshButton.Location = new System.Drawing.Point(0, 151);
            HideSentTorrentsCheckBox.Location = new System.Drawing.Point(RefreshButton.Width + 5, 155);
            //PROGRESS BAR
            dataGridViewProgressBar.Location = new System.Drawing.Point(0, this.Height - 80);
            dataGridViewProgressBar.Width = this.Width;
            //STATUS LABEL
            StatusLabel.Location = new System.Drawing.Point(0, this.Height - 100);
        }