Click here to Skip to main content
15,905,232 members
Home / Discussions / C#
   

C#

 
AnswerRe: Delete a word everytime the program see it. Pin
Abhinav S9-Dec-09 17:13
Abhinav S9-Dec-09 17:13 
GeneralRe: Delete a word everytime the program see it. Pin
ahlm9-Dec-09 18:31
ahlm9-Dec-09 18:31 
QuestionSqlCeResultSet Problem [modified] Pin
Stanciu Vlad9-Dec-09 6:25
Stanciu Vlad9-Dec-09 6:25 
AnswerRe: SqlCeResultSet Problem Pin
Migounette9-Dec-09 12:19
Migounette9-Dec-09 12:19 
QuestionRe: SqlCeResultSet Problem Pin
Stanciu Vlad9-Dec-09 20:09
Stanciu Vlad9-Dec-09 20:09 
QuestionUpdate own written TabPage Pin
Tagamoga9-Dec-09 4:18
Tagamoga9-Dec-09 4:18 
AnswerRe: Update own written TabPage Pin
The Man from U.N.C.L.E.9-Dec-09 7:01
The Man from U.N.C.L.E.9-Dec-09 7:01 
GeneralRe: Update own written TabPage Pin
Tagamoga9-Dec-09 8:28
Tagamoga9-Dec-09 8:28 
Hello.

I will try hard.
Well, when my own written Tab is in Focus a special Button occurs. Clicking on it, it evokes following function:

private void monatsUebersichtNeueAuswertung_Click(object sender, EventArgs e)
        {
            MonatsUebersichtDialog dlg = new MonatsUebersichtDialog();
            if (dlg.ShowDialog() == DialogResult.OK)
            {
                MonatsUebersichtTab tab = (MonatsUebersichtTab)Reiteransicht.SelectedTab;
                tab.setNewData(dlg.User, dlg.Von, dlg.Bis, dlg.Projekt);
                tab.Update();
                tab.Refresh();
                dlg.Dispose();
            }            
        }


The function "setNewData" should now update the page with the new information.

public void setNewData(String newUser, String newVon, String newBis, String newProjekt)
{
	    // Do some magic to get correct Data and put it in myData

	    lblName.Text = myData.ToString();
            lblName.Update();
            lblName.Refresh();
            this.Update();
            this.Refresh();
}


But this Label shows never the new Text. And yes, myData.toString() return the correct String value.

Greetings, Taggi

How do you know, that Tagamoga has been assimilated by the borg?
"Recistunce ist fiutille."
Sorry for violating the english language.

GeneralRe: Update own written TabPage Pin
The Man from U.N.C.L.E.9-Dec-09 10:18
The Man from U.N.C.L.E.9-Dec-09 10:18 
GeneralRe: Update own written TabPage Pin
Tagamoga9-Dec-09 12:24
Tagamoga9-Dec-09 12:24 
GeneralRe: Update own written TabPage Pin
The Man from U.N.C.L.E.10-Dec-09 1:27
The Man from U.N.C.L.E.10-Dec-09 1:27 
QuestionPreventing InvalidDeploymentException exceptions Pin
Jim Crafton9-Dec-09 4:16
Jim Crafton9-Dec-09 4:16 
AnswerRe: Preventing InvalidDeploymentException exceptions Pin
Paulo Zemek9-Dec-09 5:24
Paulo Zemek9-Dec-09 5:24 
GeneralRe: Preventing InvalidDeploymentException exceptions Pin
Jim Crafton9-Dec-09 5:30
Jim Crafton9-Dec-09 5:30 
AnswerRe: Preventing InvalidDeploymentException exceptions Pin
N a v a n e e t h9-Dec-09 14:58
N a v a n e e t h9-Dec-09 14:58 
QuestionHow to get first and last date given a year and a weeknr Pin
livez9-Dec-09 3:30
livez9-Dec-09 3:30 
AnswerRe: How to get first and last date given a year and a weeknr Pin
Richard MacCutchan9-Dec-09 3:42
mveRichard MacCutchan9-Dec-09 3:42 
GeneralRe: How to get first and last date given a year and a weeknr Pin
livez9-Dec-09 3:49
livez9-Dec-09 3:49 
GeneralRe: How to get first and last date given a year and a weeknr Pin
Richard MacCutchan9-Dec-09 4:06
mveRichard MacCutchan9-Dec-09 4:06 
GeneralRe: How to get first and last date given a year and a weeknr Pin
livez9-Dec-09 4:43
livez9-Dec-09 4:43 
GeneralRe: How to get first and last date given a year and a weeknr Pin
Richard MacCutchan9-Dec-09 5:03
mveRichard MacCutchan9-Dec-09 5:03 
GeneralRe: How to get first and last date given a year and a weeknr Pin
livez9-Dec-09 20:06
livez9-Dec-09 20:06 
GeneralRe: How to get first and last date given a year and a weeknr Pin
livez9-Dec-09 23:00
livez9-Dec-09 23:00 
AnswerRe: How to get first and last date given a year and a weeknr Pin
Abhinav S9-Dec-09 4:03
Abhinav S9-Dec-09 4:03 
AnswerRe: How to get first and last date given a year and a weeknr Pin
OriginalGriff9-Dec-09 4:04
mveOriginalGriff9-Dec-09 4:04 

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.