Skip to content

Commit

Permalink
Try to fix window not show
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Jan 18, 2014
1 parent b1e3b61 commit 30302e2
Show file tree
Hide file tree
Showing 8 changed files with 88 additions and 86 deletions.
19 changes: 10 additions & 9 deletions src/i-nex/.settings
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[Bookmarks]
CFlags=[9]
Finfosys=[]

[Breakpoints]
Count=0
Expand All @@ -25,34 +26,35 @@ SearchString=True

[OpenFile]
File[1]=".src/Finfosys.form"
Active=2
File[2]=".src/Global.class:199.7"
File[3]=".src/About.form"
File[4]=".src/About.class:26.3"
File[4]=".src/About.class:19.0"
File[5]=".src/battery.module:136.82"
File[6]=".src/Disk_Drives.module:2.19"
File[7]=".src/ScreenShot.form"
File[8]=".src/ScreenShot.class:69.9"
File[8]=".src/ScreenShot.class:37.3"
File[9]=".src/ScreenShotM.module:2.19"
File[10]=".src/USB_Drives.module:2.19"
File[11]=".src/Asound_Drives.module:2.19"
File[12]=".src/FReport_Gen.form"
File[13]=".src/FReport_Gen.class:162.7"
File[13]=".src/FReport_Gen.class:42.41"
File[14]=".src/Start_App_Args.form"
File[15]=".src/Start_App_Args.class:2.19"
File[16]=".src/ChkPrm.module:2.19"
File[17]=".src/thermal_zone.module:33.66"
File[18]=".src/FModules.form"
File[19]=".src/FModules.class:40.6"
File[19]=".src/FModules.class:40.7"
File[20]=".src/Input_Devices.module:2.19"
File[21]=".src/net.module:2.19"
File[22]="Data/report-ng.sh:5.3"
File[23]=".src/Distribution_Detect.module:22.34"
File[23]=".src/Distribution_Detect.module:13.1"
File[24]=".src/FFlags.module:2.19"
File[25]=".src/Finfosys.class:46.44"
File[25]=".src/Finfosys.class:950.31"
File[26]=".src/FDF.form"
File[27]=".src/FDF.class:26.6"
File[28]=".src/FNET_R_T.form"
File[29]=".src/FNET_R_T.class:80.6"
File[29]=".src/FNET_R_T.class:75.2"
File[30]=".src/FGraphic.module:2.19"
File[31]="logo/fb.png"
File[32]=".src/FCPU.module:2.19"
Expand Down Expand Up @@ -86,8 +88,7 @@ File[59]=".src/FDirDialog.class:2.19"
File[60]=".src/FFileDialog.class:2.19"
File[61]=".src/FInputDate.class:2.19"
File[62]=".src/FDIMM.form"
Active=63
File[63]=".src/FDIMM.class:24.17"
File[63]=".src/FDIMM.class:32.7"
Count=63

[Watches]
Expand Down
12 changes: 6 additions & 6 deletions src/i-nex/.src/About.class
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

Public Sub Form_Open()

If Settings["Window/X"] = Null Then
Me.Center
Else
Me.X = Settings["Window/X", Me.X]
Me.Y = Settings["Window/Y", Me.Y]
Endif
If Settings["Window/X"] = Null Then
Me.Center
Else
Try Me.X = Settings["Window/X", Me.X]
Try Me.Y = Settings["Window/Y", Me.Y]
Endif

End

Expand Down
12 changes: 6 additions & 6 deletions src/i-nex/.src/FDIMM.class
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ Public Sub Form_Open()
Dim sLine As String
Dim EDID As New String[]

If Settings["Window/X"] = Null Then
Me.Center
Else
Me.X = Settings["Window/X", Me.X]
Me.Y = Settings["Window/Y", Me.Y]
Endif
If Settings["Window/X"] = Null Then
Me.Center
Else
Try Me.X = Settings["Window/X", Me.X]
Try Me.Y = Settings["Window/Y", Me.Y]
Endif

Logs("Execute edid", Logger.Info)

Expand Down
12 changes: 6 additions & 6 deletions src/i-nex/.src/FModules.class
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ Public Sub Form_Open()
Else
Me.Close
Endif
If Settings["Window/X"] = Null Then
Me.Center
Else
Me.X = Settings["Window/X", Me.X]
Me.Y = Settings["Window/Y", Me.Y]
Endif
If Settings["Window/X"] = Null Then
Me.Center
Else
Try Me.X = Settings["Window/X", Me.X]
Try Me.Y = Settings["Window/Y", Me.Y]
Endif
End

