Jump to content
Xtreme .Net Talk

skea

Members
  • Posts

    22
  • Joined

  • Last visited

About skea

  • Birthday 09/05/1981

skea's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Got it to work.
  2. Linq2Xml: [Edited] I would like to get the count of elements where candidate has maximum/highest . I need some help. <Pronvice_Data> <Pronvice>PronviceA</Pronvice> <Registered_Voters>115852</Registered_Voters> <Sam_Kea>100</Sam_Kea> <Jeje>500</Jeje> <John_Doe>400</John_Doe> </Pronvice_Data> <Pronvice_Data> <Pronvice>PronviceA</Pronvice> <Registered_Voters>25852</Registered_Voters> <Sam_Kea>200</Sam_Kea> <Jeje>100</Jeje> <John_Doe>300</John_Doe> </Pronvice_Data> <Pronvice_Data> <Pronvice>PronviceC</Pronvice> <Registered_Voters>317684</Registered_Voters> <Sam_Kea>1000</Sam_Kea> <Jeje>1200</Jeje> <John_Doe>190</John_Doe> </Pronvice_Data> Expected Result: Candidate | Won In Jeje 2 John_Doe 1 Sam_Kea 0
  3. Thanks. you are right. it was a border issue.i had to do away with the border.
  4. Hi folks, I have an issue and i need some help. i would like to create a menu that scrolls "offScreen" and back like this Screen shot Utility by Arman. the source files are in VB.NET but i had to convert the what i think is the necessary code to C#. i have got something working but It's giving me hardtime to keep the form with bottom pixel at the screen top and unhiding it(hide and unhide it). I have attached something. Please take a look at it. Any help will be appreciated. thanks. MediaMapper.zip
  5. What is still puzzling me is how i can bring the triangle to front when i drag a panel to sit over another. Please be of help.
  6. I managed to get back the borderline by using another pen to draw other two lines from the fixed point to the variable points.
  7. Hi, you are right. i was debugging and starting another .exe. Sorry for that. It does the trick.i changed the pen to width 0, except that i seem to loose my borderline(which i wanted so much). Now i will try to make it zoomable.thanks.
  8. Hi. It isn't the problem of the pen and the size of the triangle. If you place a small picture of a point on the form and you try it, you will notice what i am talking about. And when the form is zoomed in, the distance of tolerance is too big.
  9. The triangle fixed point moves away from the orignal location when i click and drag the balloon. How can i overcome this? regards. BalloonIdentifier.zip
  10. [PLAIN][Resolved] Binary Reader. Resource Object.[/PLAIN] Resolved it.
  11. [PLAIN][Resolved]Binary Reader. Resource Object.[/PLAIN] I have an embedded .config resource file "IncidentTrackerDockTemplate.config" in my Resource File called "GlobalResource". I would like to read this file using BinaryReader. i get an exception in my code. Value cannot be null. Parameter name: input below is the code. Any one knows where the problem is? [color=Blue]private[/color] System.Resources.[color=ff2b91af]ResourceManager[/color] resources = [color=Blue]new[/color] System.Resources.[color=ff2b91af]ResourceManager[/color]([color=red]"Incidents_Tracker.UI.GlobalResource"[/color], System.Reflection.[color=ff2b91af]Assembly[/color].GetExecutingAssembly()); [color=ff2b91af]BinaryReader[/color] sr = [color=Blue]new[/color] [color=ff2b91af]BinaryReader[/color]([color=ff2b91af]Assembly[/color].GetExecutingAssembly().GetManifestResourceStream(resources.GetObject([color=red]"IncidentTrackerDockTemplate"[/color]).ToString()), System.Text.[color=ff2b91af]Encoding[/color].GetEncoding([color=ffa31515]"UTF-16"[/color]));[color=Green] [/color]
  12. Hi there, i have this function that creates for me random colors. I would like it to skip the red color because i use it for something else. Any one knows how? private int MakeRandomColor() { Random rand = new Random(DateTime.Now.Millisecond); return Convert.ToInt32(ColorTranslator.ToOle(Color.FromArgb(rand.Next(256), rand.Next(256), rand.Next(256)))); }
  13. Thanks so much. As you can see, i have added a close button, instead of using a context menu. My issue now is bringing the triangle to the front when a corresponding panel is passed over another panel.
  14. Ha ha ha...how does this look? The only issue is to "BringToFront" the triangle of the focused panel when it overlays on top of another panel.
×
×
  • Create New...