Click here to Skip to main content
15,921,837 members
Home / Discussions / C#
   

C#

 
QuestionNew to ToolStrip, simple question. Pin
Neal Conrardy17-Mar-07 17:20
Neal Conrardy17-Mar-07 17:20 
AnswerRe: New to ToolStrip, simple question. Pin
Christian Graus17-Mar-07 18:28
protectorChristian Graus17-Mar-07 18:28 
GeneralRe: New to ToolStrip, simple question. Pin
Neal Conrardy18-Mar-07 5:43
Neal Conrardy18-Mar-07 5:43 
GeneralRe: New to ToolStrip, simple question. Pin
Neal Conrardy18-Mar-07 6:34
Neal Conrardy18-Mar-07 6:34 
QuestionRe: New to ToolStrip, simple question. Pin
Neal Conrardy18-Mar-07 8:34
Neal Conrardy18-Mar-07 8:34 
AnswerRe: New to ToolStrip, simple question. Pin
Neal Conrardy18-Mar-07 16:50
Neal Conrardy18-Mar-07 16:50 
QuestionRe: New to ToolStrip, simple question. Pin
Neal Conrardy19-Mar-07 10:20
Neal Conrardy19-Mar-07 10:20 
AnswerRe: New to ToolStrip, simple question. Pin
Neal Conrardy20-Mar-07 7:46
Neal Conrardy20-Mar-07 7:46 
Simple question but I guess no one knows the answer.

I finally figured it out.

1) Add a bmp, ico, etc. to your project.
2) Select properties on bmp, ico, etc. and make Build Action - Embedded Resourse
3) Select properties on project, and make Default namespace: - Tools.Test
4) If the code in not in a namespace, then you can loose the Tools prefix.

using System;
using System.Drawing;
using System.Windows.Forms;

namespace Tools
{
class Test : Form
{
public static void Main()
{
Application.Run(new Test());
}
public Test()
{
Text = "Test";
Icon = new Icon(GetType(), "Test.Test.ico");
}
}
}

QuestionFTP Pin
bwagz17-Mar-07 16:44
bwagz17-Mar-07 16:44 
AnswerRe: FTP Pin
Ryno Burger17-Mar-07 21:15
Ryno Burger17-Mar-07 21:15 
QuestionC# threads and graphics Pin
bruceczelenka17-Mar-07 15:36
bruceczelenka17-Mar-07 15:36 
AnswerRe: C# threads and graphics Pin
Christian Graus17-Mar-07 18:12
protectorChristian Graus17-Mar-07 18:12 
Questionc# App - Vista Changes UI Colors Pin
rbirkelbach17-Mar-07 12:35
rbirkelbach17-Mar-07 12:35 
AnswerRe: c# App - Vista Changes UI Colors Pin
Ed.Poore19-Mar-07 12:51
Ed.Poore19-Mar-07 12:51 
QuestionXOR problem Pin
HexaDeveloper17-Mar-07 11:40
HexaDeveloper17-Mar-07 11:40 
AnswerRe: XOR problem Pin
mav.northwind17-Mar-07 12:49
mav.northwind17-Mar-07 12:49 
GeneralRe: XOR problem Pin
HexaDeveloper17-Mar-07 22:12
HexaDeveloper17-Mar-07 22:12 
GeneralRe: XOR problem Pin
HexaDeveloper18-Mar-07 9:29
HexaDeveloper18-Mar-07 9:29 
GeneralRe: XOR problem Pin
HexaDeveloper19-Mar-07 13:10
HexaDeveloper19-Mar-07 13:10 
QuestionUninstall Pin
hadad17-Mar-07 11:15
hadad17-Mar-07 11:15 
AnswerRe: Uninstall Pin
Christian Graus17-Mar-07 18:30
protectorChristian Graus17-Mar-07 18:30 
GeneralRe: Uninstall Pin
hadad18-Mar-07 0:38
hadad18-Mar-07 0:38 
QuestionCursor problem Pin
CodeItWell17-Mar-07 10:36
CodeItWell17-Mar-07 10:36 
AnswerRe: Cursor problem Pin
Christian Graus17-Mar-07 18:31
protectorChristian Graus17-Mar-07 18:31 
QuestionCapture a flash window and stretch blit to the desktop in realtime? [modified] Pin
acrylix17-Mar-07 9:28
acrylix17-Mar-07 9:28 

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.