亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? dsnhandle.pas

?? 主要介紹超市管理系統的后臺系統,后臺程序是系統初始化和系統維護最常使用的一部分程序,主要任務是建產基本數據,進出貨盤點和打印報表.后臺程序主要負責的都是管理上的功能,當后臺建立完整的數據后,前臺才能順
?? PAS
?? 第 1 頁 / 共 2 頁
字號:
      TSmallRect(SmallRects[i]).SetControl;
end;

procedure THandlerRect.ChangeColorMulti;
var
  i:integer;
begin
  for i:= 0 to SmallRects.Count -1 do
    TSmallRect(SmallRects[i]).ChangeColorMulti;
end;

{TSmallRect}
constructor TSmallRect.Create2(AControl:TControl;ASize,ACutSizeX,ACutSizeY:Integer;clMulti,clSingle:TColor);
begin
  inherited Create(nil);
  Control:= AControl;
  Size:= ASize;
  CutSizeX:= ACutSizeX;
  CutSizeY:= ACutSizeY;
  ColorMulti:= clMulti;
  ColorSingle:= clSingle;
  Color:=ColorSingle;
end;

destructor  TSmallRect.Destroy;
begin
  HandlerRect.ChildDeth:= True;
  inherited Destroy;
end;

procedure TSmallRect.Paint;
begin
  Canvas.Brush.Style:=bsSolid;
  Canvas.Brush.Color:=Color;
  Canvas.Rectangle(0,0,Width,Height);
end;

procedure TSmallRect.ChangeColorMulti;
begin
  Color:= ColorMulti;
  Cursor := 0;
  Repaint;
end;

function TSmallRect.CreateRectShape:TMultiShape;
begin
  Result:= TMultiShape.Create;
end;

procedure TSmallRect.MouseDown(Button: TMouseButton; Shift: TShiftState;
                                      X, Y: Integer);
var
  Point:TPoint;
begin
  if Color = ColorSingle then
  begin
    HandlerRect.SWidth:= Control.Width;
    HandlerRect.SHeight:= Control.Height;
    HandlerRect.SLeft:= Control.Left;
    HandlerRect.STop:= Control.Top;
    FX:= X;
    FY:= Y;
    Cutting(FX,FY);
    
    FShape:= CreateRectShape;
    FShape.Color:= ShapeColor;
    FShape.PenWidth:= PenWidth;
    Point.x:= Left;
    Point.y:= Top;
    Point:= Parent.ClientToScreen(Point);
    FShape.Point:= Point;
    FShape.Add(Control);
    FShape.DrowOn(Control.Parent);
    if Control is TWinControl then
      SendMessage(TWinControl(Control).Handle,RM_START,Integer(Control),0)
    else
      SendMessage(Control.Parent.Handle,RM_START,Integer(Control),0);
  end;
end;

procedure TSmallRect.MouseMove(Shift: TShiftState; X, Y: Integer);
begin
end;

procedure TSmallRect.MouseUp(Button: TMouseButton;
                      Shift: TShiftState; X, Y: Integer);
begin
  if Assigned(FShape) then
  begin
    FShape.DrowUp;
    FShape.Free;
    FShape:= nil;
    if Control is TWinControl then
      SendMessage(TWinControl(Control).Handle,RM_FINISH,MakeLong(HandlerRect.SLeft,HandlerRect.STop),MakeLong(HandlerRect.SWidth,HandlerRect.SHeight))
    else
      SendMessage(Control.Parent.Handle,RM_FINISH,MakeLong(HandlerRect.SLeft,HandlerRect.STop),MakeLong(HandlerRect.SWidth,HandlerRect.SHeight));
    HandlerRect.SetControl;
    HandlerRect.SWidth:= Control.Width;
    HandlerRect.SHeight:= Control.Height;
    HandlerRect.SLeft:= Control.Left;
    HandlerRect.STop:= Control.Top;
  end;
end;

procedure TSmallRect.Cutting(var X, Y: Integer);
begin
  X:= (X div CutSizeX) * CutSizeX;
  Y:= (Y div CutSizeY) * CutSizeY;
end;

{/MouseMove/}
procedure TMigiueRect.MouseMove(Shift: TShiftState; X, Y: Integer);
var
  Point:TPoint;
begin
  if Color = ColorSingle then
    Cursor := crSizeNESW;

  if Assigned(FShape) then
  begin
    Cutting(X, Y);
    Point.x:= Left;
    Point.y:= Top + Y;
    Point:= Parent.ClientToScreen(Point);
    FShape.SetWidth(Control.Width - (FX-X));
    FShape.SetHeight(Control.Height - Y);
    FShape.Drow(Point);
  end;
end;

procedure TMigishitaRect.MouseMove(Shift: TShiftState; X, Y: Integer);
var
  Point:TPoint;
begin
  if Color = ColorSingle then
    Cursor := crSizeNWSE;

  if Assigned(FShape) then
  begin
    Cutting(X, Y);
    Point.x:= Left;
    Point.y:= Top;
    Point:= Parent.ClientToScreen(Point);
    FShape.SetWidth(Control.Width - (FX-X));
    FShape.SetHeight(Control.Height - (FY-Y));
    FShape.Drow(Point);
  end;
end;

procedure THidariueRect.MouseMove(Shift: TShiftState; X, Y: Integer);
var
  Point:TPoint;
begin
  if Color = ColorSingle then
    Cursor := crSizeNWSE;

  if Assigned(FShape) then
  begin
    Cutting(X, Y);
    Point.x:= Left + X;
    Point.y:= Top + Y;
    Point:= Parent.ClientToScreen(Point);
    FShape.SetWidth(Control.Width - X);
    FShape.SetHeight(Control.Height - Y);
    FShape.Drow(Point);
  end;
end;

procedure THidarishitaRect.MouseMove(Shift: TShiftState; X, Y: Integer);
var
  Point:TPoint;
begin
  if Color = ColorSingle then
    Cursor := crSizeNESW;

  if Assigned(FShape) then
  begin
    Cutting(X, Y);
    Point.x:= Left + X;
    Point.y:= Top;
    Point:= Parent.ClientToScreen(Point);
    FShape.SetWidth(Control.Width - X);
    FShape.SetHeight(Control.Height - (FY-Y));
    FShape.Drow(Point);
  end;
end;

{/MouseUp/}
procedure TMigiueRect.MouseUp(Button: TMouseButton;
                      Shift: TShiftState; X, Y: Integer);
var
  NewLeft, NewTop, NewWidth, NewHeight: Integer;
begin
  Cutting(X, Y);
  NewLeft:= Control.Left;
  NewWidth:= Control.Width + (X - FX);
  NewTop:= Control.Top + (Y - FY);
  NewHeight:= Control.Height - (Y - FY);
  if (NewWidth >=0) and (NewHeight >=0) then
    Control.SetBounds(NewLeft, NewTop, NewWidth, NewHeight);
  if (NewWidth <0) and (NewHeight >=0) then
    Control.SetBounds(Control.Left + NewWidth, NewTop, -NewWidth, NewHeight);
  if (NewWidth >=0) and (NewHeight <0) then
    Control.SetBounds(NewLeft, Control.Top + Control.Height, NewWidth, -NewHeight);
  if (NewWidth <0) and (NewHeight <0) then
    Control.SetBounds(Control.Left + NewWidth, Control.Top + Control.Height, -NewWidth, -NewHeight);
  inherited;
end;

procedure TMigishitaRect.MouseUp(Button: TMouseButton;
                      Shift: TShiftState; X, Y: Integer);
var
  NewLeft, NewTop, NewWidth, NewHeight: Integer;
begin
  Cutting(X, Y);
  NewLeft:= Control.Left;
  NewWidth:= Control.Width + (X - FX);
  NewTop:= Control.Top;
  NewHeight:= Control.Height + (Y - FY);
  if (NewWidth >=0) and (NewHeight >=0) then
    Control.SetBounds(NewLeft, NewTop, NewWidth, NewHeight);
  if (NewWidth <0) and (NewHeight >=0) then
    Control.SetBounds(Control.Left + NewWidth, NewTop, -NewWidth, NewHeight);
  if (NewWidth >=0) and (NewHeight <0) then
    Control.SetBounds(NewLeft, Control.Top + NewHeight, NewWidth, -NewHeight);
  if (NewWidth <0) and (NewHeight <0) then
    Control.SetBounds(Control.Left + NewWidth, Control.Top + NewHeight, -NewWidth, -NewHeight);
  inherited;
end;

procedure THidariueRect.MouseUp(Button: TMouseButton;
                      Shift: TShiftState; X, Y: Integer);
var
  NewLeft, NewTop, NewWidth, NewHeight: Integer;
begin
  Cutting(X, Y);
  NewLeft:= Control.Left + (X - FX);
  NewWidth:= Control.Width - (X - FX);
  NewTop:= Control.Top + (Y - FY);
  NewHeight:= Control.Height - (Y - FY);
  if (NewWidth >=0) and (NewHeight >=0) then
    Control.SetBounds(NewLeft, NewTop, NewWidth, NewHeight);
  if (NewWidth <0) and (NewHeight >=0) then
    Control.SetBounds(Control.Left + Control.Width, NewTop, -NewWidth, NewHeight);
  if (NewWidth >=0) and (NewHeight <0) then
    Control.SetBounds(NewLeft, Control.Top + Control.Height, NewWidth, -NewHeight);
  if (NewWidth <0) and (NewHeight <0) then
    Control.SetBounds(Control.Left + Control.Width, Control.Top + Control.Height, -NewWidth, -NewHeight);
  inherited;
end;

procedure THidarishitaRect.MouseUp(Button: TMouseButton;
                      Shift: TShiftState; X, Y: Integer);
var
  NewLeft, NewTop, NewWidth, NewHeight: Integer;
begin
  Cutting(X, Y);
  NewLeft:= Control.Left + (X - FX);
  NewWidth:= Control.Width - (X - FX);
  NewTop:= Control.Top;
  NewHeight:= Control.Height + (Y - FY);
  if (NewWidth >=0) and (NewHeight >=0) then
    Control.SetBounds(NewLeft, NewTop, NewWidth, NewHeight);
  if (NewWidth <0) and (NewHeight >=0) then
    Control.SetBounds(Control.Left + Control.Width, NewTop, -NewWidth, NewHeight);
  if (NewWidth >=0) and (NewHeight <0) then
    Control.SetBounds(NewLeft, Control.Top + NewHeight, NewWidth, -NewHeight);
  if (NewWidth <0) and (NewHeight <0) then
    Control.SetBounds(Control.Left + Control.Width, Control.Top + NewHeight, -NewWidth, -NewHeight);
  inherited;
end;



{/SetControl/}
procedure TMigiueRect.SetControl;
var
  NewLeft, NewTop: Integer;
begin
  NewLeft:= Control.Left + Control.Width - Size +2;
  NewTop:= Control.Top -2;
  SetBounds(NewLeft,NewTop,Size,Size);
end;

procedure TMigiShitaRect.SetControl;
var
  NewLeft, NewTop: Integer;
begin
  NewLeft:= Control.Left + Control.Width - Size +2;
  NewTop:= Control.Top + Control.Height - Size +2;
  SetBounds(NewLeft,NewTop,Size,Size);
end;

procedure THidariueRect.SetControl;
var
  NewLeft, NewTop: Integer;
begin
  NewLeft:= Control.Left -2;
  NewTop:= Control.Top -2;
  SetBounds(NewLeft,NewTop,Size,Size);
end;

procedure THidarishitaRect.SetControl;
var
  NewLeft, NewTop: Integer;
begin
  NewLeft:= Control.Left -2;
  NewTop:= Control.Top + Control.Height - Size +2;
  SetBounds(NewLeft,NewTop,Size,Size);
end;

end.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人av电影| 精品一区二区三区免费视频| 精品久久久久久久久久久久久久久久久| 精品一区二区在线观看| 亚洲精品一二三| 久久亚洲一区二区三区四区| 欧美性一区二区| 成人中文字幕电影| 男人操女人的视频在线观看欧美| 国产精品久久午夜| 91精品国产91久久久久久一区二区 | 精品一区二区三区在线视频| 亚洲精品视频一区| 欧美激情一区二区三区不卡| 欧美一区二区高清| 欧美视频一区二区| 色偷偷一区二区三区| 国产 日韩 欧美大片| 欧美韩日一区二区三区四区| 亚洲欧美日韩成人高清在线一区| 99久久久无码国产精品| 精品一区中文字幕| 免费欧美在线视频| 中文字幕在线观看不卡视频| 91看片淫黄大片一级| 久久久www成人免费无遮挡大片| 在线91免费看| 欧美亚洲愉拍一区二区| 一本一道综合狠狠老| 国产成人福利片| 国产福利不卡视频| 国内久久婷婷综合| 韩国成人在线视频| 国产在线精品一区二区三区不卡| 麻豆国产91在线播放| 理论片日本一区| 香港成人在线视频| 日韩中文字幕一区二区三区| 国产在线精品不卡| 972aa.com艺术欧美| 亚洲在线一区二区三区| 99久久精品免费看| 国产风韵犹存在线视精品| 精品国产乱码久久| 精品久久久久久综合日本欧美| 欧美一区二区视频在线观看2020| 欧美撒尿777hd撒尿| 欧美亚洲免费在线一区| 欧美视频一区二区在线观看| 精品1区2区3区| 在线播放国产精品二区一二区四区 | 不卡av电影在线播放| 成人不卡免费av| 处破女av一区二区| 97精品电影院| 欧美日韩视频不卡| 欧美一级夜夜爽| 2023国产精品| 国产精品白丝在线| 亚洲另类中文字| 婷婷成人激情在线网| 日本成人超碰在线观看| 韩国女主播一区| av网站免费线看精品| 91高清视频在线| 91精品国产综合久久蜜臀| 久久综合中文字幕| 亚洲欧洲成人精品av97| 亚洲成人av一区二区| 九九国产精品视频| 99久久精品免费| 欧美日韩中字一区| 精品国产露脸精彩对白 | 一色屋精品亚洲香蕉网站| 一区二区三区中文在线观看| 天天综合天天综合色| 精品一区二区三区久久久| 成人免费视频播放| 欧美精品一二三区| 国产欧美久久久精品影院| 一区二区三区欧美激情| 美女国产一区二区三区| 成年人网站91| 69久久99精品久久久久婷婷 | 亚洲福利一区二区三区| 麻豆国产欧美日韩综合精品二区| 成人性视频网站| 欧美性大战久久久久久久蜜臀 | 99精品视频在线播放观看| 欧美一区二区二区| 国产精品久久久久久久久免费樱桃| 亚洲国产成人av网| 不卡视频免费播放| 精品免费99久久| 亚洲曰韩产成在线| 国产精品亚洲成人| 91精品国产免费久久综合| ...xxx性欧美| 久久国产人妖系列| 欧洲精品中文字幕| 中文字幕欧美国产| 日韩影院免费视频| 99国产精品一区| 久久色视频免费观看| 亚洲午夜免费视频| 91视频.com| 久久综合九色综合97婷婷| 亚洲综合色婷婷| 懂色中文一区二区在线播放| 91精品国产91综合久久蜜臀| 一区二区三区成人在线视频| 国产美女久久久久| 6080日韩午夜伦伦午夜伦| 亚洲色图清纯唯美| 久久99精品国产麻豆不卡| 99国产精品一区| 国产精品美女www爽爽爽| 久久se这里有精品| 欧美人妖巨大在线| 亚洲午夜久久久久| 欧美在线免费观看视频| 国产精品免费视频网站| 国产成人精品三级麻豆| 精品国产精品一区二区夜夜嗨| 日韩激情在线观看| 一本大道久久精品懂色aⅴ| 国产精品日产欧美久久久久| 麻豆免费精品视频| 日韩欧美的一区| 日本最新不卡在线| 91精品国产高清一区二区三区| 亚洲午夜三级在线| 欧美日韩一区二区三区高清| 亚洲在线中文字幕| 日本韩国欧美国产| 亚洲一区视频在线观看视频| 色婷婷久久99综合精品jk白丝| 亚洲人妖av一区二区| 91丨porny丨蝌蚪视频| 亚洲欧美另类综合偷拍| 日本乱人伦一区| 亚洲一区中文在线| 欧美三级电影网| 日韩精品一级二级| 欧美一区二区网站| 激情五月婷婷综合网| 久久亚洲精品国产精品紫薇 | 欧美性三三影院| 亚洲成人动漫在线观看| 欧美日韩久久久久久| 丝袜a∨在线一区二区三区不卡| 欧美精品aⅴ在线视频| 久88久久88久久久| 日本一区二区在线不卡| 色综合欧美在线视频区| 亚洲3atv精品一区二区三区| 91精品中文字幕一区二区三区| 美女视频一区二区三区| 精品成a人在线观看| 成人精品视频一区二区三区尤物| 国产精品久久精品日日| 欧美三级电影网站| 精品一区二区免费视频| 国产精品欧美综合在线| 欧美在线观看禁18| 日韩电影在线免费看| 久久中文字幕电影| 色94色欧美sute亚洲线路一ni| 五月婷婷久久丁香| 国产视频在线观看一区二区三区 | 日韩视频一区二区三区在线播放| 麻豆视频一区二区| 国产精品高潮呻吟久久| 色av成人天堂桃色av| 久久se精品一区精品二区| 国产精品伦理在线| 91精品国产日韩91久久久久久| 国产精一区二区三区| 一区二区三区中文字幕在线观看| 欧美一区二区精品在线| 99久久精品免费看国产| 日韩精品91亚洲二区在线观看 | 日韩免费电影网站| 91在线视频播放地址| 久久国产精品露脸对白| 亚洲欧洲综合另类| 欧美电影影音先锋| 91亚洲永久精品| 久久99精品久久久久| 亚洲成人黄色影院| 国产精品成人一区二区三区夜夜夜| 制服丝袜亚洲网站| 色综合咪咪久久| 国产米奇在线777精品观看| 亚洲国产wwwccc36天堂| 国产精品国产自产拍在线| 欧美成人乱码一区二区三区| 91在线视频在线| 国内精品嫩模私拍在线| 视频一区视频二区中文|