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

C#

 
AnswerRe: inheritance Pin
Xmen Real 25-Feb-09 20:09
professional Xmen Real 25-Feb-09 20:09 
Questiondatagrin in combobox Pin
behzadcp25-Feb-09 18:51
professionalbehzadcp25-Feb-09 18:51 
AnswerRe: datagrin in combobox Pin
Christian Graus25-Feb-09 18:52
protectorChristian Graus25-Feb-09 18:52 
GeneralRe: datagrin in combobox Pin
behzadcp25-Feb-09 20:07
professionalbehzadcp25-Feb-09 20:07 
Questiondynamically add Flash C# application Pin
Zap-Man25-Feb-09 18:40
Zap-Man25-Feb-09 18:40 
AnswerRe: dynamically add Flash C# application Pin
Christian Graus25-Feb-09 18:52
protectorChristian Graus25-Feb-09 18:52 
GeneralRe: dynamically add Flash C# application Pin
Zap-Man25-Feb-09 19:17
Zap-Man25-Feb-09 19:17 
GeneralRe: dynamically add Flash C# application Pin
Zap-Man25-Feb-09 19:21
Zap-Man25-Feb-09 19:21 
Heres what windows adds when you pull it into the form.

private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HighCapacity));
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.myFlash = new AxShockwaveFlashObjects.AxShockwaveFlash();
((System.ComponentModel.ISupportInitialize)(this.myFlash)).BeginInit();

this.SuspendLayout();
//
// timer1
//
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// myFlash
//
this.myFlash.Enabled = true;
this.myFlash.Location = new System.Drawing.Point(39, 34);
this.myFlash.Name = "myFlash";
this.myFlash.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("myFlash.OcxState")));
this.myFlash.Size = new System.Drawing.Size(192, 192);
this.myFlash.TabIndex = 0;

//
// HighCapacity
//
this.ClientSize = new System.Drawing.Size(292, 266);
this.Controls.Add(this.myFlash);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "HighCapacity";
this.TransparencyKey = System.Drawing.SystemColors.Control;
this.Layout += new System.Windows.Forms.LayoutEventHandler(this.HighCapacity_Layout);
((System.ComponentModel.ISupportInitialize)(this.myFlash)).EndInit();
this.ResumeLayout(false);

}

I need to beable to load this dynamically. kinda like how I do this with a picture box

foreach (object obj in sk.IMG) {
imageButton = new PictureBox();
ImgButton imgBtn = (ImgButton)obj;
arLocation = imgBtn.Location.Split(':');
arSize = imgBtn.Size.Split(':');
this.imageButton.Image = new Bitmap(imgBtn.PathOff);
this.imageButton.Name = imgBtn.Name;
this.imageButton.BackColor = Color.Transparent;
this.imageButton.SizeMode = PictureBoxSizeMode.StretchImage;
this.imageButton.Size = new Size(Convert.ToInt32(arSize[0]), Convert.ToInt32(arSize[1]));
this.imageButton.Location = new Point(Convert.ToInt32(arLocation[0]), Convert.ToInt32(arLocation[1]));
this.imageButton.Cursor = Cursors.Hand;
this.imageButton.MouseDown += new MouseEventHandler(this.ImgButtonKeyDown);
this.imageButton.MouseHover += new EventHandler(imageButton_MouseHover);
this.imageButton.MouseLeave += new EventHandler(imageButton_MouseLeave);
this.menuOff.Controls.Add(this.imageButton);

}
Question[Message Deleted] Pin
sridhar88725-Feb-09 18:16
sridhar88725-Feb-09 18:16 
AnswerRe: How to solve APPLICATION.EXE ERROR in C#.NET??? Pin
Christian Graus25-Feb-09 18:19
protectorChristian Graus25-Feb-09 18:19 
GeneralRe: How to solve APPLICATION.EXE ERROR in C#.NET??? Pin
dan!sh 25-Feb-09 18:41
professional dan!sh 25-Feb-09 18:41 
GeneralRe: How to solve APPLICATION.EXE ERROR in C#.NET??? Pin
Christian Graus25-Feb-09 18:48
protectorChristian Graus25-Feb-09 18:48 
Question[Message Deleted] Pin
sridhar88725-Feb-09 18:03
sridhar88725-Feb-09 18:03 
AnswerRe: How to solve APPLICATION.EXE ERROR in C#.NET??? Pin
Christian Graus25-Feb-09 18:09
protectorChristian Graus25-Feb-09 18:09 
JokeRe: How to solve APPLICATION.EXE ERROR in C#.NET??? Pin
Xmen Real 25-Feb-09 20:06
professional Xmen Real 25-Feb-09 20:06 
QuestionParse SQL code in C# Pin
aaCog25-Feb-09 17:21
aaCog25-Feb-09 17:21 
AnswerRe: Parse SQL code in C# Pin
N a v a n e e t h25-Feb-09 17:32
N a v a n e e t h25-Feb-09 17:32 
Question[Message Deleted] Pin
yesu prakash25-Feb-09 16:47
yesu prakash25-Feb-09 16:47 
AnswerRe: Voice conference Pin
N a v a n e e t h25-Feb-09 17:05
N a v a n e e t h25-Feb-09 17:05 
GeneralRe: Voice conference Pin
Christian Graus25-Feb-09 18:10
protectorChristian Graus25-Feb-09 18:10 
General[Message Deleted] Pin
yesu prakash25-Feb-09 18:27
yesu prakash25-Feb-09 18:27 
GeneralRe: Voice conference Pin
Christian Graus25-Feb-09 18:51
protectorChristian Graus25-Feb-09 18:51 
GeneralRe: Voice conference Pin
yesu prakash25-Feb-09 19:28
yesu prakash25-Feb-09 19:28 
GeneralRe: Voice conference Pin
N a v a n e e t h25-Feb-09 21:05
N a v a n e e t h25-Feb-09 21:05 
GeneralRe: Voice conference Pin
yesu prakash27-Feb-09 1:38
yesu prakash27-Feb-09 1:38 

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.