Click here to Skip to main content
15,915,093 members
Home / Discussions / C#
   

C#

 
AnswerRe: Making a file expire Pin
Sebastian Schneider15-Sep-06 3:34
Sebastian Schneider15-Sep-06 3:34 
GeneralRe: Making a file expire Pin
Brady Kelly15-Sep-06 3:46
Brady Kelly15-Sep-06 3:46 
QuestionHow can i change the colour, of a menu, or menu item? Pin
Anthony Mushrow15-Sep-06 2:10
professionalAnthony Mushrow15-Sep-06 2:10 
AnswerRe: How can i change the colour, of a menu, or menu item? Pin
Anthony Mushrow15-Sep-06 5:31
professionalAnthony Mushrow15-Sep-06 5:31 
QuestionUniquely identify a control in a window using Object Name Pin
Anoop Kumar15-Sep-06 1:53
Anoop Kumar15-Sep-06 1:53 
AnswerRe: Uniquely identify a control in a window using Object Name Pin
mikone15-Sep-06 2:09
mikone15-Sep-06 2:09 
GeneralRe: Uniquely identify a control in a window using Object Name Pin
Anoop Kumar18-Sep-06 17:31
Anoop Kumar18-Sep-06 17:31 
QuestionProblem with Threads and a Sliding PopUp (MSN-Lookalike) Pin
Caatss15-Sep-06 1:46
Caatss15-Sep-06 1:46 
I've got a little problem, i've got one threaded class setting up all parameters and finially showing a MSN-Lookalike PopUp window, with a sliding effect. the problem is, the popup only slides 1 or 2px then it gets stuck. Calling the function within the class without using a thread causes no problem and it's shown as it's supposed to. Could anyone help me out or give me a hint ? please Blush | :O

class PopUpHandler<br />
{<br />
private string popTitle;<br />
private string popContent;<br />
TaskbarNotifier taskbarNotifier;<br />
public PopUpHandler(string strTitle, string strContent)<br />
{<br />
popTitle = strTitle;<br />
popContent = strContent;<br />
Thread popUpThread = new Thread(new ThreadStart(popupShowMessage));<br />
popUpThread.Start();<br />
}<br />
public void popupShowMessage() // A function to show a PopUp (MSN-Lookalike)<br />
{<br />
// Gets a reference to the same assembly that contains the type that is creating the ResourceManager.<br />
System.Reflection.Assembly myAssembly = this.GetType().Assembly;<br />
<br />
// Creates the ResourceManager.<br />
ResourceManager myManager = new ResourceManager("SystemTray.Form1", myAssembly);<br />
<br />
// All parameters for the PopUp<br />
taskbarNotifier = new TaskbarNotifier();<br />
taskbarNotifier.SetBackgroundBitmap((Bitmap)Properties.Resources.imageSkin, Color.FromArgb(255, 0, 255));<br />
taskbarNotifier.SetCloseBitmap((Bitmap)Properties.Resources.imageClose, Color.FromArgb(255, 0, 255), new Point(127, 8));<br />
taskbarNotifier.TitleRectangle = new Rectangle(40, 9, 80, 25);<br />
taskbarNotifier.ContentRectangle = new Rectangle(8, 41, 133, 68);<br />
//taskbarNotifier.TitleClick += new EventHandler(TitleClick);<br />
//taskbarNotifier.ContentClick += new EventHandler(ContentClick);<br />
//taskbarNotifier.CloseClick += new EventHandler(CloseClick);<br />
taskbarNotifier.Show(popTitle, popContent, 500, 4000, 50);<br />
}<br />
}

QuestionCreating Transparent Object Pin
İsmail Durmaz15-Sep-06 1:01
İsmail Durmaz15-Sep-06 1:01 
AnswerRe: Creating Transparent Object Pin
Christian Graus15-Sep-06 1:10
protectorChristian Graus15-Sep-06 1:10 
AnswerRe: Creating Transparent Object Pin
mikone15-Sep-06 1:15
mikone15-Sep-06 1:15 
GeneralRe: Creating Transparent Object Pin
İsmail Durmaz15-Sep-06 1:27
İsmail Durmaz15-Sep-06 1:27 
GeneralRe: Creating Transparent Object Pin
mikone15-Sep-06 1:39
mikone15-Sep-06 1:39 
GeneralRe: Creating Transparent Object Pin
morteza5717-Sep-06 0:54
morteza5717-Sep-06 0:54 
Questionhow can i save utf-8 format characters to database [modified] Pin
sikandarhayat15-Sep-06 0:59
sikandarhayat15-Sep-06 0:59 
GeneralRe: how can i save utf-8 format characters to database Pin
Guffa15-Sep-06 1:45
Guffa15-Sep-06 1:45 
AnswerRe: how can i save utf-8 format characters to database Pin
morteza5715-Sep-06 23:26
morteza5715-Sep-06 23:26 
GeneralRe: how can i save utf-8 format characters to database Pin
sikandarhayat17-Sep-06 19:46
sikandarhayat17-Sep-06 19:46 
QuestionSplitting one large CSV file into smaller ones Pin
bigove15-Sep-06 0:49
bigove15-Sep-06 0:49 
AnswerRe: Splitting one large CSV file into smaller ones Pin
bigove15-Sep-06 1:12
bigove15-Sep-06 1:12 
AnswerRe: Splitting one large CSV file into smaller ones Pin
benjymous15-Sep-06 1:20
benjymous15-Sep-06 1:20 
GeneralRe: Splitting one large CSV file into smaller ones Pin
Sebastian Schneider15-Sep-06 3:38
Sebastian Schneider15-Sep-06 3:38 
GeneralRe: Splitting one large CSV file into smaller ones Pin
bigove15-Sep-06 4:09
bigove15-Sep-06 4:09 
AnswerRe: Splitting one large CSV file into smaller ones Pin
Andrew Rissing15-Sep-06 5:01
Andrew Rissing15-Sep-06 5:01 
GeneralRe: Splitting one large CSV file into smaller ones Pin
bigove15-Sep-06 5:11
bigove15-Sep-06 5:11 

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.