User Profile

Collapse

Profile Sidebar

Collapse
EddieT
EddieT
Last Activity: Nov 20 '09, 12:02 AM
Joined: Nov 2 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • EddieT
    replied to Source code for Schematic drawing
    Is the source code written in C# and can be compiled in Visual Studio?
    See more | Go to post

    Leave a comment:


  • EddieT
    replied to Source code for Schematic drawing
    I need a schematic editor which draws the objects that has attributes that I can change do some basic calculation (eg thermal calculation of a power supply given some input parameters).

    This software will not evaluate any hardware based circuit. It is standalone as a simple calculator based on a system configuration drawn by the user.

    Eg. I draw a power supply (maybe a rectangle shape) with attributes like Vout. Then...
    See more | Go to post

    Leave a comment:


  • EddieT
    replied to Source code for Schematic drawing
    No actually I am not trying to route PCBs. I just need the schematic editor and want to do some calculations based on the components which are not actually R,L,C but power blocks that integrate in system. Between these blocks I need to do check for input/output requirements and finally to evaluate the entire interconnected power blocks as a system.

    I need the editor which looks professional which can interconnect the blocks. I did...
    See more | Go to post

    Leave a comment:


  • EddieT
    started a topic Source code for Schematic drawing

    Source code for Schematic drawing

    Does anyone know where I can find source codes implementing a schematic editor for electroincs?
    See more | Go to post

  • EddieT
    started a topic OnMouseMove not firing

    OnMouseMove not firing

    Hi,

    I am planning to override the mouse movement to discrete steps so that i can get a coarser movement of the mouse for easier click of objects.

    However, I am not getting any trigger in the OnMouseMove event. Anybody know why? My mouse is moving on a Form with a Picturebox on it.

    Code:
    protected override void OnMouseMove(MouseEventArgs e)
            {
    base.OnMouseMove(e);
            }
    ...
    See more | Go to post

  • EddieT
    replied to bring printdialogbox to front
    I agree, but i did something abnormal which is having the printdialog.sho wdialog() called from a timerelapsed event(meaning i call the printdialog.sho wdialog() some delay later). I need to do this because i am 'sreencapturing ' my picture box image and without the delay i will see the print menu being part of my 'screen capture'. The delay just provides enough time for the print menu to disaapear before 'screen capture'. This is a cheap way of printing...
    See more | Go to post

    Leave a comment:


  • EddieT
    replied to bring printdialogbox to front
    Dialogboxes do not have .TopMost property
    See more | Go to post

    Leave a comment:


  • EddieT
    replied to bring printdialogbox to front
    Just solved the problem i face which is kind of an isolated problem. anyway here is what happened.

    The problem is due to the calling of the printdialogbox within a timerelapsed event - meaning when I hit the print button, the printdialogbox does not immediately launch. i needed a delay of 0.1seconds and so i added a timerelpased event of 0.1s. After 0.1s i start to call the printdialogbox within the timerelapsed routine. Because the...
    See more | Go to post

    Leave a comment:


  • EddieT
    started a topic bring printdialogbox to front

    bring printdialogbox to front

    Hi,

    I have this problem of the printdialogbox hiding behind my main form. The very first time i call the printdialogbox it comes to the top but subsequent calls always appear behind the main form.

    How do you bring the printdialogbox to the front everytime it is called?
    Thanks,
    ET
    See more | Go to post

  • Thanks for your reply...

    Yes that's what I want to do - to have PictureBox.Imag e contain the graphics of CreateBox() and DrawText(). I know how to do for DrawLine() because I can do
    Code:
    g = Graphics.FromImage(this.pictureBox1.Image);
    How would you do that for DrawText() and CreateBox()?
    DrawText() - I add text Not graphics. Do I need to convert the text to graphics? How to do that?
    CreateBox() - This...
    See more | Go to post

    Leave a comment:


  • Sorry, that wasn't the place I intended to save the image. I was just testing out if I could save the image for that one object.

    What I needed is to save all the graphics created in the Form created in 3 different ways, i.e. by following functions below
    Code:
                CreateBox(); 
                Drawline(); 
                DrawText();
    In the Drawline() method, you can see that I dumped the created graphics...
    See more | Go to post

    Leave a comment:


  • Below is my code in the main form which instantiates 2 objects and calling a function to draw line
    1. A label object for displaying text
    2. A drawing line function
    3. A drawing shape object (this is from Clspart class)

    I am also attaching the zip file of the entire code.

    Code:
    using System;
    using System.Collections.Generic;
    using System.Collections;
    using System.ComponentModel;
    ...
    See more | Go to post

    Leave a comment:


  • But the picturebox shows the image correctly. One thing i dont understand is why can't you just grab the existing image that it's in picturebox and save it?
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...