User Profile

Collapse

Profile Sidebar

Collapse
JustRun
JustRun
Last Activity: Feb 24 '10, 09:00 AM
Joined: Mar 13 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • JustRun
    replied to Append text after specified text
    I want to insert a child Node in a specific place in my XML file, and I made a line to refer where I wanna add it,

    Thanks
    See more | Go to post

    Leave a comment:


  • JustRun
    started a topic Append text after specified text

    Append text after specified text

    Hi,

    If I have that xml file:
    Code:
        <Child name="Cat">
          <Child name="sub01">
            <Child name ="pro01">
            </Child>
          </Child>
          <Child name="sub02">
            <Child name="pro01"></Child>
            <Child name="pro02"></Child>
    ...
    See more | Go to post

  • JustRun
    replied to populate a Treeview from XML file
    I think I got itttttttttttt

    I'll put it here - Just finish then give it to u Bytes :D
    See more | Go to post

    Leave a comment:


  • JustRun
    replied to populate a Treeview from XML file
    yes, you are right, Sorry for that.

    Actually, I have this database view:

    =============== =============== =============== =========|
    TableId | ParentId | ChildId | ParentName | ChildName |
    newId() | uniqueIdentifie r | uniqueIdentifie r | nvarchar | nvarchar |
    =============== =============== =============== =========|

    what I need is to display this view...
    See more | Go to post

    Leave a comment:


  • JustRun
    started a topic populate a Treeview from XML file

    populate a Treeview from XML file

    Hi,
    I have this XML file , converted from a database view
    Code:
    <Parent>
      <Parent name="Category">
        <Child name="SubCat01" level="1">
          <Child name="SubCat02" level="2">
            <Child name ="Product01-01" level="3"/>
            <Child name ="Product01-02" level="3"/>
    ...
    See more | Go to post

  • JustRun
    replied to shaped button with _click event
    Yeah, I did the Refresh() after a lot of attempts.

    Thanks all
    See more | Go to post

    Leave a comment:


  • JustRun
    replied to shaped button with _click event
    Isn't there anything can be helpful in this issue.

    Thanks
    See more | Go to post

    Leave a comment:


  • JustRun
    replied to shaped button with _click event
    Well, Actually, I finished the project in exactly like I want, but with a bug:
    the Scenario is: I have a shape was drawn by (override void OnPaint) and this control includes the events: (override void OnMouseEnter, override void OnMouseLeave, override void OnMouseDown and override void OnMouseUp).
    The user will click on the button and the color will change, then by choosing "Save" the application save the button's color in...
    See more | Go to post

    Leave a comment:


  • JustRun
    replied to Get Router Information
    Yeah Its a Network and DSL Router, a Router for the DSL and some Switches for the internal Network
    See more | Go to post

    Leave a comment:


  • JustRun
    started a topic Get Router Information

    Get Router Information

    Hi,

    I have a question about how to get the Router Information and whether it is connected or not and so on...

    I know that to get info. , it depends on the device type. but i'm talking about General case here, I just want to know How to start ...
    What is the classes that I should use, if there any help topic about this issue cause I surfaced a lot without finding anything,

    I know that I'll continue...
    See more | Go to post

  • JustRun
    replied to shaped button with _click event
    but one more question Gary, you said that with MouseDown, its very very slow, then offered a better solution which is the timer, would you please tell me what do u mean with enable a timer, regarding that I dont wanna let it rotate the color unless the Mouse is Down

    Thanks
    See more | Go to post

    Leave a comment:


  • JustRun
    replied to shaped button with _click event
    At Laaaast, I got it, as i said All i need is how to stop it from repaint, and its so simple, Invalidate() method

    Thanks for everyone :)
    See more | Go to post

    Leave a comment:


  • JustRun
    replied to shaped button with _click event
    what i want to do, is to draw a shape and at every MouseDown, give it a different color (Red, Blue, Brown, White ...)

    Thats it.

    Hope you help me.
    See more | Go to post

    Leave a comment:


  • JustRun
    replied to shaped button with _click event
    Till Now i can't stop it from Repainting, Please give me a more clear solution.

    Code:
    private bool _clicked = false;
            private Color _brushColor;
            public SolidBrush brshFill;
            public SolidBrush brshLine;
    
            public bool Clicked
            {
                get { return _clicked; }
                set
                {
                    _clicked = value;
    ...
    See more | Go to post

    Leave a comment:


  • Create username and password for my SQL Server 2005 database

    I have created a SQL Server 2005 database and I plan to protect it with a username and password. I'm unclear as to how to do this. How can I make a security system for my new database with its security objects?
    See more | Go to post

  • JustRun
    replied to shaped button with _click event
    yeah I know the "Why" but actually I don't know the solution, and I tried your way, to set the event in the presentation form, but i didn't work, I tried many thing to pass the color, all of them were useless. it always repaint each time I click on !!!
    See more | Go to post

    Leave a comment:


  • JustRun
    started a topic shaped button with _click event

    shaped button with _click event

    Hi,
    the below code drawing a custom Oval button, The problem is: I want after the click event to change its color many times but it stops at the red color and repaint again, so it always achieve just the first condition:

    Code:
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;
    using System.Drawing.Drawing2D;
    
    namespace ShappedButton
    ...
    See more | Go to post

  • JustRun
    replied to Gridview image resolution
    Sorry for the late reply, and many thanks, It works now.

    Thank u :)
    See more | Go to post

    Leave a comment:


  • JustRun
    replied to Gridview image resolution
    It didn't work,

    Here is my code

    Code:
                    Image rayIamge = (Image)patientRaysTableDataGridView.Rows[e.RowIndex].Cells[e.ColumnIndex].FormattedValue;
                    rayIamge.RotateFlip(RotateFlipType.Rotate90FlipX);
                    rayIamge.RotateFlip(RotateFlipType.Rotate270FlipY);
                    frmRayImage objRayImage = new frmRayImage(rayIamge);
    ...
    See more | Go to post

    Leave a comment:


  • JustRun
    started a topic Gridview image resolution

    Gridview image resolution

    Hi all,

    I have a file button that enable user to choose the image, then save it to the datagridview,

    The problem is the resolution of the image After saving go down but before saving it good,

    why does it do this? how can I keep the original resolution?
    Regarding that I deal with the original size of the image.

    Thanks
    See more | Go to post
No activity results to display
Show More
Working...