private async void listViewEx2_DoubleClick(object sender, EventArgs e)
        {
            var mousePosition = listViewEx2.PointToClient(Control.MousePosition);
            var hit           = listViewEx2.HitTest(mousePosition);
            var columnIndex   = hit.Item.SubItems.IndexOf(hit.SubItem);

            var tx = (Transaction)listViewEx2.SelectedItems[0].Tag;

            if (columnIndex == 2 && tx.ResponceId != 0)
            {
                var responseList = await mApi.FetchResponseListAsync(tx.TopicId, tx.ResponceId, tx.ResponceId, 1);

                var html = await mParent.BuildWebBrowserDocument(responseList);

                if (mViewMessagesDialog != null)
                {
                    mViewMessagesDialog.Close();
                }
                mViewMessagesDialog = new ViewMessagesDialog(html, tx.Message, responseList.Topic.Title);
                mViewMessagesDialog.LoadSettings(mSettings.ViewMessagesDialogSettings);
                mViewMessagesDialog.FormClosed += OnViewMessagesDialogClosed;
                mViewMessagesDialog.Show(this);
            }
            else if (columnIndex == 3 && tx.User != null)
            {
                if (mViewProfileDialog != null)
                {
                    mViewProfileDialog.Close();
                }
                mViewProfileDialog = new ViewProfileDialog(mParent, mSettings.Options, mApi, tx.User.UserId);
                mViewProfileDialog.LoadSettings(mSettings.ViewProfileDialogSettings);
                mViewProfileDialog.FormClosed += OnViewProfileDialogClosed;
                mViewProfileDialog.Show(this);
                mSettings.ViewProfileDialogSettings = mViewProfileDialog.SaveSettings();
            }
        }
 private void OnViewProfileDialogClosed(object sender, EventArgs e)
 {
     mSettings.ViewProfileDialogSettings = mViewProfileDialog.SaveSettings();
     mViewProfileDialog.Dispose();
     mViewProfileDialog = null;
 }