private void SecondInterfaceSetup_Domination() { Task1Panel.Hide(); Task2Panel.Show(); NavigationPanel.Hide(); StrategiesPanel.Hide(); B.Show(); CreateArrays(0, 1); UI.ControlsAligner gpanel = new UI.ControlsAligner(MatrixesPanel); gpanel.AddElement(A); gpanel.AddElement(B, false); gpanel.Align(); UI.ControlsAligner form = new UI.ControlsAligner(this); form.AddElement(Task2Panel); form.AddElement(MatrixesPanel); form.AddElement(SkipBTN, true, "Left"); form.AddElement(FinishBTN, false, "Right"); form.Align(); this.Location = new Point((Screen.PrimaryScreen.Bounds.Width - this.Width) / 2, 50); this.Text = "Сократите матрицы используя отношение доминирования"; }