Click here to Skip to main content
15,896,153 members
Home / Discussions / C#
   

C#

 
QuestionHow can I make my code modular? Pin
George Bradley16-Oct-18 12:43
George Bradley16-Oct-18 12:43 
AnswerRe: How can I make my code modular? Pin
V.16-Oct-18 18:44
professionalV.16-Oct-18 18:44 
GeneralRe: How can I make my code modular? Pin
henrydevid127-Oct-18 11:56
henrydevid127-Oct-18 11:56 
AnswerRe: How can I make my code modular? Pin
#realJSOP24-Oct-18 1:42
professional#realJSOP24-Oct-18 1:42 
AnswerRe: How can I make my code modular? Pin
josda100026-Oct-18 18:29
josda100026-Oct-18 18:29 
GeneralRe: How can I make my code modular? Pin
josda100027-Oct-18 2:48
josda100027-Oct-18 2:48 
QuestionImagelist in Tabcontrol - Image selection Pin
RAFENS15-Oct-18 23:47
RAFENS15-Oct-18 23:47 
AnswerRe: Imagelist in Tabcontrol - Image selection Pin
BillWoodruff19-Oct-18 2:49
professionalBillWoodruff19-Oct-18 2:49 
Create a list of selected image indexes; add a SelectionChanged EventHandler to the ListView after you instantiate it.
List<int> SelectedImagesIndexes = new List<int>();

private void LstViewOnItemSelectionChanged(object sender, ListViewItemSelectionChangedEventArgs e)
{
    int ndx = e.Item.ImageIndex;

    // no image ?
    if(ndx == -1) return;

    bool inlist = SelectedImagesIndexes.Contains(ndx);

    if (e.Item.Selected)
    {
        if (! inlist)
        {
            SelectedImagesIndexes.Add(ndx);
        }
    }
    else
    {
        if (inlist)
        {
            SelectedImagesIndexes.Remove(ndx);
        }
    }
}

«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot

QuestionImage processing in c# Pin
Member 1401942314-Oct-18 10:51
Member 1401942314-Oct-18 10:51 
AnswerRe: Image processing in c# Pin
Dave Kreskowiak14-Oct-18 11:56
mveDave Kreskowiak14-Oct-18 11:56 
GeneralRe: Image processing in c# Pin
Member 1401942314-Oct-18 14:44
Member 1401942314-Oct-18 14:44 
GeneralRe: Image processing in c# Pin
Dave Kreskowiak14-Oct-18 18:28
mveDave Kreskowiak14-Oct-18 18:28 
QuestionUploading images to web hosting server (a particular folder like "Images") through C#.NET Pin
PKSubudhi13-Oct-18 17:47
PKSubudhi13-Oct-18 17:47 
AnswerRe: Uploading images to web hosting server (a particular folder like "Images") through C#.NET Pin
OriginalGriff13-Oct-18 19:56
mveOriginalGriff13-Oct-18 19:56 
AnswerRe: Uploading images to web hosting server (a particular folder like "Images") through C#.NET Pin
Mycroft Holmes14-Oct-18 13:04
professionalMycroft Holmes14-Oct-18 13:04 
QuestionHow can we send SMS in C#.NET to any mobile number without API Gateway? Pin
PKSubudhi13-Oct-18 19:53
PKSubudhi13-Oct-18 19:53 
AnswerRe: How can we send SMS in C#.NET to any mobile number without API Gateway? Pin
Richard MacCutchan13-Oct-18 21:24
mveRichard MacCutchan13-Oct-18 21:24 
AnswerRe: How can we send SMS in C#.NET to any mobile number without API Gateway? Pin
Dave Kreskowiak14-Oct-18 4:53
mveDave Kreskowiak14-Oct-18 4:53 
AnswerRe: How can we send SMS in C#.NET to any mobile number without API Gateway? Pin
MadMyche15-Oct-18 6:25
professionalMadMyche15-Oct-18 6:25 
GeneralRe: How can we send SMS in C#.NET to any mobile number without API Gateway? Pin
MadMyche1-Aug-19 5:35
professionalMadMyche1-Aug-19 5:35 
QuestionaForge.net question Pin
Member 1345929011-Oct-18 4:46
Member 1345929011-Oct-18 4:46 
AnswerRe: aForge.net question Pin
Bernhard Hiller11-Oct-18 21:39
Bernhard Hiller11-Oct-18 21:39 
QuestionHow to connect a mobile phone camera into asp.net c# webapplication without using a usb cable. Pin
Member 119849599-Oct-18 0:27
Member 119849599-Oct-18 0:27 
AnswerRe: How to connect a mobile phone camera into asp.net c# webapplication without using a usb cable. Pin
Nathan Minier9-Oct-18 1:33
professionalNathan Minier9-Oct-18 1:33 
AnswerRe: How to connect a mobile phone camera into asp.net c# webapplication without using a usb cable. Pin
OriginalGriff9-Oct-18 1:39
mveOriginalGriff9-Oct-18 1:39 

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.