Click here to Skip to main content
15,901,426 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: An architectural question I have about my application using Threading Pin
NotPolitcallyCorrect15-Jan-17 12:29
NotPolitcallyCorrect15-Jan-17 12:29 
AnswerRe: An architectural question I have about my application using Threading Pin
Pete O'Hanlon15-Jan-17 21:40
mvePete O'Hanlon15-Jan-17 21:40 
GeneralRe: An architectural question I have about my application using Threading Pin
indian14316-Jan-17 20:36
indian14316-Jan-17 20:36 
GeneralRe: An architectural question I have about my application using Threading Pin
Pete O'Hanlon16-Jan-17 23:33
mvePete O'Hanlon16-Jan-17 23:33 
GeneralRe: An architectural question I have about my application using Threading Pin
indian14317-Jan-17 7:21
indian14317-Jan-17 7:21 
GeneralRe: An architectural question I have about my application using Threading Pin
Pete O'Hanlon17-Jan-17 7:27
mvePete O'Hanlon17-Jan-17 7:27 
GeneralRe: An architectural question I have about my application using Threading Pin
indian14317-Jan-17 7:40
indian14317-Jan-17 7:40 
QuestionCustom datagrid collumns winform and tabcontrol Pin
lakilane11-Jan-17 21:54
lakilane11-Jan-17 21:54 
<pre>I create winforms app, and have tabcontroll with some tabpage.In one of then tabpage I have grid.Grid must be have checkbox on the collumns.When I load forms and click on tabpage grid render ok,but when I load forms and select tabpage force grid duplicate collumns,and not checked checkbox?
Its part for render grid, Methode UcitajKontakta.

<pre lang="c#">dbgPacijentKontakt.DataSource = _t;



            if (dbgPacijentKontakt.RowCount > 0)
            {
                for (var i = 0; i < dbgPacijentKontakt.Columns.Count; i++)
                {
                    DataGridViewColumn column = dbgPacijentKontakt.Columns[i];
                    if (!new[] { "Email rezultati", "Email lab", "Sms podsetnik" }.Contains(column.HeaderText))
                    {
                        continue;
                    }
                    DataGridViewCheckBoxColumn column1 = new DataGridViewCheckBoxColumn();
                    column1.HeaderText = column.HeaderText;
                    column1.Name = column.Name;
                    column1.CellTemplate = new DataGridViewCheckBoxCell();

                    dbgPacijentKontakt.Columns.Remove(column);
                    dbgPacijentKontakt.Columns.Insert(i, column1);


                }
                dbgPacijentKontakt.CommitEdit(DataGridViewDataErrorContexts.Commit);
                for (int i = 0; i < _t.Rows.Count; i++)
                {
                    dbgPacijentKontakt["Sms_podsetnik", i].Value = bool.Parse(_t.Rows[i]["Sms_podsetnik"].ToString());
                  



                }     

When click on tabpage.
private void tc_SelectedIndexChanged(object sender, EventArgs e)
{
if (tc.SelectedTab == tpKontakti)
{
UcitajKontakta(null);
}
}

This code execute when load forms with predefeni tabpage.


UcitajKontakta(null);
tc.SelectedIndex = tc.TabPages.IndexOf(tpKontakti);


Pls can someone to discribe me what hapend on selecectindexchange event ...
QuestionRe: Custom datagrid collumns winform and tabcontrol Pin
ZurdoDev16-Jan-17 5:50
professionalZurdoDev16-Jan-17 5:50 
QuestionRegEx to replace all characters of a name after 3rd character Pin
indian1434-Jan-17 13:45
indian1434-Jan-17 13:45 
AnswerRe: RegEx to replace all characters of a name after 3rd character Pin
Dave Kreskowiak4-Jan-17 15:22
mveDave Kreskowiak4-Jan-17 15:22 
GeneralRe: RegEx to replace all characters of a name after 3rd character Pin
indian1434-Jan-17 19:05
indian1434-Jan-17 19:05 
GeneralRe: RegEx to replace all characters of a name after 3rd character Pin
Dave Kreskowiak4-Jan-17 19:32
mveDave Kreskowiak4-Jan-17 19:32 
GeneralRe: RegEx to replace all characters of a name after 3rd character Pin
Pete O'Hanlon4-Jan-17 20:44
mvePete O'Hanlon4-Jan-17 20:44 
GeneralRe: RegEx to replace all characters of a name after 3rd character Pin
Medicomart16-Jan-17 19:03
professionalMedicomart16-Jan-17 19:03 
AnswerRe: RegEx to replace all characters of a name after 3rd character Pin
Thomas Daniels5-Jan-17 1:00
mentorThomas Daniels5-Jan-17 1:00 
QuestionWhat are some .Net framework classes / interfaces that every developer should know? Pin
James_Parsons22-Dec-16 8:38
James_Parsons22-Dec-16 8:38 
AnswerRe: What are some .Net framework classes / interfaces that every developer should know? Pin
Gerry Schmitz22-Dec-16 16:11
mveGerry Schmitz22-Dec-16 16:11 
AnswerRe: What are some .Net framework classes / interfaces that every developer should know? Pin
Thomas Daniels1-Jan-17 1:02
mentorThomas Daniels1-Jan-17 1:02 
QuestionAn architectural question that I have related to FileSystemWatcher Pin
indian14321-Dec-16 5:04
indian14321-Dec-16 5:04 
AnswerRe: An architectural question that I have related to FileSystemWatcher Pin
Dave Kreskowiak21-Dec-16 5:59
mveDave Kreskowiak21-Dec-16 5:59 
AnswerRe: An architectural question that I have related to FileSystemWatcher Pin
jschell26-Dec-16 5:55
jschell26-Dec-16 5:55 
QuestionCreating classes for the Database using EntityFramework 6 Pin
indian14319-Dec-16 7:17
indian14319-Dec-16 7:17 
AnswerRe: Creating classes for the Database using EntityFramework 6 Pin
Richard Deeming19-Dec-16 7:38
mveRichard Deeming19-Dec-16 7:38 
QuestionTransactionscope in c# is not support signalr, push notifications? Pin
Sathiya moorthi18-Dec-16 23:29
Sathiya moorthi18-Dec-16 23: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.