/// <summary>
        /// Open form to view selected Name
        /// </summary>
        private void ViewSelectedName()
        {
            NameDetail            selectedName             = (NameDetail)this.lstNames.SelectedItem;
            DocumentInfoNamesForm newDocumentInfoNamesForm = new DocumentInfoNamesForm(selectedName, DocumentInfoNamesForm.FormState.ViewName);

            newDocumentInfoNamesForm.ShowDialog();
        }
        /// <summary>
        /// Add name
        /// </summary>
        private void AddName()
        {
            NameDetail newName = new NameDetail();

            newName._ID             = "-" + (new Random(DateTime.Now.Millisecond)).Next(0, 999).ToString();
            newName.CreateTimeStamp = System.DateTime.Now;
            newName.EditTimeStamp   = System.DateTime.Now;
            newName.ActionCode      = ActionCode.New;

            DocumentInfoNamesForm newDocumentInfoNamesForm = new DocumentInfoNamesForm(newName, DocumentInfoNamesForm.FormState.NewName);

            if (newDocumentInfoNamesForm.ShowDialog(this) == DialogResult.OK)
            {
                this.CurrentNames.Add(newName);
                this._DocumentInfo.Names = this.CurrentNames.ToArray();
                this.UpdateNamesList();
            }
        }
        /// <summary>
        /// Add name
        /// </summary>
        private void AddName()
        {
            NameDetail newName = new NameDetail();
            newName._ID = "-" + (new Random(DateTime.Now.Millisecond)).Next(0, 999).ToString();
            newName.CreateTimeStamp = System.DateTime.Now;
            newName.EditTimeStamp = System.DateTime.Now;
            newName.ActionCode = ActionCode.New;

            DocumentInfoNamesForm newDocumentInfoNamesForm = new DocumentInfoNamesForm(newName, DocumentInfoNamesForm.FormState.NewName);

            if (newDocumentInfoNamesForm.ShowDialog(this) == DialogResult.OK)
            {
                this.CurrentNames.Add(newName);
                this._DocumentInfo.Names = this.CurrentNames.ToArray();
                this.UpdateNamesList();
            }
        }
 /// <summary>
 /// Open form to view selected Name
 /// </summary>
 private void ViewSelectedName()
 {
     NameDetail selectedName = (NameDetail)this.lstNames.SelectedItem;
     DocumentInfoNamesForm newDocumentInfoNamesForm = new DocumentInfoNamesForm(selectedName, DocumentInfoNamesForm.FormState.ViewName);
     newDocumentInfoNamesForm.ShowDialog();
 }