資源簡介
商業應用的觸摸屏瀏覽器,觸摸屏瀏覽器是一個特殊的瀏覽器,本系統已成熟商業應用,值得參考。

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?System.Runtime.InteropServices;
namespace?WindowsApplication1
{
????public?partial?class?configForm?:?Form
????{
???????//?[DllImport(“user32.dll“?EntryPoint?=?“SetWindowPos“)]
???????//?public?static?extern?int?SetWindowPos(
???????//?int?hwnd
???????//?int?hWndInsertAfter
???????//?int?x
???????//?int?y
???????//?int?cx
???????//?int?cy
???????//int?wFlags
???????//?);
???????//?[DllImport(“user32.dll“?EntryPoint?=?“FindWindow“)]
???????//?public?static?extern?int?FindWindow(
???????//?string?lpClassName
???????//?string?lpWindowName
???????//?);
????????public?configForm()
????????{
????????????InitializeComponent();
????????????this.TopMost?=?true;
????????}
????????private?void?configForm_Load(object?sender?EventArgs?e)
????????{
????????????//int?hwnd?=?FindWindow(“notepad“?null);
????????????//SetWindowPos(hwnd?-1?0?0?0?0?0x001?|?0x002?|?0x040);
????????????//0TopMost?=?true;
????????????this.TopMost?=?true;
????????????OperationSystemConfig?config?=?new?OperationSystemConfig();
????????????textBox1.Text?=?config.GetConfigValue(“starturl“);
????????????String?autorun?=?config.GetConfigValue(“autorun“);
????????????if?(Int32.Parse(autorun)==0)
????????????{
????????????????checkBox1.Checked?=?true;
????????????}
????????????if?(Int32.Parse(config.GetConfigValue(“isreturn“))?==?0)
????????????{
????????????????checkBox2.Checked?=?true;
????????????}
????????????numericUpDown2.Value?=?Int32.Parse(config.GetConfigValue(“returntime“));
????????????textBox2.Text?=?config.GetConfigValue(“password“);
????????}
????????private?bool?autorunChecked()
????????{
????????????String?filePath?=?System.AppDomain.CurrentDomain.baseDirectory.ToString()?+?“touchbrowser.exe“;
????????????RegistryOperation?ro?=?new?RegistryOperation();
????????????OperationSystemConfig?osc?=?new?OperationSystemConfig();
????????????
????????????try
????????????{
????????????????if?(checkBox1.Checked)
????????????????{
????????????????????if?(!ro.IsRegeditExist(“touchbrowse“))
????????????????????{
????????????????????????ro.WTRegedit(“touchbrowse“?@filePath);
????????????????????????
????????????????????}
????????????????????osc.setConfigValue(“autorun“?“0“);
????????????????}
????????????????else
????????????????{
????????????????????
????????????????????if?(ro.IsRegeditExist(“touchbrowse“))
????????????????????{
????????????????????????ro.DeleteRegist(“touchbrowse“);
????????????????????????
????????????????????}
????????????????????osc.setConfigValue(“autorun“?“1“);
????????????????}
????????????}
????????????catch
????????????{
????????????????return?false;
????????????}
????????????return?true;
????????}
????????private?void?button2_Click(object?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????931??2010-04-16?11:26??touchbrowse.sln
?????文件????????4226??2010-04-02?17:26??UpgradeLog.xm
?????目錄???????????0??2011-01-10?13:29??WindowsApplication1\
?????文件?????????835??2010-04-15?11:23??WindowsApplication1\app.config
?????目錄???????????0??2010-04-20?16:33??WindowsApplication1\bin\
?????目錄???????????0??2011-01-10?12:51??WindowsApplication1\bin\Debug\
?????文件?????????223??2011-01-10?16:46??WindowsApplication1\bin\Debug\SystemConfig.xm
?????文件????????1602??2011-01-10?13:29??WindowsApplication1\bin\Debug\touchbrowser.application
?????文件???????28672??2011-01-10?13:29??WindowsApplication1\bin\Debug\touchbrowser.exe
?????文件?????????835??2010-04-15?11:23??WindowsApplication1\bin\Debug\touchbrowser.exe.config
?????文件????????3770??2011-01-10?13:29??WindowsApplication1\bin\Debug\touchbrowser.exe.manifest
?????文件???????69120??2011-01-10?13:29??WindowsApplication1\bin\Debug\touchbrowser.pdb
?????文件???????53660??2010-04-05?18:58??WindowsApplication1\bin\Debug\WindowsApplication1.exe.CodeAnalysisLog.xm
?????文件???????????0??2010-04-05?18:58??WindowsApplication1\bin\Debug\WindowsApplication1.exe.lastcodeanalysissucceeded
?????文件????????5632??2005-12-08?14:51??WindowsApplication1\bin\Debug\WindowsApplication1.vshost.exe
?????文件????????5467??2011-01-10?13:29??WindowsApplication1\configForm.cs
?????文件???????15955??2011-01-10?13:29??WindowsApplication1\configForm.Designer.cs
?????文件????????5814??2011-01-10?13:29??WindowsApplication1\configForm.resx
?????文件???????10226??2010-04-09?17:28??WindowsApplication1\Form1.cs
?????文件???????13092??2010-04-09?17:28??WindowsApplication1\Form1.Designer.cs
?????文件??????205129??2010-04-09?17:28??WindowsApplication1\Form1.resx
?????目錄???????????0??2010-04-09?17:23??WindowsApplication1\images\
?????文件???????71750??2010-04-07?15:49??WindowsApplication1\images\1.png
?????文件???????71356??2010-04-07?15:57??WindowsApplication1\images\back.png
?????文件???????69364??2010-04-09?17:23??WindowsApplication1\images\back_new.png
?????文件???????62899??2010-04-09?17:00??WindowsApplication1\images\Developer_Icons_004.png
?????文件???????64089??2010-04-09?17:00??WindowsApplication1\images\Developer_Icons_025.png
?????文件???????61388??2010-04-09?17:00??WindowsApplication1\images\Developer_Icons_030.png
?????文件???????63576??2010-04-09?17:00??WindowsApplication1\images\Developer_Icons_041.png
?????文件???????63916??2010-04-09?17:03??WindowsApplication1\images\Developer_Icons_055.png
?????文件???????62528??2010-04-09?17:00??WindowsApplication1\images\Developer_Icons_056.png
............此處省略65個文件信息
評論
共有 條評論