📄 userdelete.dfm
字号:
object UserDeleteForm: TUserDeleteForm
Left = 87
Top = 150
BorderStyle = bsSingle
Caption = #21024#38500#29992#25143
ClientHeight = 315
ClientWidth = 543
Color = clBtnFace
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = #23435#20307
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
Scaled = False
OnClose = FormClose
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 12
object Label1: TLabel
Left = 195
Top = 15
Width = 48
Height = 16
Caption = #29992#25143#21517
Font.Charset = GB2312_CHARSET
Font.Color = clBlue
Font.Height = -16
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
end
object Edit1: TEdit
Left = 250
Top = 15
Width = 106
Height = 20
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = #23435#20307
Font.Style = []
MaxLength = 10
ParentFont = False
TabOrder = 0
OnExit = Edit1Exit
OnKeyDown = Edit1KeyDown
end
object BitBtn1: TBitBtn
Left = 195
Top = 260
Width = 75
Height = 25
Caption = #21024#38500
Enabled = False
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
TabOrder = 1
OnClick = BitBtn1Click
Glyph.Data = {
DE010000424DDE01000000000000760000002800000024000000120000000100
0400000000006801000000000000000000001000000010000000000000000000
80000080000000808000800000008000800080800000C0C0C000808080000000
FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
3333333333333333333333330000333333333333333333333333F33333333333
00003333344333333333333333388F3333333333000033334224333333333333
338338F3333333330000333422224333333333333833338F3333333300003342
222224333333333383333338F3333333000034222A22224333333338F338F333
8F33333300003222A3A2224333333338F3838F338F33333300003A2A333A2224
33333338F83338F338F33333000033A33333A222433333338333338F338F3333
0000333333333A222433333333333338F338F33300003333333333A222433333
333333338F338F33000033333333333A222433333333333338F338F300003333
33333333A222433333333333338F338F00003333333333333A22433333333333
3338F38F000033333333333333A223333333333333338F830000333333333333
333A333333333333333338330000333333333333333333333333333333333333
0000}
NumGlyphs = 2
end
object BitBtn2: TBitBtn
Left = 300
Top = 260
Width = 75
Height = 25
Caption = #21462#28040
Enabled = False
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
TabOrder = 2
OnClick = BitBtn2Click
Glyph.Data = {
DE010000424DDE01000000000000760000002800000024000000120000000100
0400000000006801000000000000000000001000000010000000000000000000
80000080000000808000800000008000800080800000C0C0C000808080000000
FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
333333333333333333333333000033338833333333333333333F333333333333
0000333911833333983333333388F333333F3333000033391118333911833333
38F38F333F88F33300003339111183911118333338F338F3F8338F3300003333
911118111118333338F3338F833338F3000033333911111111833333338F3338
3333F8330000333333911111183333333338F333333F83330000333333311111
8333333333338F3333383333000033333339111183333333333338F333833333
00003333339111118333333333333833338F3333000033333911181118333333
33338333338F333300003333911183911183333333383338F338F33300003333
9118333911183333338F33838F338F33000033333913333391113333338FF833
38F338F300003333333333333919333333388333338FFF830000333333333333
3333333333333333333888330000333333333333333333333333333333333333
0000}
NumGlyphs = 2
end
object StringGrid1: TStringGrid
Left = 180
Top = 40
Width = 336
Height = 216
ColCount = 3
Enabled = False
FixedCols = 0
RowCount = 8
ParentShowHint = False
ScrollBars = ssVertical
ShowHint = True
TabOrder = 3
OnSelectCell = StringGrid1SelectCell
ColWidths = (
68
58
223)
end
object BitBtn3: TBitBtn
Left = 400
Top = 260
Width = 75
Height = 25
Caption = #36820#22238
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
TabOrder = 4
OnClick = BitBtn3Click
Glyph.Data = {
DE010000424DDE01000000000000760000002800000024000000120000000100
0400000000006801000000000000000000001000000010000000000000000000
80000080000000808000800000008000800080800000C0C0C000808080000000
FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00388888888877
F7F787F8888888888333333F00004444400888FFF444448888888888F333FF8F
000033334D5007FFF4333388888888883338888F0000333345D50FFFF4333333
338F888F3338F33F000033334D5D0FFFF43333333388788F3338F33F00003333
45D50FEFE4333333338F878F3338F33F000033334D5D0FFFF43333333388788F
3338F33F0000333345D50FEFE4333333338F878F3338F33F000033334D5D0FFF
F43333333388788F3338F33F0000333345D50FEFE4333333338F878F3338F33F
000033334D5D0EFEF43333333388788F3338F33F0000333345D50FEFE4333333
338F878F3338F33F000033334D5D0EFEF43333333388788F3338F33F00003333
4444444444333333338F8F8FFFF8F33F00003333333333333333333333888888
8888333F00003333330000003333333333333FFFFFF3333F00003333330AAAA0
333333333333888888F3333F00003333330000003333333333338FFFF8F3333F
0000}
NumGlyphs = 2
end
object StatusBar1: TStatusBar
Left = 0
Top = 290
Width = 543
Height = 25
Panels = <
item
Text = ' '#20165#31995#32479#31649#29702#21592#33021#21024#38500#29992#25143
Width = 50
end>
SimplePanel = False
end
object DBGrid1: TDBGrid
Left = 0
Top = 0
Width = 171
Height = 290
Align = alLeft
DataSource = DataSource1
TabOrder = 6
TitleFont.Charset = GB2312_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -12
TitleFont.Name = #23435#20307
TitleFont.Style = []
end
object StoredProc1: TStoredProc
DatabaseName = 'RedDatabase'
StoredProcName = 'PROC_DeleteUser;1'
Left = 205
Top = 115
ParamData = <
item
DataType = ftInteger
Name = 'RETURN_VALUE'
ParamType = ptResult
end
item
DataType = ftString
Name = '@username'
ParamType = ptInput
end
item
DataType = ftString
Name = '@grpname'
ParamType = ptInput
end
item
DataType = ftInteger
Name = '@issucess'
ParamType = ptInputOutput
end>
end
object DataSource1: TDataSource
DataSet = Query1
Left = 25
Top = 45
end
object Query1: TQuery
DatabaseName = 'RedDatabase'
SQL.Strings = (
'select convert(char(10),BB.username) as '#39#29992#25143#21517#39',convert(char(10),A' +
'A.groupname) as '#39#32452#21517#39
'from (select distinct groupid=B.uid, groupname=B.name'
' from sysmembers A,sysusers B'
' where B.uid=A.groupuid and B.name<>'#39'db_owner'#39') AA,'
' (select userid=D.uid,groupid=C.groupuid,username=D.name'
' from sysmembers C,sysusers D'
' where C.memberuid=D.uid and D.name<>'#39'db_owner'#39' and D.name' +
'<>'#39'dbo'#39') BB'
'where AA.groupid=BB.groupid'
'order by BB.username --AA.groupname --')
Left = 70
Top = 50
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -