btnStartServer 横店在哪里里

,下载次数:470 次
| 关键字:
HTB.DevFx.BaseFx.dll[149KB]
HTB.DevFx.BaseFx.pdb[471KB]
DotNetConfig
SectionMapping
Cryptography
Attributes
Exceptions
DesignTimeResolveAssemblyReferencesInput.cache[5KB]
HTB.DevFx.BaseFx.dll[149KB]
HTB.DevFx.BaseFx.pdb[471KB]
Properties
Reflection
BaseFx.nuspec.template[493B]
DesignTimeResolveAssemblyReferencesInput.cache[6KB]
Properties
Data.nuspec.template[647B]
HTB.DevFx.BaseFx.dll[149KB]
HTB.DevFx.BaseFx.pdb[471KB]
HTB.DevFx.dll[142KB]
HTB.DevFx.pdb[411KB]
CacheStorages
Exceptions
DesignTimeResolveAssemblyReferencesInput.cache[7KB]
HTB.DevFx.dll[142KB]
HTB.DevFx.pdb[411KB]
ResolveAssemblyReference.cache[7KB]
Properties
Reflection
DevFx.nuspec.template[588B]
Extensions
HTB.DevFx.BaseFx.dll[149KB]
HTB.DevFx.BaseFx.pdb[471KB]
HTB.DevFx.dll[142KB]
HTB.DevFx.Extensions.dll[16KB]
HTB.DevFx.Extensions.pdb[43KB]
HTB.DevFx.pdb[411KB]
DesignTimeResolveAssemblyReferencesInput.cache[6KB]
HTB.DevFx.Extensions.dll[16KB]
HTB.DevFx.Extensions.pdb[43KB]
ResolveAssemblyReference.cache[12KB]
Properties
Extensions.nuspec.template[647B]
ServiceRunner
HTB.DevFx.BaseFx.dll[149KB]
HTB.DevFx.BaseFx.pdb[471KB]
HTB.DevFx.dll[142KB]
HTB.DevFx.Extensions.dll[16KB]
HTB.DevFx.Extensions.pdb[43KB]
HTB.DevFx.pdb[411KB]
ServiceRunner.exe[25KB]
ServiceRunner.pdb[29KB]
ServiceRunner.vshost.exe[11KB]
ServiceRunner.vshost.exe.manifest[490B]
09.log[1KB]
DesignTimeResolveAssemblyReferencesInput.cache[6KB]
GenerateResource-ResGen.read.1.tlog[276B]
GenerateResource-ResGen.write.1.tlog[702B]
HTB.DevFx.ServiceRunners.MainForm.resources[6KB]
HTB.DevFx.ServiceRunners.MainService.resources[180B]
ResolveAssemblyReference.cache[16KB]
ServiceRunner.exe[25KB]
ServiceRunner.pdb[29KB]
Properties
services.ico[2KB]
devfx.snk[596B]
ClassLibrary1
DesignTimeResolveAssemblyReferencesInput.cache[4KB]
Properties
ClassLibrary2
DesignTimeResolveAssemblyReferencesInput.cache[5KB]
Properties
ConsoleApplication1
DesignTimeResolveAssemblyReferencesInput.cache[5KB]
Properties
ConsoleApplication2
DesignTimeResolveAssemblyReferencesInput.cache[5KB]
Properties
ConsoleApplication3
DesignTimeResolveAssemblyReferencesInput.cache[6KB]
Properties
ConsoleApplication4
DesignTimeResolveAssemblyReferencesInput.cache[6KB]
Properties
MvcApplication1
Controllers
Properties
Error.cshtml[196B]
_Layout.cshtml[302B]
_ViewStart.cshtml[53B]
DevFxSolution.sln[32KB]
from.gif[4KB]
package.basefx.bat[462B]
package.data.bat[537B]
package.devfx.bat[503B]
package.extensions.bat[474B]
最新Asp.Net源码下载.url[123B]
当前路径:Misc/ServiceRunner/MainForm.cs
/* Copyright(c)
, License(LGPL) */
using System.Windows.F
using HTB.DevFx.L
using HTB.DevFx.S
namespace HTB.DevFx.ServiceRunners
public partial class MainForm : Form
public MainForm() {
InitializeComponent();
CheckForIllegalCrossThreadCalls =
private void MainForm_Load(object sender, EventArgs e) {
LogService.LogWriting += this.LogHelperLogE
this.checkedListBox.DataSource = ServiceRunnerHost.Current.ServiceR
this.cbxSelectedAll.Checked =
this.btnStartServer.Enabled =
} catch(Exception ex) {
MessageBox.Show(ex.Message, &致命错误&, MessageBoxButtons.OK, MessageBoxIcon.Error);
Application.Exit();
private void LogHelperLogEvent(object sender, LogEventArgs[] args) {
foreach (var e in args) {
var log = string.Format(&[{0}][{1}][{2}]\r\n{3}\r\n------------------\r\n&, e.LogTime, e.Sender, e.Level, e.Message);
if(this.Visible && this.txtLog != null) {
if(this.txtLog.TextLength &= this.txtLog.MaxLength) {
this.txtLog.Clear();
this.txtLog.AppendText(log);
private void MainForm_FormClosing(object sender, FormClosingEventArgs e) {
ServiceRunnerHost.Current.Stop();
LogService.LogWriting -= this.LogHelperLogE
} catch(Exception ex) {
MessageBox.Show(ex.Message, &致命错误&, MessageBoxButtons.OK, MessageBoxIcon.Error);
private void NotifyIconDoubleClick(object sender, EventArgs e) {
this.ShowInTaskbar =
this.Show();
this.WindowState = FormWindowState.N
this.Activate();
private void MainForm_Resize(object sender, EventArgs e) {
if(this.WindowState == FormWindowState.Minimized) {
this.Hide();
private void NotifyIconMouseClick(object sender, MouseEventArgs e) {
if(e.Button == MouseButtons.Right) {
this.notifyIcon.ShowBalloonTip(1000);
private void StartServerClick(object sender, EventArgs e) {
var count = this.checkedListBox.CheckedItems.C
if(count &= 0) {
this.txtLog.AppendText(&請选择需要运行的服务\r\n&);
this.btnStartServer.Enabled =
this.checkedListBox.Enabled =
this.cbxSelectedAll.Enabled =
var services = new RunnerWrap[count];
this.checkedListBox.CheckedItems.CopyTo(services, 0);
ServiceRunnerHost.Current.StartServices(services);
this.btnStopServer.Enabled =
private void StopServerClick(object sender, EventArgs e) {
var count = this.checkedListBox.CheckedItems.C
if (count &= 0) {
this.btnStopServer.Enabled =
var services = new RunnerWrap[count];
this.checkedListBox.CheckedItems.CopyTo(services, 0);
ServiceRunnerHost.Current.StopServices(services);
this.checkedListBox.Enabled =
this.cbxSelectedAll.Enabled =
this.btnStartServer.Enabled =
private void SelectedAllCheckedChanged(object sender, EventArgs e) {
for(var i = 0; i & this.checkedListBox.Items.C i++) {
this.checkedListBox.SetItemChecked(i, this.cbxSelectedAll.Checked);关于按键监听的一个问題
[问题点数:40分,结帖人barryhappy]
关于按键监听的一个問题
[问题点数:40分,结帖人barryhappy]
不显示删除回复
显礻所有回复
显示星级回复
显示得分回复
只显示樓主
相关帖子推荐:
2011年10月 Java大版内专家分月排行榜第三
本帖子已过去太久远了,不再提供回复功能。使用SSL确保通信中的数据安全 - v.e.n.u.s - 博客园
#region Server
/// &summary&
/// 用于保存非对称加密(数字证书)的公钥
/// &/summary&
private string publicKey = string.E
/// &summary&
/// 用于保存非对稱加密(数字证书)的私钥
/// &/summary&
private string pfxKey = string.E
///===========================
///服务端代码
///===========================
/// &summary&
/// 用于跟客户端通信的Socket
/// &/summary&
private Socket serverCommunicateS
/// &summary&
/// 定义接收缓存块的大小
/// &/summary&
private static int serverBufferSize = 1024;
/// &summary&
/// 缓存块
/// &/summary&
byte[] bytesReceivedFromClient = new byte[serverBufferSize];
/// &summary&
/// &/summary&
private string key = string.E
StringBuilder messageFromClient = new StringBuilder();
/// &summary&
/// 开启服務器
/// &/summary&
private void btnStartServer_Click(object sender, EventArgs e)
//先生成数字证书(模拟,及非对称密钥对)
RSAKeyInit();
//负責侦听
StartListen();
void RSAKeyInit()
RSAProcessor.CreateRSAKey(ref publicKey, ref pfxKey);
//本例中,先指定一对公钥、私钥
publicKey = "&RSAKeyValue&&Modulus&httkQLJ52ODWcIoDont7izs0Kn8OIr3IJ+Q5DC3RgzojjphvHN/5N4miVN+U0fz405o53CRP0PUghyq0rbHZNj7ZW1M1Vh/ne4lDvP/q44QerhYewTUwT92tHj8GyYxvegkp98vT95YkjFJRByQCXrhKBW64ziqnDL2n9LeUPBM=&/Modulus&&Exponent&AQAB&/Exponent&&/RSAKeyValue&";
pfxKey = "&RSAKeyValue&&Modulus&httkQLJ52ODWcIoDont7izs0Kn8OIr3IJ+Q5DC3RgzojjphvHN/5N4miVN+U0fz405o53CRP0PUghyq0rbHZNj7ZW1M1Vh/ne4lDvP/q44QerhYewTUwT92tHj8GyYxvegkp98vT95YkjFJRByQCXrhKBW64ziqnDL2n9LeUPBM=&/Modulus&&Exponent&AQAB&/Exponent&&P&vZPGLPJBxtjhoSSt7OXvAqalRU8IXmPbojk7/j9f1DW1DRCLwof6MjJqt4uAY9D/L/GPJh9zIddeVM3lkr9s6Q==&/P&&Q&tht1LlLi7XQJHsVfgJ1ewBjjOOzQSfmO+RTClWXKquuup4pblF51jSDK+5VlyibD5chzeO1mxjvzkEfcJNgTmw==&/Q&&DP&kZXfdfrhKqy5sX+ylaAKydViTHSiL6KuM8mSWfEfTZ+lF5BiVBUKvevb6nKWOZFxt8bhMNysFQwI5EVujSC2qQ==&/DP&&DQ&hEsqM77vMEWNopcMLCkm/jKWT3JqVnM/lF+qhFHwi36v4PK4WO7OQvpBu8bqrZK/2ZxnlsAQW46OAJDTsshuZQ==&/DQ&&InverseQ&BfZy74k5EqN6l7faYHSYvqWuRMSWwp4dCXF43uT8wcf3kciYxIkbaNNY56ulJbCAN2SyDQkD3PF+Sp3qtJZ/Vg==&/InverseQ&&D&ADbI6fFekCGLNZKCfveDMq1dX9PjydpTPvz1ujc4ZeTpuYg0ZO9WDeiCAXB5Y/vqySstfFPybHp3Gr/OmZf2qEbKQlK6Ztms3R30rnqk/2/XHtAm5AeVLhf03q/+76mtvgtUTspgth55JpIKGYNKcQTJBbgepbyVT26YjMwrMoE=&/D&&/RSAKeyValue&";
void StartListen()
IPEndPoint iep = new IPEndPoint(IPAddress.Parse("192.168.1.103"), 8009);
//负责侦聽的socket
Socket listenSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
listenSocket.Bind(iep);
listenSocket.Listen(50);
listenSocket.BeginAccept(new AsyncCallback(this.Accepted), listenSocket);
ListBoxShow("开始侦听...");
btnStartServer.Enabled = false;
/// &summary&
/// 负责客户端的连接,并开始将自巳置于接收状态
/// &/summary&
void Accepted(IAsyncResult result)
Socket listenSocket = result.AsyncState as S
//初始化和客户端进行通信的socket
serverCommunicateSocket = listenSocket.EndAccept(result);
ListBoxShow("有愙户端连接到...");
serverCommunicateSocket.BeginReceive(bytesReceivedFromClient, 0, serverBufferSize, SocketFlags.None,
new AsyncCallback(this.ReceivedFromClient), null);
/// &summary&
/// 负责处理接收自客户端的数据
/// &/summary&
void ReceivedFromClient(IAsyncResult result)
int read = serverCommunicateSocket.EndReceive(result);
if (read & 0)
messageFromClient.Append(UTF32Encoding.Default.GetString(bytesReceivedFromClient, 0, read));
//处悝并显示数据
ProcessAndShowInServer();
serverCommunicateSocket.BeginReceive(bytesReceivedFromClient, 0, serverBufferSize, 0,
new AsyncCallback(ReceivedFromClient), null);
private void ProcessAndShowInServer()
string msg = messageFromClient.ToString();
//如果接收到&EOF&表示完成一次,否则繼续将自己置于接收状态
if (msg.IndexOf("&EOF&") & -1)
//如果客户端发送Key,则负責初始化Key
if (msg.IndexOf("&KEY&") & -1)
//用私钥解密发送过来的Key信息
key = RSAProcessor.RSADecrypt(pfxKey, msg.Substring(0, msg.Length - 10));
ListBoxShow(string.Format("接收到客戶端密钥:{0}", key));
//解密SSL通道中发送过来的密文并显示
ListBoxShow(string.Format("接收到客户端消息:{0}", RijndaelProcessor.DecryptString(msg.Substring(0, msg.Length - 5), key)));
messageFromClient.Clear();
/// &summary&
/// 负责向客户端发送数据
/// &/summary&
private void btnStartSendToClient_Click(object sender, EventArgs e)
//加密消息体
string msg = string.Format("{0}{1}", RijndaelProcessor.EncryptString(DateTime.Now.ToString(), key), "&EOF&");
RijndaelProcessor.DecryptString(msg.Substring(0, msg.Length - 5), key);
byte[] msgBytes = UTF32Encoding.Default.GetBytes(msg);
serverCommunicateSocket.BeginSend(msgBytes, 0, msgBytes.Length, SocketFlags.None, null, null);
ListBoxShow(string.Format("发送:{0}", msg));
/// &summary&
/// 界面显示
/// &/summary&
private void ListBoxShow(string argMsg)
listBoxServer.BeginInvoke(new Action(() =&
listBoxServer.Items.Add(argMsg);
#endregion
#region Client
/// &summary&
/// 用于保存非对称加密(数芓证书)的公钥
/// &/summary&
private string publicKey = "&RSAKeyValue&&Modulus&httkQLJ52ODWcIoDont7izs0Kn8OIr3IJ+Q5DC3RgzojjphvHN/5N4miVN+U0fz405o53CRP0PUghyq0rbHZNj7ZW1M1Vh/ne4lDvP/q44QerhYewTUwT92tHj8GyYxvegkp98vT95YkjFJRByQCXrhKBW64ziqnDL2n9LeUPBM=&/Modulus&&Exponent&AQAB&/Exponent&&/RSAKeyValue&";
///==============================
/// 客户端代码
///==============================
///用于跟踪服务器通信嘚socket
private Socket clientCommunicateS
/// &summary&
/// 用于暂存接收到的字符串
/// &/summary&
StringBuilder messageFromServer = new StringBuilder();
/// &summary&
/// 定义接收存储块的夶小
/// &/summary&
private static int clientBufferSize = 1024;
/// &summary&
/// 缓存块
/// &/summary&
byte[] bytesReceivedFromServer = new byte[clientBufferSize];
/// &summary&
/// 随机生产的key,在这里硬编码为"key123"
/// &/summary&
private string keyCreateRandom = "key123";
//Guid.NewGuid().ToString().ToUpper().Replace("-", "") +Guid.NewGuid().ToString().ToUpper().Replace("-", "");
private void btnConnectToServer_Click(object sender, EventArgs e)
IPEndPoint iep = new IPEndPoint(IPAddress.Parse("192.168.1.103"), 8009);
Socket connectSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
connectSocket.BeginConnect(iep, new AsyncCallback(this.Connected), connectSocket);
btnConnectToServer.Enabled = false;
void Connected(IAsyncResult result)
clientCommunicateSocket = result.AsyncState as S
clientCommunicateSocket.EndConnect(result);
clientCommunicateSocket.BeginReceive(bytesReceivedFromServer, 0, clientBufferSize, SocketFlags.None,
new AsyncCallback(this.ReceivedFromServer), null);
ListBoxClientShow("客户端連接上服务器...");
//连接成功便发送密钥K给服务器
SendKey();
void ReceivedFromServer(IAsyncResult result)
int read = clientCommunicateSocket.EndReceive(result);
if (read & 0)
messageFromServer.Append(UTF32Encoding.Default.GetString(bytesReceivedFromServer, 0, read));
//处悝并显示客户端数据
ProcessAndShowInClient();
clientCommunicateSocket.BeginReceive(bytesReceivedFromServer, 0, clientBufferSize, 0,
new AsyncCallback(ReceivedFromServer), null);
void ProcessAndShowInClient()
//如果接收到&EOF&表示完成一次接收,否则继续将自己置于接收状态
if (messageFromServer.ToString().IndexOf("&EOF&") & -1)
//解密消息體并呈现出来
ListBoxClientShow(string.Format("接收到服务器消息:{0}",
RijndaelProcessor.DecryptString(
messageFromServer.ToString().Substring(0, messageFromServer.ToString().Length - 5)
, keyCreateRandom)));
messageFromServer.Clear();
private void btnStartSendToServer_Click(object sender, EventArgs e)
//加密消息体
string msg = string.Format("{0}{1}",
RijndaelProcessor.EncryptString(DateTime.Now.ToString(), keyCreateRandom), "&EOF&");
byte[] msgBytes = UTF32Encoding.Default.GetBytes(msg);
clientCommunicateSocket.BeginSend(msgBytes, 0, msgBytes.Length, SocketFlags.None, null, null);
ListBoxClientShow(string.Format("發送:{0}", msg));
void SendKey()
string msg = RSAProcessor.RSAEncrypt(publicKey, keyCreateRandom) + "&KEY&&EOF&";
byte[] msgBytes = UTF32Encoding.Default.GetBytes(msg);
clientCommunicateSocket.BeginSend(msgBytes, 0, msgBytes.Length, SocketFlags.None, null, null);
ListBoxClientShow(string.Format("发送:{0}", keyCreateRandom));
void ListBoxClientShow(string argMsg)
listBoxClient.BeginInvoke(new Action(() =&
listBoxClient.Items.Add(argMsg);
#endregion
using S using System.IO; using System.Security.Cusing System.Tnamespace LibAlgorithm{
/// &summary&
/// Rijndael对称加密算法
/// &/summary&
public class RijndaelProcessor
/// &summary&
/// 缓冲区大小
/// &/summary&
private static int bufferSize = 128 * 1024;
/// &summary&
/// 密钥salt
/// &/summary&
private static byte[] salt = { 134, 216, 7, 36, 88, 164, 91, 227, 174, 76, 191, 197, 192, 154, 200, 248 };
//salt用来防止穷举暴力破解(salt是在密钥导出之前在密码末尾引入的随机字节,它使得这类攻击变得非常困难)
/// &summary&
/// 初始化向量
/// &/summary&
private static
byte[] iv = { 134, 216, 7, 36, 88, 164, 91, 227, 174, 76, 191, 197, 192, 154, 200, 248 };
//初始化向量iv起到的也是增强破解难度的作用
/// &summary&
/// 初始化 并返回对称加密算法
/// &/summary&
/// &param name="argKey"&&/param&
/// &param name="argSalt"&&/param&
/// &returns&&/returns&
private static SymmetricAlgorithm CreateRijindael(string argKey, byte[] argSalt)
PasswordDeriveBytes pdb = new PasswordDeriveBytes(argKey, argSalt, "SHA256", 1000);
SymmetricAlgorithm sma = Rijndael.Create();
sma.KeySize = 256;
sma.Key = pdb.GetBytes(32);
sma.Padding = PaddingMode.PKCS7;
public static string EncryptString(string argInput, string argKey)
using (MemoryStream memoryStream = new MemoryStream())
using (SymmetricAlgorithm algorithm = CreateRijindael(argKey, salt))
algorithm.IV =
using (CryptoStream cryptoStream = new CryptoStream(memoryStream, algorithm.CreateEncryptor(),
CryptoStreamMode.Write))
byte[] bytes = UTF32Encoding.Default.GetBytes(argInput);
cryptoStream.Write(bytes, 0, bytes.Length);
cryptoStream.Flush();
return Convert.ToBase64String(memoryStream.ToArray());
public static string DecryptString(string argInput, string argKey)
using (MemoryStream inputMemoryStream = new MemoryStream(Convert.FromBase64String(argInput)))
using (SymmetricAlgorithm algorithm = CreateRijindael(argKey, salt))
algorithm.IV =
using (CryptoStream cryptoStream = new CryptoStream(inputMemoryStream, algorithm.CreateDecryptor(),
CryptoStreamMode.Read))
StreamReader sr = new StreamReader(cryptoStream);
return sr.ReadToEnd();
using Susing System.Collections.G using System.Security.Cusing System.Tnamespace LibAlgorithm{
/// &summary&
/// RSA非对稱加密
/// &/summary&
public class RSAProcessor
public static void CreateRSAKey(ref string publicKey, ref string pfxKey)
RSACryptoServiceProvider provider = new RSACryptoServiceProvider();
pfxKey = provider.ToXmlString(true);
publicKey = provider.ToXmlString(false);
public static string RSAEncrypt(string argXmlPublicKey, string argEncryptString)
byte[] btEncryptedSecret = Encoding.UTF8.GetBytes(argEncryptString);
btEncryptedSecret = CRSAWrap.EncryptBuffer(argXmlPublicKey, btEncryptedSecret);
return Convert.ToBase64String(btEncryptedSecret);
public static string RSADecrypt(string xmlPrivateKey, string argDecryptString)
byte[] btDecryptedSecred = Convert.FromBase64String(argDecryptString);
btDecryptedSecred = CRSAWrap.DecryptBuffer(xmlPrivateKey,btDecryptedSecred);
return Encoding.UTF8.GetString(btDecryptedSecred);
class CRSAWrap
public static byte[] EncryptBuffer(string rsaKeyString, byte[] btSecret)
int keySize = 0;
int blockSize = 0;
int counter = 0;
int iterations = 0;
int index = 0;
byte[] btPlaintextT
byte[] btEncryptedT
byte[] btEncryptedS
RSACryptoServiceProvider rsaSender = new RSACryptoServiceProvider();
rsaSender.FromXmlString(rsaKeyString);
keySize = rsaSender.KeySize / 8;
blockSize = keySize - 11;
if ((btSecret.Length % blockSize) != 0)
iterations = btSecret.Length / blockSize + 1;
iterations = btSecret.Length / blockS
btPlaintextToken = new byte[blockSize];
btEncryptedSecret = new byte[iterations * keySize];
for (index = 0, counter = 0; counter & counter++,index += blockSize)
if (counter == (iterations - 1))
int lastblockSize = btSecret.Length % blockS
btPlaintextToken = new byte[lastblockSize];
Array.Copy(btSecret, index, btPlaintextToken, 0, lastblockSize);
Array.Copy(btSecret, index, btPlaintextToken, 0, blockSize);
btEncryptedToken = rsaSender.Encrypt(btPlaintextToken, false);
Array.Copy(btEncryptedToken, 0, btEncryptedSecret, counter * keySize, keySize);
return btEncryptedS
public static byte[] DecryptBuffer(string argRsaKeyString, byte[] btEncryptedSecret)
int keySize = 0;
int blockSize = 0;
int counter = 0;
int iterations = 0;
int index = 0;
int byteCount = 0;
byte[] btPlaintextT
byte[] btEncryptedT
byte[] btDecryptedS
RSACryptoServiceProvider rsaReceiver=new RSACryptoServiceProvider();
rsaReceiver.FromXmlString(argRsaKeyString);
keySize = rsaReceiver.KeySize/8;
blockSize = keySize - 11;
if ((btEncryptedSecret.Length%keySize) != 0)
return null;
iterations = btEncryptedSecret.Length/keyS
btEncryptedToken=new byte[keySize];
Queue&byte[]& tokenQueue=new Queue&byte[]&();
for (index = 0,counter = 0; counter & index += blockSize,counter++)
Array.Copy(btEncryptedSecret,counter*keySize,btEncryptedToken,0,keySize);
btPlaintextToken = rsaReceiver.Decrypt(btEncryptedToken, false);
tokenQueue.Enqueue(btPlaintextToken);
byteCount = 0;
foreach (var plainTextToken in tokenQueue)
byteCount += plainTextToken.L
counter = 0;
btDecryptedSecret=new byte[byteCount];
foreach (var plainTextToken in tokenQueue)
if (counter==(iterations-1))
Array.Copy(plainTextToken,0,btDecryptedSecret,btDecryptedSecret.Length-plainTextToken.Length,plainTextToken.Length);
Array.Copy(plainTextToken,0,btDecryptedSecret,counter*blockSize,blockSize);
counter++;
return btDecryptedSbtnStartServer 在哪里_百度知道
btnStartServer 在哪里
Delphi找不到了
我有更恏的答案
我也找不到啊
其他类似问题
您可能关紸的推广回答者:
等待您来回答
下载知道APP
随时隨地咨询
出门在外也不愁,下载次数:470 次
| 关键字:
HTB.DevFx.BaseFx.dll[149KB]
HTB.DevFx.BaseFx.pdb[471KB]
DotNetConfig
SectionMapping
Cryptography
Attributes
Exceptions
DesignTimeResolveAssemblyReferencesInput.cache[5KB]
HTB.DevFx.BaseFx.dll[149KB]
HTB.DevFx.BaseFx.pdb[471KB]
Properties
Reflection
BaseFx.nuspec.template[493B]
DesignTimeResolveAssemblyReferencesInput.cache[6KB]
Properties
Data.nuspec.template[647B]
HTB.DevFx.BaseFx.dll[149KB]
HTB.DevFx.BaseFx.pdb[471KB]
HTB.DevFx.dll[142KB]
HTB.DevFx.pdb[411KB]
CacheStorages
Exceptions
DesignTimeResolveAssemblyReferencesInput.cache[7KB]
HTB.DevFx.dll[142KB]
HTB.DevFx.pdb[411KB]
ResolveAssemblyReference.cache[7KB]
Properties
Reflection
DevFx.nuspec.template[588B]
Extensions
HTB.DevFx.BaseFx.dll[149KB]
HTB.DevFx.BaseFx.pdb[471KB]
HTB.DevFx.dll[142KB]
HTB.DevFx.Extensions.dll[16KB]
HTB.DevFx.Extensions.pdb[43KB]
HTB.DevFx.pdb[411KB]
DesignTimeResolveAssemblyReferencesInput.cache[6KB]
HTB.DevFx.Extensions.dll[16KB]
HTB.DevFx.Extensions.pdb[43KB]
ResolveAssemblyReference.cache[12KB]
Properties
Extensions.nuspec.template[647B]
ServiceRunner
HTB.DevFx.BaseFx.dll[149KB]
HTB.DevFx.BaseFx.pdb[471KB]
HTB.DevFx.dll[142KB]
HTB.DevFx.Extensions.dll[16KB]
HTB.DevFx.Extensions.pdb[43KB]
HTB.DevFx.pdb[411KB]
ServiceRunner.exe[25KB]
ServiceRunner.pdb[29KB]
ServiceRunner.vshost.exe[11KB]
ServiceRunner.vshost.exe.manifest[490B]
09.log[1KB]
DesignTimeResolveAssemblyReferencesInput.cache[6KB]
GenerateResource-ResGen.read.1.tlog[276B]
GenerateResource-ResGen.write.1.tlog[702B]
HTB.DevFx.ServiceRunners.MainForm.resources[6KB]
HTB.DevFx.ServiceRunners.MainService.resources[180B]
ResolveAssemblyReference.cache[16KB]
ServiceRunner.exe[25KB]
ServiceRunner.pdb[29KB]
Properties
services.ico[2KB]
devfx.snk[596B]
ClassLibrary1
DesignTimeResolveAssemblyReferencesInput.cache[4KB]
Properties
ClassLibrary2
DesignTimeResolveAssemblyReferencesInput.cache[5KB]
Properties
ConsoleApplication1
DesignTimeResolveAssemblyReferencesInput.cache[5KB]
Properties
ConsoleApplication2
DesignTimeResolveAssemblyReferencesInput.cache[5KB]
Properties
ConsoleApplication3
DesignTimeResolveAssemblyReferencesInput.cache[6KB]
Properties
ConsoleApplication4
DesignTimeResolveAssemblyReferencesInput.cache[6KB]
Properties
MvcApplication1
Controllers
Properties
Error.cshtml[196B]
_Layout.cshtml[302B]
_ViewStart.cshtml[53B]
DevFxSolution.sln[32KB]
from.gif[4KB]
package.basefx.bat[462B]
package.data.bat[537B]
package.devfx.bat[503B]
package.extensions.bat[474B]
最新Asp.Net源码下载.url[123B]
当前路径:Misc/ServiceRunner/MainForm.Designer.cs
/* Copyright(c)
, License(LGPL) */
namespace HTB.DevFx.ServiceRunners
partial class MainForm
/// &summary&
/// Required designer variable.
/// &/summary&
ponentModel.IContainer components =
/// &summary&
/// Clean up any resources being used.
/// &/summary&
/// &param name=&disposing&&true if managed resource otherwise, false.&/param&
protected override void Dispose(bool disposing) {
if (disposing && (components != null)) {
components.Dispose();
base.Dispose(disposing);
#region Windows Form Designer generated code
/// &summary&
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// &/summary&
private void InitializeComponent() {
ponents = ponentModel.Container();
ponentResourceManager resources = ponentResourceManager(typeof(MainForm));
this.txtLog = new System.Windows.Forms.TextBox();
this.btnStartServer = new System.Windows.Forms.Button();
this.btnStopServer = new System.Windows.Forms.Button();
this.notifyIcon = new System.Windows.Forms.ponents);
this.checkedListBox = new System.Windows.Forms.CheckedListBox();
this.cbxSelectedAll = new System.Windows.Forms.CheckBox();
this.splitContainer = new System.Windows.Forms.SplitContainer();
this.splitContainer.Panel1.SuspendLayout();
this.splitContainer.Panel2.SuspendLayout();
this.splitContainer.SuspendLayout();
this.SuspendLayout();
this.txtLog.Dock = System.Windows.Forms.DockStyle.F
this.txtLog.Location = new System.Drawing.Point(0, 0);
this.txtLog.Multiline =
this.txtLog.Name = &txtLog&;
this.txtLog.ScrollBars = System.Windows.Forms.ScrollBars.B
this.txtLog.Size = new System.Drawing.Size(504, 407);
this.txtLog.TabIndex = 1;
this.txtLog.WordWrap =
// btnStartServer
this.btnStartServer.Enabled =
this.btnStartServer.Location = new System.Drawing.Point(12, 13);
this.btnStartServer.Name = &btnStartServer&;
this.btnStartServer.Size = new System.Drawing.Size(86, 25);
this.btnStartServer.TabIndex = 2;
this.btnStartServer.Text = &开始&;
this.btnStartServer.UseVisualStyleBackColor =
this.btnStartServer.Click += new System.EventHandler(this.StartServerClick);
// btnStopServer
this.btnStopServer.Enabled =
this.btnStopServer.Location = new System.Drawing.Point(113, 13);
this.btnStopServer.Name = &btnStopServer&;
this.btnStopServer.Size = new System.Drawing.Size(83, 25);
this.btnStopServer.TabIndex = 3;
this.btnStopServer.Text = &停止&;
this.btnStopServer.UseVisualStyleBackColor =
this.btnStopServer.Click += new System.EventHandler(this.StopServerClick);
// notifyIcon
this.notifyIcon.BalloonTipIcon = System.Windows.;
this.notifyIcon.BalloonTipText = &服务运行程序&;
this.notifyIcon.BalloonTipTitle = &服务运行提示&;
this.notifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject(&notifyIcon.Icon&)));
this.notifyIcon.Text = &服务运行&;
this.notifyIcon.Visible =
this.notifyIcon.Click += new System.EventHandler(this.NotifyIconDoubleClick);
this.notifyIcon.DoubleClick += new System.EventHandler(this.NotifyIconDoubleClick);
this.notifyIcon.MouseClick += new System.Windows.Forms.MouseEventHandler(this.NotifyIconMouseClick);
// checkedListBox
this.checkedListBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.checkedListBox.FormattingEnabled =
this.checkedListBox.HorizontalScrollbar =
this.checkedListBox.Location = new System.Drawing.Point(12, 68);
this.checkedListBox.Name = &checkedListBox&;
this.checkedListBox.Size = new System.Drawing.Size(184, 319);
this.checkedListBox.TabIndex = 4;
// cbxSelectedAll
this.cbxSelectedAll.AutoSize =
this.cbxSelectedAll.Location = new System.Drawing.Point(12, 44);
this.cbxSelectedAll.Name = &cbxSelectedAll&;
this.cbxSelectedAll.Size = new System.Drawing.Size(50, 17);
this.cbxSelectedAll.TabIndex = 5;
this.cbxSelectedAll.Text = &全选&;
this.cbxSelectedAll.UseVisualStyleBackColor =
this.cbxSelectedAll.CheckedChanged += new System.EventHandler(this.SelectedAllCheckedChanged);
// splitContainer
this.splitContainer.Dock = System.Windows.Forms.DockStyle.F
this.splitContainer.Location = new System.Drawing.Point(0, 0);
this.splitContainer.Name = &splitContainer&;
// splitContainer.Panel1
this.splitContainer.Panel1.AutoScroll =
this.splitContainer.Panel1.Controls.Add(this.btnStartServer);
this.splitContainer.Panel1.Controls.Add(this.checkedListBox);
this.splitContainer.Panel1.Controls.Add(this.cbxSelectedAll);
this.splitContainer.Panel1.Controls.Add(this.btnStopServer);
// splitContainer.Panel2
this.splitContainer.Panel2.Controls.Add(this.txtLog);
this.splitContainer.Size = new System.Drawing.Size(710, 407);
this.splitContainer.SplitterDistance = 202;
this.splitContainer.TabIndex = 6;
// MainForm
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.F
this.ClientSize = new System.Drawing.Size(710, 407);
this.Controls.Add(this.splitContainer);
this.Icon = ((System.Drawing.Icon)(resources.GetObject(&$this.Icon&)));
this.Name = &MainForm&;
this.Text = &服务运行&;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
this.Load += new System.EventHandler(this.MainForm_Load);
this.Resize += new System.EventHandler(this.MainForm_Resize);
this.splitContainer.Panel1.ResumeLayout(false);
this.splitContainer.Panel1.PerformLayout();
this.splitContainer.Panel2.ResumeLayout(false);
this.splitContainer.Panel2.PerformLayout();
this.splitContainer.ResumeLayout(false);
this.ResumeLayout(false);
#endregion
private System.Windows.Forms.TextBox txtL
private System.Windows.Forms.Button btnStartS
private System.Windows.Forms.Button btnStopS
private System.Windows.Forms.NotifyIcon notifyI
private System.Windows.Forms.CheckedListBox checkedListB
private System.Windows.Forms.CheckBox cbxSelectedA
private System.Windows.Forms.SplitContainer splitC

我要回帖

更多关于 幸福在哪里 的文章

 

随机推荐