Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

Dmitriy Kostovetskiy

@Dmitriy Kostovetskiy
About
Posts
9
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Multi-platform C#?
    D Dmitriy Kostovetskiy

    There is a project [^]to port .NET Framework to Linux. I guess you should be able to run it on Mac OS X too. I don't think though they will ever port every class in .NET framework.

    C# csharp linux question

  • date format converter?
    D Dmitriy Kostovetskiy

    Here is an example:

    MessageBox.Show(DateTime.Now.ToString("dd-MM-yy"));

    C# question csharp

  • Intercept incoming html
    D Dmitriy Kostovetskiy

    One way to do it is to write a Browser Helper Object[^]. Browser Helper Object can then send message and pass URL to your main application.

    C# html question

  • e-mail files
    D Dmitriy Kostovetskiy

    P/Invoke

    ShellExecute(0,"open","mailto:?file=\"c:\autoexec.bat\"", NULL, NULL, SW_SHOWNORMAL);

    C# agentic-ai

  • Class Inheritance
    D Dmitriy Kostovetskiy

    In C# threads are handled differently. You create an instance of System.Threading.Thread and pass ThreadStart delegate to the constructor. ThreadStart delegate represents a method that thread will run.

    public static void RunMe()
    {
    {
    //Run code here
    }
    }

    public static Main()
    {
    Thread myTread = new Thread(new ThreadStart(RunMe));
    }

    C# csharp delphi algorithms oop help

  • Text Editor Question
    D Dmitriy Kostovetskiy

    I use TextPad too and very happy with it. It's fast and has lots of nice features.

    The Lounge question com

  • checking dynamically which control is clicked
    D Dmitriy Kostovetskiy

    If I understand you correctly, you need to know control which triggered context menu when you handle MenuItem.Click event. When you handle this event sender is a context menu so it wont't help you much. However, if you handle ContextMenu.Popup sender is the control triggering the event. What you can do is this: create a field in the class where you handle events object controlWhichTriggeredEvent; Then create a handler for ContextMenu.Popup:

    private void YourContextMenu_Popup(object sender, System.EventArgs e)
    {
        controlWhichTriggeredEvent = sender;
    }
    

    Now when you handle MenuItem.Click , controlWhichTriggeredEvent will contain the latest control clicked by user (you will have to cast it to label of any other control).

    C# help tutorial

  • Java Applet/Servlet vs. .NET
    D Dmitriy Kostovetskiy

    Here is an article that shows how to write an applet in C#: http://www.csharphelp.com/archives/archive109.html[^]

    C# csharp java visual-studio help

  • Kazaa Lite
    D Dmitriy Kostovetskiy

    http://www.zeropaid.com/bbs/showthread.php?t=16805[^]

    The Lounge question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups