15,898,134 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Storxstar (Top 16 by date)
Storxstar
13-Nov-12 4:32am
View
Im drawing it on my Panel. I've tried this for Refresh. But it doesn't seem to work either...
panel.CreateGraphics().DrawImageUnscaled(drawing, new Point(0, 0));
Storxstar
13-Nov-12 4:18am
View
Im painting it myself basically, using mouse points to draw lines, place images(inside pictureboxes), placing labels.
Here is the code I used to initialize the Bitmap.
Bitmap drawing;
drawing = new Bitmap(drawPanel.Width, drawPanel.Height, drawPanel.CreateGraphics());
private void drawPanelControl_Paint(object sender, PaintEventArgs e)
{
e.Graphics.DrawImageUnscaled(drawing, new Point(0, 0));
}
Storxstar
12-Nov-12 8:22am
View
I reckon your best bet would be to dynamically select something else on mouse leave of the dropdown. Thus setting the focus to something else. closing your dropdown.
Storxstar
12-Nov-12 6:09am
View
have you tried using an XmlReader? If not try using one, with Multiple for loops too keep looping through nodes and returning values.
Storxstar
5-Nov-12 6:45am
View
Not sure if this will help but try using a while loop. While(XmlReader.Read())
Storxstar
5-Nov-12 5:38am
View
Not sure which browser you are using, but for me it works in Chrome, Internet Explorer and Firefox. Here are some other links that may help you.
Thanks
Storxstar
http://msdn.microsoft.com/en-us/library/ff799534.aspx
http://www.codeproject.com/Articles/23199/WPF-C-Ribbon-Control-Library
http://stackoverflow.com/questions/2709918/wpf-ribbon-control
http://www.devcomponents.com/kb2/?p=614
Storxstar
5-Nov-12 4:06am
View
Could you supply us with the line of code that this executes on?
Storxstar
5-Nov-12 4:04am
View
Deleted
Please supply us with more information?... We cannot help you, if you dont supply us with more that a question about youre code that we cannot see...
Storxstar
5-Nov-12 3:41am
View
Here is a link http://stackoverflow.com/questions/2570568/showing-items-as-images-in-a-wpf-listview , not sure how much it will help but its a way in which you can bind images to a listview.
Storxstar
25-Oct-12 3:19am
View
Deleted
Here is how to move a rectangle across the screen in WPF Xaml...
<window
="" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" title="A simplistic sample" height="300" width="300">
<window.resources>
<!-- The Rectangle's animation (path) -->
<storyboard x:key="sb_Rect">
<!-- The X-axis animation -->
<doubleanimationusingpath
storyboard.targetname="ttAnimationTarget_Rect"
="" storyboard.targetproperty="X" source="X" duration="0:0:01" repeatbehavior="Forever" autoreverse="True">
<doubleanimationusingpath.pathgeometry>
<PathGeometry Figures="M50,0 L300,0"/>
<!-- The Viewbox will allow to easily scale the Canvas'es contents -->
<viewbox stretch="Uniform" margin="5">
<border borderbrush="DarkGray" borderthickness="1">
<Canvas Name="cvs" Background="#FFF0F0F0"
Width="450" Height="260">
<!-- The Rectangle itself ... -->
<rectangle x:name="rct"
="" fill="#E0ADD8E6" width="50" height="50" canvas.top="100" stroke="DarkBlue" strokethickness="2" panel.zindex="1">
<rectangle.rendertransform>
<TranslateTransform x:Name="ttAnimationTarget_Rect" X="0" Y="0" />
<rectangle.triggers>
<!-- Start the animation as soon as the rectangle has been created -->
<eventtrigger routedevent="FrameworkElement.Loaded">
<beginstoryboard storyboard="{StaticResource sb_Rect}">
</Canvas>
Storxstar
25-Oct-12 3:10am
View
So you dont want to know how to do it in Xaml?
Storxstar
17-Oct-12 7:06am
View
As OriginalGriff stated, get a new source to practice from...
such as: http://www.dotnetperls.com/textbox
Also learn to use proper naming conventions...
Storxstar
17-Oct-12 2:57am
View
Very Vague Question....
Storxstar
17-Oct-12 2:25am
View
Try this, maybe it will point you in the right direction.
http://www.codeproject.com/Tips/254525/Automatically-display-Menu-on-Hover
Storxstar
21-Sep-12 7:36am
View
Thanks for all your help Frans Jan, this has guided me in the right direction. I will post a solution if and when I manage to solve it.
Storxstar
21-Sep-12 5:35am
View
Hi FransJan, I have already tried using the Lineshape tool, it works great, however the user needs to be able to draw the line with mouse movements, they also need to be able to draw the line diagonally. Can you use the lineshape tool with mouseEvents?
Show More