Click here to Skip to main content
12,249,488 members (34,352 online)
   

C#

 
AnswerRe: Running an exe Pin
PIEBALDconsult22-Jan-13 7:15
memberPIEBALDconsult22-Jan-13 7:15 
SuggestionRe: Running an exe Pin
Richard MacCutchan22-Jan-13 7:34
mvpRichard MacCutchan22-Jan-13 7:34 
GeneralRe: Running an exe Pin
TheGermoz22-Jan-13 7:57
memberTheGermoz22-Jan-13 7:57 
GeneralRe: Running an exe Pin
jibesh22-Jan-13 8:04
memberjibesh22-Jan-13 8:04 
GeneralRe: Running an exe Pin
TheGermoz22-Jan-13 8:14
memberTheGermoz22-Jan-13 8:14 
GeneralRe: Running an exe Pin
jibesh22-Jan-13 8:34
memberjibesh22-Jan-13 8:34 
GeneralRe: Running an exe Pin
Richard MacCutchan22-Jan-13 8:15
mvpRichard MacCutchan22-Jan-13 8:15 
AnswerRe: Running an exe Pin
jschell22-Jan-13 9:09
memberjschell22-Jan-13 9:09 
AnswerRe: Running an exe Pin
Joe Woodbury22-Jan-13 11:14
memberJoe Woodbury22-Jan-13 11:14 
GeneralRe: Running an exe Pin
TheGermoz22-Jan-13 11:50
memberTheGermoz22-Jan-13 11:50 
GeneralRe: Running an exe Pin
jibesh22-Jan-13 15:50
memberjibesh22-Jan-13 15:50 
GeneralRe: Running an exe Pin
TheGermoz22-Jan-13 19:55
memberTheGermoz22-Jan-13 19:55 
GeneralRe: Running an exe Pin
jibesh22-Jan-13 20:25
memberjibesh22-Jan-13 20:25 
QuestionDrag items to Listview Pin
jenya722-Jan-13 5:01
memberjenya722-Jan-13 5:01 
Hi All,
I have a ListView with 3 groups.
I drag an item from TreeView to ListView:
private void listViewDemo_DragDrop(object sender, DragEventArgs e)
{
    if (!is_listview) //treeview item
    {
        //get a text of a draged item
        string str = e.Data.GetData(DataFormats.Text).ToString();
        //get information about hovered item
        ListViewHitTestInfo hit_info = listViewDemo.HitTest(listViewDemo.PointToClient(new Point(e.X, e.Y)));
        //check position - must be on an item
        if (hit_info.Location == ListViewHitTestLocations.None) return;
        ListViewItem prev_item = hit_info.Item;
        ListViewGroup group = prev_item.Group;
        int idx = prev_item.Index;
        //create a new key
        Guid key = Guid.NewGuid();
        string item_key = key.ToString();
        //create a new item
        //option 1
        group.Items.Add(listViewDemo.Items.Insert(idx,item_key, str, ""));
        //option2
        //group.Items.Insert(idx,listViewDemo.Items.Insert(idx, item_key, str, ""));
    }
}
I expect to add an item in place of pointed item, but any option adds element in the end of the group.
How can i add the item in the spot where mouse hover?
AnswerRe: Drag items to Listview Pin
BobJanova22-Jan-13 23:49
memberBobJanova22-Jan-13 23:49 
QuestionHow to call a "Windows Form Application" in a "Windows Service"? Pin
DaKhucBuon22-Jan-13 2:40
memberDaKhucBuon22-Jan-13 2:40 
AnswerRe: How to call a "Windows Form Application" in a "Windows Service"? Pin
PIEBALDconsult22-Jan-13 3:21
memberPIEBALDconsult22-Jan-13 3:21 
AnswerRe: How to call a "Windows Form Application" in a "Windows Service"? Pin
Dave Kreskowiak22-Jan-13 3:27
mvpDave Kreskowiak22-Jan-13 3:27 
AnswerRe: How to call a "Windows Form Application" in a "Windows Service"? Pin
Collin Jasnoch22-Jan-13 4:34
memberCollin Jasnoch22-Jan-13 4:34 
GeneralRe: How to call a "Windows Form Application" in a "Windows Service"? Pin
DaKhucBuon22-Jan-13 14:56
memberDaKhucBuon22-Jan-13 14:56 
GeneralRe: How to call a "Windows Form Application" in a "Windows Service"? Pin
PIEBALDconsult22-Jan-13 16:50
memberPIEBALDconsult22-Jan-13 16:50 
AnswerRe: How to call a "Windows Form Application" in a "Windows Service"? Pin
DaKhucBuon23-Jan-13 16:59
memberDaKhucBuon23-Jan-13 16:59 
Question(solved) grab selected text from anywhere Pin
msickel22-Jan-13 0:34
membermsickel22-Jan-13 0:34 
AnswerRe: grab selected text from anywhere Pin
Richard MacCutchan22-Jan-13 0:59
mvpRichard MacCutchan22-Jan-13 0:59 
AnswerRe: grab selected text from anywhere Pin
SledgeHammer0122-Jan-13 5:53
memberSledgeHammer0122-Jan-13 5:53 
AnswerRe: grab selected text from anywhere Pin
Ravi Bhavnani22-Jan-13 11:20
memberRavi Bhavnani22-Jan-13 11:20 
GeneralRe: grab selected text from anywhere Pin
msickel23-Jan-13 1:58
membermsickel23-Jan-13 1:58 
QuestionSocket chat client & Server help Pin
Dioblos21-Jan-13 12:52
memberDioblos21-Jan-13 12:52 
AnswerRe: Socket chat client & Server help Pin
Eddy Vluggen21-Jan-13 14:00
mvpEddy Vluggen21-Jan-13 14:00 
GeneralRe: Socket chat client & Server help Pin
Dioblos21-Jan-13 14:24
memberDioblos21-Jan-13 14:24 
GeneralRe: Socket chat client & Server help Pin
Eddy Vluggen21-Jan-13 14:37
mvpEddy Vluggen21-Jan-13 14:37 
GeneralRe: Socket chat client & Server help Pin
Dioblos21-Jan-13 15:30
memberDioblos21-Jan-13 15:30 
AnswerRe: Socket chat client & Server help Pin
Eddy Vluggen21-Jan-13 15:42
mvpEddy Vluggen21-Jan-13 15:42 
GeneralRe: Socket chat client & Server help Pin
Dioblos21-Jan-13 15:49
memberDioblos21-Jan-13 15:49 
GeneralRe: Socket chat client & Server help Pin
Eddy Vluggen21-Jan-13 15:56
mvpEddy Vluggen21-Jan-13 15:56 
GeneralRe: Socket chat client & Server help Pin
Dioblos21-Jan-13 16:01
memberDioblos21-Jan-13 16:01 
GeneralRe: Socket chat client & Server help Pin
Dave Kreskowiak21-Jan-13 16:58
mvpDave Kreskowiak21-Jan-13 16:58 
AnswerRe: Socket chat client & Server help Pin
pt140121-Jan-13 20:55
memberpt140121-Jan-13 20:55 
AnswerRe: Socket chat client & Server help Pin
J4amieC21-Jan-13 22:47
memberJ4amieC21-Jan-13 22:47 
GeneralRe: Socket chat client & Server help Pin
Dioblos22-Jan-13 5:54
memberDioblos22-Jan-13 5:54 
GeneralRe: Socket chat client & Server help Pin
J4amieC22-Jan-13 6:25
memberJ4amieC22-Jan-13 6:25 
AnswerRe: Socket chat client & Server help Pin
Richard MacCutchan21-Jan-13 23:25
mvpRichard MacCutchan21-Jan-13 23:25 
AnswerRe: Socket chat client & Server help Pin
pt140122-Jan-13 4:26
memberpt140122-Jan-13 4:26 
QuestionC# 2010 object Pin
dcof21-Jan-13 9:57
memberdcof21-Jan-13 9:57 
AnswerRe: C# 2010 object Pin
jibesh21-Jan-13 13:00
memberjibesh21-Jan-13 13:00 
AnswerRe: C# 2010 object Pin
Eddy Vluggen21-Jan-13 14:01
mvpEddy Vluggen21-Jan-13 14:01 
AnswerRe: C# 2010 object Pin
Freak3021-Jan-13 22:53
memberFreak3021-Jan-13 22:53 
GeneralC#.net with postGis Pin
tashee21-Jan-13 4:47
membertashee21-Jan-13 4:47 
GeneralRe: C#.net with postGis Pin
Eddy Vluggen21-Jan-13 14:03
mvpEddy Vluggen21-Jan-13 14:03 
QuestionHow to handle Image/Data from Centralized SQL Server Pin
Hema Bairavan21-Jan-13 1:46
memberHema Bairavan21-Jan-13 1:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 4 May 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid