Inheritance: System.Windows.Forms.Form, IDisposable
示例#1
0
 private void paintRightSide(
     Highlighters control,
     int border,
     NativeMethods.CursorPoint p,
     double height,
     double width)
 {
     rightSide = new Side(p.X +
                          width -
                              (border / 2),
                          p.Y,
                          border,
                          height,
                          control);
 }
示例#2
0
 private void paintBottomSide(
     Highlighters control,
     int border,
     NativeMethods.CursorPoint p,
     double height,
     double width)
 {
     bottomSide = new Side(p.X,
                           p.Y +
                           height -
                               (border / 2),
                           width,
                           border,
                           control);
 }
示例#3
0
 private void paintLeftSide(
     //AutomationElement element, 
     Highlighters control,
     int border,
     NativeMethods.CursorPoint p,
     double height,
     double width)
 {
     leftSide = new Side(p.X - (border / 2),
                         p.Y,
                         border,
                         height,
                         control);
 }
示例#4
0
 private void paintBottomSide(
     Highlighters control,
     int border,
     NativeMethods.CursorPoint p,
     double height,
     double width,
     // 20130423
     System.Nullable<System.Drawing.Color> color)
 {
     bottomSide = new Side(p.X,
                           p.Y +
                           height -
                               (border / 2),
                           width,
                           border,
                           control,
                           // 20130423
                           color);
 }
示例#5
0
 private void paintRightSide(
     Highlighters control,
     int border,
     NativeMethods.CursorPoint p,
     double height,
     double width,
     // 20130423
     System.Nullable<System.Drawing.Color> color)
 {
     rightSide = new Side(p.X +
                          width -
                              (border / 2),
                          p.Y,
                          border,
                          height,
                          control,
                          // 20130423
                          color);
 }
示例#6
0
 private void paintLeftSide(
     //AutomationElement element, 
     Highlighters control,
     int border,
     NativeMethods.CursorPoint p,
     double height,
     double width,
     // 20130423
     System.Nullable<System.Drawing.Color> color)
 {
     leftSide = new Side(p.X - (border / 2),
                         p.Y,
                         border,
                         height,
                         control,
                         // 20130423
                         color);
 }
示例#7
0
 private void paintTopSide(
     Highlighters control,
     int border,
     NativeMethods.CursorPoint p,
     double height,
     double width,
     Color? color)
     // System.Nullable<System.Drawing.Color> color)
 {
     topSide = new Side(p.X,
                        p.Y - (border / 2),
                        width,
                        border,
                        control,
                        color);
 }