Public Sub ComboBox1_Click()
Expand Down
12 changes: 6 additions & 6 deletions src/i-nex/.src/FNET_R_T.class
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ Public Sub Timer1_Timer()
End

Public Sub Form_Open()
If Settings["Window/X"] = Null Then
Me.Center
Else
Me.X = Settings["Window/X", Me.X]
Me.Y = Settings["Window/Y", Me.Y]
Endif
If Settings["Window/X"] = Null Then
Me.Center
Else
Try Me.X = Settings["Window/X", Me.X]
Try Me.Y = Settings["Window/Y", Me.Y]
Endif
Timer1.Start
net_()
End
16 changes: 6 additions & 10 deletions src/i-nex/.src/FReport_Gen.class
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,12 @@ Public Sub Form_Open()
ComboBox1.Add("paste.openstack.org")
ComboBox1.Add("paste.ubuntu.org.cn")
ComboBox1.Add("paste.pound-python.org")
'ComboBox1.Add("yourpaste.net")
'ComboBox1.Add("dpaste.com")
'ComboBox1.Add("hpaste.org")

If Settings["Window/X"] = Null Then
Me.Center
Else
Me.X = Settings["Window/X", Me.X]
Me.Y = Settings["Window/Y", Me.Y]
Endif
If Settings["Window/X"] = Null Then
Me.Center
Else
Try Me.X = Settings["Window/X", Me.X]
Try Me.Y = Settings["Window/Y", Me.Y]
Endif

End

Expand Down
79 changes: 42 additions & 37 deletions src/i-nex/.src/Finfosys.class
Original file line number Diff line number Diff line change
Expand Up @@ -38,40 +38,52 @@ Public Sub Form_Open()
Dim sLine As String
Dim MTRR As New String[]
Logs("Starting log", Logger.Info)

''Okno na środku
If Settings["Window/X"] = Null Then
Me.Center
Else
Try Me.X = Settings["Window/X", Me.X]
Try Me.Y = Settings["Window/Y", Me.Y]
Endif

Logs("Check whereis inex-cpuid and get JSON Data", Logger.Info)
Exec [ChkPrm.ChkExecDir("inex-cpuid")] Wait To BUFFER
Exec [ChkPrm.ChkExecDir("inex-cpuid")] Wait To BUFFER
Logs("Decode JSON Data", Logger.Info)
DATAT = JSON.Decode(BUFFER)
DATAT = JSON.Decode(BUFFER)
Logs("Add Values CPUID", Logger.Info)
Label92.Text = "" & DATAT["VENDOR_STR"]
Label193.Text = "" & DATAT["CPU_CODENAME"]
Label194.Text = "" & DATAT["BRAND_STR"]
Label195.Text = "Cores: " & DATAT["NUM_CORES"]
Label196.Text = "Logical CPUS: " & DATAT["NUM_LOGICAL_CPUS"]
Label197.Text = "Total Logical CPUS: " & DATAT["TOTAL_LOGICAL_CPUS"]
Label198.Text = "Family: " & DATAT["FAMILY"]
Label199.Text = "Model: " & DATAT["MODEL"]
Label200.Text = "Stepping: " & DATAT["STEPPING"]
Label201.Text = "Ext Family: " & DATAT["EXT_FAMILY"]
Label202.Text = "Ext Model: " & DATAT["EXT_MODEL"]
Label203.Text = "CPU Clock: " & DATAT["CPU_CLOCK"]
Label204.Text = "CPU Clock BY OS: " & DATAT["CPU_CLOCK_BY_OS"]
Label205.Text = "CPU Clock BY IC: " & DATAT["CPU_CLOCK_BY_IC"]
Label206.Text = "CPU Clock Measure: " & DATAT["CPU_CLOCK_MEASURE"]
Label207.Text = "Mark TSC: " & DATAT["MARK_TSC"]
Label208.Text = "Mark SYS Clock: " & DATAT["MARK_SYS_CLOCK"]
Label209.Text = "L1 Data: " & DATAT["L1_DATA_CACHE"]
Label210.Text = "L1 Instr: " & DATAT["L1_INSTRUCTION_CACHE"]
Label211.Text = "L2 Cache: " & DATAT["L2_CACHE"]
Label212.Text = "L3 Cache: " & DATAT["L3_CACHE"]
Label213.Text = "L1 Assoc: " & DATAT["L1_ASSOC"]
Label214.Text = "L2 Assoc: " & DATAT["L2_ASSOC"]
Label215.Text = "L3 Assoc: " & DATAT["L3_ASSOC"]
Label216.Text = "L1 Cacheline: " & DATAT["L1_CACHELINE"]
Label217.Text = "L2 Cacheline: " & DATAT["L2_CACHELINE"]
Label218.Text = "L3 Cacheline: " & DATAT["L3_CACHELINE"]
Label219.Text = "SSE Size: " & DATAT["SSE_SIZE"]

Label92.Text = "" & DATAT["VENDOR_STR"]
Label193.Text = "" & DATAT["CPU_CODENAME"]
Label194.Text = "" & DATAT["BRAND_STR"]
Label195.Text = "Cores: " & DATAT["NUM_CORES"]
Label196.Text = "Logical CPUS: " & DATAT["NUM_LOGICAL_CPUS"]
Label197.Text = "Total Logical CPUS: " & DATAT["TOTAL_LOGICAL_CPUS"]
Label198.Text = "Family: " & DATAT["FAMILY"]
Label199.Text = "Model: " & DATAT["MODEL"]
Label200.Text = "Stepping: " & DATAT["STEPPING"]
Label201.Text = "Ext Family: " & DATAT["EXT_FAMILY"]
Label202.Text = "Ext Model: " & DATAT["EXT_MODEL"]
Label203.Text = "CPU Clock: " & DATAT["CPU_CLOCK"]
Label204.Text = "CPU Clock BY OS: " & DATAT["CPU_CLOCK_BY_OS"]
Label205.Text = "CPU Clock BY IC: " & DATAT["CPU_CLOCK_BY_IC"]
Label206.Text = "CPU Clock Measure: " & DATAT["CPU_CLOCK_MEASURE"]
Label207.Text = "Mark TSC: " & DATAT["MARK_TSC"]
Label208.Text = "Mark SYS Clock: " & DATAT["MARK_SYS_CLOCK"]
Label209.Text = "L1 Data: " & DATAT["L1_DATA_CACHE"]
Label210.Text = "L1 Instr: " & DATAT["L1_INSTRUCTION_CACHE"]
Label211.Text = "L2 Cache: " & DATAT["L2_CACHE"]
Label212.Text = "L3 Cache: " & DATAT["L3_CACHE"]
Label213.Text = "L1 Assoc: " & DATAT["L1_ASSOC"]
Label214.Text = "L2 Assoc: " & DATAT["L2_ASSOC"]
Label215.Text = "L3 Assoc: " & DATAT["L3_ASSOC"]
Label216.Text = "L1 Cacheline: " & DATAT["L1_CACHELINE"]
Label217.Text = "L2 Cacheline: " & DATAT["L2_CACHELINE"]
Label218.Text = "L3 Cacheline: " & DATAT["L3_CACHELINE"]
Label219.Text = "SSE Size: " & DATAT["SSE_SIZE"]

Logs("Create Labels in ScrollView1", Logger.Info)

For i = 1 To 94
Label[i] = New Label(ScrollView1)
With Label[i]
Expand Down Expand Up @@ -285,13 +297,6 @@ Public Sub Form_Open()

Label25.Text = Application.version
Logs(Label25.Text, Logger.Info)
''Okno na środku
If Settings["Window/X"] = Null Then
Me.Center
Else
Me.X = Settings["Window/X", Me.X]
Me.Y = Settings["Window/Y", Me.Y]
Endif

End

Expand Down
12 changes: 6 additions & 6 deletions src/i-nex/.src/ScreenShot.class
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ Public Sub Form_Open()
Else
ButtonBox1.Text = Desktop.Path
Endif
If Settings["Window/X"] = Null Then
Me.Center
Else
Me.X = Settings["Window/X", Me.X]
Me.Y = Settings["Window/Y", Me.Y]
Endif
If Settings["Window/X"] = Null Then
Me.Center
Else
Try Me.X = Settings["Window/X", Me.X]
Try Me.Y = Settings["Window/Y", Me.Y]
Endif
PictureBox1.Picture = ScreenShotM.pic
TextBox1.Text = Date & Time
TextBox1.Text = Replace(TextBox1.Text, "/", "")
Expand Down

0 comments on commit 30302e2

Please sign in to comment.