partial         void ClickSendDM(NSObject sender)
        {
            if (memberView.SelectedRowCount > 0)
            {
                var item = data.members[memberView.SelectedRow];

                NSAlert alert = new NSAlert();
                NSTextField textbox = new NSTextField(new System.Drawing.RectangleF(0.0f, 0.0f, 250.0f, 24.0f));
                alert.AccessoryView = textbox;

                alert.AddButton("OK");
                alert.AddButton("Cancel");

                alert.AlertStyle = NSAlertStyle.Informational;
                alert.MessageText = "Send a direct message to " + item.Name + ".";

                alert.BeginSheetForResponse(this.Window, (ret)=>{
                    if (ret == (int)NSAlertButtonReturn.First)
                    {
                        var str = textbox.StringValue;
                        if (str.Length > 0)
                        {
                            cc.SendDirectMSG(str, item.ID);
                            ShowDMSG(item.Name, cc.MyName, str);
                        }
                    }
                });
            }
        }