private void BUpdate_Click(object sender, EventArgs e)
 {
     try
     {
         if (this.cbSize.SelectedIndex == 0)
         {
             if (this.rbVertical.Checked)
             {
                 graphDiagram.ChangeSize(AreaFormat.A3_Vertical);
             }
             else
             {
                 graphDiagram.ChangeSize(AreaFormat.A3_Horizontal);
             }
         }
         else
         if (this.rbVertical.Checked)
         {
             graphDiagram.ChangeSize(AreaFormat.A4_Vertical);
         }
         else
         {
             graphDiagram.ChangeSize(AreaFormat.A4_Horizontal);
         }
         this.DialogResult = DialogResult.OK;
         this.Close();
     }
     catch
     {
         MowayMessageBox.Show(AreaSizeMessages.ERROR_AREA_SIZE, AreaSizeMessages.TITTLE, MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }