Click here to Skip to main content
15,867,568 members
Home / Discussions / C#
   

C#

 
AnswerRe: want to see 1page when MDI use. Pin
Dave Kreskowiak13-Oct-12 7:02
mveDave Kreskowiak13-Oct-12 7:02 
QuestionDrawing a 3D polygon from coordinates (KML) Pin
tokano13-Oct-12 5:20
tokano13-Oct-12 5:20 
AnswerRe: Drawing a 3D polygon from coordinates (KML) Pin
Dave Kreskowiak13-Oct-12 7:07
mveDave Kreskowiak13-Oct-12 7:07 
GeneralRe: Drawing a 3D polygon from coordinates (KML) Pin
tokano13-Oct-12 12:10
tokano13-Oct-12 12:10 
GeneralRe: Drawing a 3D polygon from coordinates (KML) Pin
Dave Kreskowiak13-Oct-12 12:39
mveDave Kreskowiak13-Oct-12 12:39 
QuestionHow to Display fingerprint images from fingerprint Device ? Pin
osama_hagrass13-Oct-12 5:18
osama_hagrass13-Oct-12 5:18 
AnswerRe: How to Display fingerprint images from fingerprint Device ? Pin
Dave Kreskowiak13-Oct-12 6:59
mveDave Kreskowiak13-Oct-12 6:59 
Questioncalling a non static method from a static method in a dll class Pin
Fred 3413-Oct-12 0:35
Fred 3413-Oct-12 0:35 
C#
namespace NecRoutines
{
  public class Invoke
  {
    private System.Windows.Forms.Timer TrzTimer = new System.Windows.Forms.Timer();
    private void TrzInitialize()
    {
      this.TrzTimer.Tick += new System.EventHandler(this.TrzTimer_Tick);
      TrzTimer.Interval = 1000;
      TrzTimer.Enabled = true;
      TrzTimer.Start();
    }
    private void TrzTimer_Tick(object sender, EventArgs e)
    {
      // do something when time elapses
    }

    public static void TrzStart()
    {
       TrzInitialize();
    }
  }
}

//An object reference is required for the non-static field, method, or property


this is the error message that i get for calling TrzInitialize() during building this
DLL program. Consider that TrzInitialize() must be non static because of timer routine definition and TrzStart() must be static to be known for main program. thanks
AnswerRe: calling a non static method from a static method in a dll class Pin
n.podbielski13-Oct-12 1:49
n.podbielski13-Oct-12 1:49 
GeneralRe: calling a non static method from a static method in a dll class Pin
Fred 3413-Oct-12 2:39
Fred 3413-Oct-12 2:39 
GeneralRe: calling a non static method from a static method in a dll class Pin
n.podbielski13-Oct-12 2:48
n.podbielski13-Oct-12 2:48 
QuestionArray.Contains Pin
ASPnoob12-Oct-12 20:14
ASPnoob12-Oct-12 20:14 
AnswerRe: 5C# 2008 Array.Contains Pin
n.podbielski12-Oct-12 20:19
n.podbielski12-Oct-12 20:19 
AnswerRe: Array.Contains Pin
Shameel12-Oct-12 22:50
professionalShameel12-Oct-12 22:50 
GeneralRe: Array.Contains Pin
ASPnoob13-Oct-12 0:13
ASPnoob13-Oct-12 0:13 
GeneralRe: Array.Contains Pin
Shameel13-Oct-12 4:24
professionalShameel13-Oct-12 4:24 
AnswerRe: Array.Contains Pin
KiranKumar Roy14-Oct-12 1:04
KiranKumar Roy14-Oct-12 1:04 
GeneralRe: Array.Contains Pin
DaveyM6914-Oct-12 9:47
professionalDaveyM6914-Oct-12 9:47 
GeneralRe: Array.Contains Pin
KiranKumar Roy14-Oct-12 19:03
KiranKumar Roy14-Oct-12 19:03 
AnswerRe: Array.Contains Pin
BobJanova14-Oct-12 22:30
BobJanova14-Oct-12 22:30 
Questionprogressbar Pin
namat12-Oct-12 19:52
namat12-Oct-12 19:52 
AnswerRe: progressbar Pin
Eddy Vluggen12-Oct-12 23:46
professionalEddy Vluggen12-Oct-12 23:46 
QuestionExtendedWebBrowser2_Src.zip popup IE window,why? Pin
liyifei12312-Oct-12 16:52
liyifei12312-Oct-12 16:52 
AnswerRe: ExtendedWebBrowser2_Src.zip popup IE window,why? Pin
Dave Kreskowiak12-Oct-12 17:29
mveDave Kreskowiak12-Oct-12 17:29 
QuestionRemoval Tools Pin
TonchiVZ12-Oct-12 14:10
TonchiVZ12-Oct-12 14:10 

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.