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

C#

 
AnswerRe: creating events of dynamically added dropdownlist control Pin
Vasudevan Deepak Kumar2-Mar-06 19:34
Vasudevan Deepak Kumar2-Mar-06 19:34 
Questionmerging two images in pictureboxesc# Pin
prgramya2-Mar-06 18:38
prgramya2-Mar-06 18:38 
AnswerRe: merging two images in pictureboxesc# Pin
Vasudevan Deepak Kumar2-Mar-06 20:00
Vasudevan Deepak Kumar2-Mar-06 20:00 
QuestionHow to Access a property of a class from another class Pin
psmukil2-Mar-06 18:36
psmukil2-Mar-06 18:36 
AnswerRe: How to Access a property of a class from another class Pin
AB77712-Mar-06 20:49
AB77712-Mar-06 20:49 
GeneralRe: How to Access a property of a class from another class Pin
psmukil4-Mar-06 2:39
psmukil4-Mar-06 2:39 
Questioncapture video clip from webcam Pin
prgramya2-Mar-06 18:13
prgramya2-Mar-06 18:13 
AnswerRe: capture video clip from webcam Pin
AB77712-Mar-06 21:44
AB77712-Mar-06 21:44 
QuestionFind events bound on a control Pin
M Harris2-Mar-06 15:23
M Harris2-Mar-06 15:23 
AnswerRe: Find events bound on a control Pin
Marc Clifton3-Mar-06 6:50
mvaMarc Clifton3-Mar-06 6:50 
QuestionRe: Find events bound on a control Pin
M Harris7-Mar-06 20:02
M Harris7-Mar-06 20:02 
QuestionReturn an image to mspaint! Pin
Gareth_Hastings2-Mar-06 12:56
Gareth_Hastings2-Mar-06 12:56 
AnswerRe: Return an image to mspaint! Pin
Curtis Schlak.2-Mar-06 13:17
Curtis Schlak.2-Mar-06 13:17 
GeneralRe: Return an image to mspaint! Pin
Gareth_Hastings2-Mar-06 21:18
Gareth_Hastings2-Mar-06 21:18 
GeneralRe: Return an image to mspaint! Pin
Curtis Schlak.3-Mar-06 15:21
Curtis Schlak.3-Mar-06 15:21 
AnswerRe: Return an image to mspaint! Pin
Vasudevan Deepak Kumar2-Mar-06 20:05
Vasudevan Deepak Kumar2-Mar-06 20:05 
GeneralRe: Return an image to mspaint! Pin
Gareth_Hastings2-Mar-06 21:26
Gareth_Hastings2-Mar-06 21:26 
QuestionC# Video Tutorials Pin
shatterstar64572-Mar-06 12:16
shatterstar64572-Mar-06 12:16 
AnswerRe: C# Video Tutorials Pin
renjithkr2-Mar-06 22:25
renjithkr2-Mar-06 22:25 
QuestionHTML vriable to C# Pin
ytubis2-Mar-06 11:36
ytubis2-Mar-06 11:36 
AnswerRe: HTML vriable to C# Pin
Curtis Schlak.2-Mar-06 12:24
Curtis Schlak.2-Mar-06 12:24 
GeneralRe: HTML vriable to C# Pin
ytubis2-Mar-06 12:38
ytubis2-Mar-06 12:38 
GeneralRe: HTML vriable to C# Pin
Curtis Schlak.2-Mar-06 13:21
Curtis Schlak.2-Mar-06 13:21 
QuestionVSTO Excel buttons Pin
Drew McGhie2-Mar-06 11:30
Drew McGhie2-Mar-06 11:30 
I'm having an issue in an Excel project I'm doing with VSTO.
Buttons that are not initially displayed when the page is loaded, do not become "active" when they are scrolled to. They look slightly fuzzy and bolded, but do not "click," they just sit there. There is a lot of stuff going on in the VSTO document(calls to a db to save/fill data, dynamic calculation, etc), and I think this might be causing my issue

To see what I'm talking about(slightly), create a new vsto project and paste this into sheet1
<br />
        private void Sheet1_Startup(object sender, System.EventArgs e)<br />
        {<br />
            Globals.ThisWorkbook.Application.DisplayAlerts = false;<br />
            string name;<br />
            for (Char x = 'A'; x <= 'Z'; x++)<br />
            {<br />
                name = "Button" + x.ToString();<br />
                Controls.AddButton(this.Range[String.Format("{0}1", x), missing], name);<br />
                Button b = (Button)this.Controls[name];<br />
                b.Click += new EventHandler(b_Click);<br />
                b.Text = name;<br />
            }<br />
<br />
        }<br />
<br />
        void b_Click(object sender, EventArgs e)<br />
        {<br />
            Button B = sender as Button;<br />
            Random r = new Random();<br />
            String bStr = B.Text.Substring(6);<br />
            for (int iii = 2; iii < 200; iii++)<br />
            {<br />
                this.Range[String.Format("{0}{1}", bStr, iii.ToString()), missing].Value2 = r.Next(100);<br />
            }<br />
        }<br />


Anywho, what this does is put a large row of buttons across the top of a screen, and when pressed, populates a lot of data below it(random numbers, hopefully to simulate(in a way) the load my program creates). once there is a lot of data, try scrolling down and up and notice that as the buttons come on screen, they are briefly "fuzzy" before they turn normal.

Has anyone encountered this before and know why this "refresh" might be suppressed?
Question"unable to setablish connection to network" exception Pin
amresawy2-Mar-06 10:11
amresawy2-Mar-06 10: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.