Friday, May 20, 2022

rubber band

rubber band

ruler on cp.com

    Must download

  1. .Paul wiki page
  2. good links and need to absorb...

  3. [RESOLVED] Rubberband Lines
  4. I am using a modified version of chimeric69 Rubberband Lines example from CodeProject . I have posted there but then i released he hasn't visited since Jun '08 . chimeric69's example disposes of the drawlines/string in the mouse up event some how. I have tried to comment out various pieces of the code to stop the dimensions "label" from being disposed of with out any luck.

  5. Inspirational Visual Basic.Net
  6. Many good thoughts and need to absorb...

  7. Maths Revision V1.0
  8. This is a suite of 22 revision aid programs + tools I wrote... You can download the compiled version (msInstaller) here + the zipped source code for the 22 applications here.

  9. Maths Revision V2.0
  10. This is my second suite of 22 revision aid programs + tools I wrote...

  11. OOP - Transformations
  12. Mathematical transformations are usually drawn on hard copy graph paper. This application demonstrates simple transformations. There are four types of transformation shown here, which are Enlargement, which can be positive or negative, Reflection, with a variable line of symmetry, Rotation with a variable centre of rotation and positive and negative angles of rotation, and the fourth transformation is Translation. These are the type of transformations that you're often asked to draw in maths exams...

  13. Using Forms + Controls
  14. Forms in VB.Net are used as containers for Controls. Both Forms + Controls have Properties, Events, + Methods.

  15. Solving Triangles
  16. This is a wizard style app. that through a series of questions determines which type of Triangle Solver you need. The solution is given to your chosen number of Decimal Places or Significant Figures, both in the solver form and as an HTML page where step by step solutions are shown, along with a scale diagram and an area calculation.

  17. OOP Areas and Volumes
  18. This is an OOP Areas and Volumes Calculator. It consists of a core containing ten classes representing different geometric shapes. These shapes fall into two categories - 2D and 3D. All of the 2D Shape Classes implement the Shape2D Interface. All of the 3D Classes extend one of the 2D Classes, therefore, they indirectly implement the Shape2D Interface. Additionally, all of the 3D Classes implement the Shape3D Interface.

  19. OOP Statistical Functions
  20. This is an OOP example that focuses on Statistical Functions, with input via a NumericUpDown Control, and displaying output in a PropertyGrid Control. The OOP part is simple. There's a Class for each of these...

  21. VB.Net - Pascal's Pyramid
  22. Pascal's Pyramid is an original card game, played with an irregular deck of cards. The game board (or pyramid) is loosely based on Pascal's Triangle, which is a triangular array of the binomial coefficients. Each deck contains 20 aces, 4 each of numbers 2 to 10 inclusive, and 2 sets of face cards, which is 80 cards in total. The aim of the game is to build the pyramid with cards in a predefined order. It isn't possible to play an illegal move - the hexagon cells in the pyramid will only allow legal moves. Each deal from the deck gives you three new cards that you can either use or discard.

  23. VB.Net - Vertex (Game)
  24. This is an original strategy game, written in VB2008 (for wider platform compatibility).

  25. VB.Net - Random Maze Games
  26. This is a maze solving game, with a maze overlay drawn on an extended (restricted) DataGridView. The DataGridView only accepts arrow key input. The mazes are created in conjunction with a 2D array, and arrow key movement through the DataGridView is limited to clear paths. Navigation is blocked where walls are drawn. The solver part of the game finds and draws a path from the start cell to the end cell.

  27. C# - OOP Sudoku
  28. Sudoku is a number puzzle game, played on a nine by nine cell grid. Within that grid, there are nine sub-regions consisting of three cells by three cells. In this version, there are three levels of difficulty, which are Most clues, Medium clues, and Least clues.

    Good rubber band demo

  29. Rubberband Lines
  30. Using the rubberband line as a ruler.

  31. [RESOLVED] Rubberband Lines
  32. Some discussion on above article.

    the problem with the original program is that it draws directly to the form, which isn't persistent. as soon as the form is repainted, it erases the line. i changed it to draw to a bitmap that is then used as the forms backgroundimage.

    More Papers

  33. Resize and Rotate Shapes in GDI+
  34. Draw a shape-like editor implementing the use of anchors to resize and rotate a selection rectangle

  35. A Resizable Graphical Rectangle
  36. An object associated with a pictureBox managing callback to manipulate the rectangle area.

  37. GDI+ Basics
  38. The ControlPaint Class Technically, the ControlPaint class isn't a part of GDI+. However, it's an extremely useful tool for custom control developers who use GDI+. It is also a well kept .NET secret. Essentially, the ControlPaint class offers methods for drawing standard Windows interface elements, like scroll buttons, borders, focus rectangles, and check boxes.

    Best solution

  39. Bitmap.LockBits Method
  40. Locks a Bitmap into system memory.

  41. ControlPaint.DrawReversibleFrame(Rectangle, Color, FrameStyle) Method
  42. Draws a reversible frame on the screen within the specified bounds, with the specified background color, and in the specified state.

  43. Microsoft KB Archive/314945- How to draw a rubber band rectangle or a focus rectangle in Visual C#
  44. this is the authoritive information. I only need to use this technique.

    Tips:Note that this solution is available only for output on the screen. To draw reversible lines on a graphics object, you need to either interoperate with GDI or call Bitmap::LockBits() and manipulate the image bits directly.

  45. ControlPaint.DrawReversibleFrame - How am I supposed to erase drawn rectangle?
  46. good discussion

  47. a good example to use this ControlPaint.DrawReversibleFrame method
  48. System.Windows.Forms.ControlPaint.DrawReversibleFrame(System.Drawing.Rectangle, System.Drawing.Color, System.Windows.Forms.FrameStyle)

    More Examples

  49. Combining GDI and GDI+ to Draw Rubber Band Rectangles
  50. Demonstrates drawng rubber band rectangles using GDI in a .NET GDI app

  51. C# Rubber Rectangle
  52. Implements a Rubber Rectangle in C#.

    Rubber Band

  53. Drawing rubber-band lines and shapes
  54. The lack of XOR Drawing feature in GDI+ was not certainly welcome in the programmer's community. I guess it will be hard to survive with this handicap.

  55. Rotate a point around another point
  56. I have a task to draw a specific graphic. As part of this task I need to rotate some dot's on 45 degrees.

  57. How to Draw a Rubber Band Selection Rectangle accurately on a Rotated Canvas?
  58. C# How to Draw a Rubber Band Selection Rectangle on Panel, like one used in Windows Explorer?
  59. I have one Flow Layout Panel with some User Controls in it. I Want to Select these controls using rectangle selection using Mouse,like one used in windows file explorer . I have tried these : https://support.microsoft.com/en-us/kb/314945 But it was very flickering and not useful (I might be wrong,please correct me). Any good examples please.

  60. Thursday, December 16, 2010 Draw Rubber Band like Explorer using C# .NET
  61. Drawing a Line Chart in GDI+
  62. Charts are useful for representing numeric data in a graphical way. There are several different types o charts, including pie, line, and bar charts. In this section we will learn how to use GDI+ and ASP.NET to draw a line chart from data entered by a user.

  63. Draw Line in C#
  64. The DrawLine method draws a line between two points specified by a pair of coordinates. DrawLines draws a series of lines using an array of points.

  65. Applied cryptography Part 2: a tool to encrypt files on your HDD
  66. C# ControlPaint Draws a reversible frame on the screen within the specified bounds, with the specified background color, and in the specified state.
  67. This tutorial shows how to use C# ControlPaint type DrawReversibleFrame(System.Drawing.Rectangle rectangle, System.Drawing.Color backColor, System.Windows.Forms.FrameStyle style) method.

  68. Control.PointToScreen(Point) Method
  69. Computes the location of the specified client point into screen coordinates.

  70. Control PointToClient() vs PointToScreen()
  71. The MSDN does not provide, IMHO, a clear difference between Control.PointToScreen(link) and Control.PointToClient(link) methods.

  72. c#: PointToClient与PointToScreen
  73. 很早就见过这两个方法,却未曾深入研究,偶尔一用,却纠结于其转换方法,遂写Demo以求验证,记录认知以做备忘。

  74. Customizing Windows Forms In C#
  75. I wanted to create Custom windows forms in C#. Before working on this code, i started to find any code that could help me to create custom windows forms in C# on internet. but unfortunately i couldn't find any simple and useful also looks good form code. I found some code but they all are complicated. I also found some codes that are simple but not useful. When i started working on solving this problem, i thought to use Custom Panel/Panel as a border of a Frame for change the size of Form such as Width, Height etc and use Custom Buttons as a Control Box of a Frame.

  76. WSSizer, a .NET re-size control
  77. A .NET control meant to accomplish a task similar to MFC’s CRectTacker().

  78. A C# Sample Code/Article Extending the Capabilities of GDI+ in C# (.NET) - Part I
  79. The article is about extending the capabilities of GDI+ in C# , When programmers look to develop serious imaging applications, a surprising shortcoming is noticed in GDI+. The shortcoming is the absence of an API which is useful in selecting regions within an image in a user interactive way.

  80. A C# Sample Code/Article Extending the Capabilities of GDI+ in C# (.NET) - Part II
  81. This article is a continuation to my previous article where I present two more methods to do the same

  82. Smooth Resize and Reposition
  83. A demo on how to smoothly change the size or position of a Windows Form while holding down a button.

  84. Drawing Lines And Rectangles Using the Mouse
  85. Simple program utilizing the mouse to draw lines and rectangles.

  86. Drawing Rich Text with GDI+
  87. GDI+ does not support rendering of Rich Text and this has always represented a challenge for developers. The approach described in this article offers a solution to such limitation by tapping into the power of API hooking.

  88. Introduction to Numerical Methods
  89. Introduction to Numerical Methods and Updated Polynomial Class

  90. An introduction to numerical programming in C#
  91. Some of the first things you need to know when writing numerical software in C#.

  92. Numerical Laplace Transforms and Inverse Transforms in C#
  93. Presents a C# class for calculating Laplace tranforms and inverse transforms.

  94. Maintenance and Updating of Legacy Code
  95. A collection of tips to help you maintain your legacy code more efficiently

No comments:

Post a Comment