public PropertiesDBDocDialog(int docId)
        {
            InitializeComponent();
            DoubleBuffered = true;

            DocID = docId;

            _linkEditor = new HoverLinkLabel(this)
            {
                AutoSize = true,
                Location = new Point(lblEditor.Right, lblEditor.Location.Y),
                Size     = new Size(lblEdited.Location.X - 3 - Location.X, lblEditor.Height)
            };
            Controls.Add(_linkEditor);

            _linkDocAuthor = new HoverLinkLabel(this)
            {
                AutoSize = true,
                Location = new Point(lblDocAurtor.Right, lblDocAurtor.Location.Y),
                Size     = new Size(lblDocAurtor.Location.X - 3 - Location.X, lblDocAurtor.Height)
            };
            Controls.Add(_linkDocAuthor);

            dateBlock.RaiseDateBlockEvent += HandleDateBlockEvent;
        }
        public FaxPropertyEdiorControl(string propertyName, string propertyValue, Int32 ID)
            : base(propertyName, propertyValue)
        {
            if (ID <= 0)
            {
                return;
            }
            try
            {
                labelValue = new HoverLinkLabel(FindForm())
                {
                    Dock      = DockStyle.Fill,
                    Location  = new Point(128, 0),
                    Name      = "labelValue",
                    AutoSize  = true,
                    Size      = new Size(160, 16),
                    TabIndex  = 1,
                    TextAlign = ContentAlignment.MiddleLeft,
                    Url       = Lib.Win.Document.Environment.UsersURL + ID,
                    Text      = propertyValue,
                    Caption   = string.Format("№{0} {1}", ID, propertyValue)
                };

                Controls.Add(labelValue);
                labelValue.BringToFront();
            }
            catch (Exception ex)
            {
                Lib.Win.Data.Env.WriteToLog(ex);
            }
        }
        public PropertiesDocImageDialog()
        {
            InitializeComponent();
            buttonFileProperties.Visible = false;

            linkCreator = new HoverLinkLabel(this)
            {
                AutoSize = true,
                Location = new Point(labelCreator.Right, labelCreator.Location.Y)
            };
            linkEditor = new HoverLinkLabel(this)
            {
                AutoSize = true,
                Location = new Point(labelEditor.Right, labelEditor.Location.Y)
            };
            linkArchiveEditor = new HoverLinkLabel(this)
            {
                AutoSize = true,
                Location = new Point(archiveEditorLabel.Right, archiveEditorLabel.Location.Y),
                Anchor   = AnchorStyles.Top | AnchorStyles.Right
            };
            Controls.Add(linkCreator);
            Controls.Add(linkEditor);
            groupBoxArchives.Controls.Add(linkArchiveEditor);
        }