Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# code to check video quality Pin
Rahul VB31-Jan-14 17:46
professionalRahul VB31-Jan-14 17:46 
GeneralRe: C# code to check video quality Pin
AshwiniSH3-Feb-14 23:07
professionalAshwiniSH3-Feb-14 23:07 
QuestionHow to find IPv4 NOT IPv6 C# ... Pin
Lester Wagner29-Jan-14 21:00
Lester Wagner29-Jan-14 21:00 
AnswerRe: How to find IPv4 NOT IPv6 C# ... Pin
Richard MacCutchan29-Jan-14 22:10
mveRichard MacCutchan29-Jan-14 22:10 
GeneralRe: How to find IPv4 NOT IPv6 C# ... Pin
Lester Wagner29-Jan-14 22:49
Lester Wagner29-Jan-14 22:49 
GeneralRe: How to find IPv4 NOT IPv6 C# ... Pin
Richard MacCutchan29-Jan-14 22:52
mveRichard MacCutchan29-Jan-14 22:52 
QuestionDatagridview Comboboxes C# Pin
HobbyProggy29-Jan-14 20:54
professionalHobbyProggy29-Jan-14 20:54 
AnswerRe: Datagridview Comboboxes C# Pin
HobbyProggy29-Jan-14 22:14
professionalHobbyProggy29-Jan-14 22:14 
Solved it my self Smile | :)

Was quite easy in the end ... Blush | :O

here the Code, i marked the passages i didn't know:

C#
private void dataGridViewX2_CellValueChanged(object sender, DataGridViewCellEventArgs e)
        {
            if (!_doEvent)
            {
                if (sender.GetType().ToString() == "DevComponents.DotNetBar.Controls.DataGridViewX")
                {
                    DevComponents.DotNetBar.Controls.DataGridViewX _temp = (DevComponents.DotNetBar.Controls.DataGridViewX)sender;
                    if (e.ColumnIndex == 5)
                    {
                        Worker.Items.Clear();
                        _rawBenDivFaeh = new IMS_Modelle.BenDivFaeh(_parent.IMSDB, "").ReadAllRoleRelated(_rawRoles.Find(
                                                                    rr => rr.RoleName == dataGridViewX2[e.ColumnIndex,e.RowIndex].Value.ToString()).IdRole);
                        for (int i = 0; i < _rawRes.Count; i++)
                        {
                            if (_rawBenDivFaeh.Exists(rbdf => rbdf.IdResource == _rawRes[i].IdEmployee))
                            {
                                _doEvent = true;
                                DataGridViewComboBoxCell _cell = new DataGridViewComboBoxCell();
                                _cell.Items.Add(_rawRes[i].Name + ", " + _rawRes[i].FirstName);
                                dataGridViewX2.Rows[e.RowIndex].Cells["Worker"] = _cell;
                                _doEvent = false;
                            }
                        }
                    }
                }
            }
        }


Just cell = Combobox ... Sometimes i feel WTF | :WTF:
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}

AnswerRe: Datagridview Comboboxes C# Pin
Rahul VB30-Jan-14 17:47
professionalRahul VB30-Jan-14 17:47 
QuestionXML load into a variable or file Pin
Rahul Vairagi29-Jan-14 18:47
Rahul Vairagi29-Jan-14 18:47 
AnswerRe: XML load into a variable or file Pin
Shameel29-Jan-14 20:31
professionalShameel29-Jan-14 20:31 
AnswerRe: XML load into a variable or file Pin
jschell30-Jan-14 8:31
jschell30-Jan-14 8:31 
GeneralHow to find IPv4 NOT IPv6 C# [Moved] Pin
Lester Wagner29-Jan-14 18:16
Lester Wagner29-Jan-14 18:16 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
_Maxxx_29-Jan-14 18:31
professional_Maxxx_29-Jan-14 18:31 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
Lester Wagner29-Jan-14 18:53
Lester Wagner29-Jan-14 18:53 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
walterhevedeich29-Jan-14 19:14
professionalwalterhevedeich29-Jan-14 19:14 
JokeRe: How to find IPv4 NOT IPv6 C# Pin
walterhevedeich29-Jan-14 19:16
professionalwalterhevedeich29-Jan-14 19:16 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
ZurdoDev30-Jan-14 1:50
professionalZurdoDev30-Jan-14 1:50 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
JimmyRopes29-Jan-14 19:20
professionalJimmyRopes29-Jan-14 19:20 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
Shameel29-Jan-14 19:33
professionalShameel29-Jan-14 19:33 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
Lester Wagner29-Jan-14 19:58
Lester Wagner29-Jan-14 19:58 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
JimmyRopes29-Jan-14 21:35
professionalJimmyRopes29-Jan-14 21:35 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
Lester Wagner29-Jan-14 21:55
Lester Wagner29-Jan-14 21:55 
JokeRe: How to find IPv4 NOT IPv6 C# Pin
Joan M29-Jan-14 19:21
professionalJoan M29-Jan-14 19:21 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
Jim Meadors29-Jan-14 19:29
Jim Meadors29-Jan-14 19:29 

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.