void item_dropped_on_leave_comment_area_auth(object sender, SurfaceDragDropEventArgs e)
{
string[] data = ((string)e.Cursor.Data).Split(new Char[] { ';' });
if (data == null) return;
if (data.Count() < 4) return;
string context = data[0];
if (context == "user")
{
string username = data[3];
int user_id = Convert.ToInt32(data[1]);
this.selected_user.title.Text = username;
this.comment_user_id = user_id;
this.selected_user.avatar.Source = new BitmapImage(new Uri(data[2]));
this.submit_comment_auth.IsEnabled = true;
this.pin_area.Visibility = System.Windows.Visibility.Visible;
if (keyboard_frame != null) keyboard_frame.Visibility = System.Windows.Visibility.Collapsed;
this.pin.Reset(true);
if (is_reply)
log.WriteInteractionLog(29, (hide_expander ? "Idea" : "Comment") + "; user id: " + user_id + "reply id: " + reply_id + "; Text: " + this.GetActiveTextBox().Text + "; object_type: " + _object_type + "; object_id: " + _object_id.ToString(), e.Cursor.GetPosition(null).X, e.Cursor.GetPosition(null).Y);
else
log.WriteInteractionLog(29, (hide_expander ? "Idea" : "Comment") + "; user id: " + user_id + "; Text: " + this.GetActiveTextBox().Text + "; object_type: " + _object_type + "; object_id: " + _object_id.ToString(), e.Cursor.GetPosition(null).X, e.Cursor.GetPosition(null).Y);
}
e.Handled = true;
}