Symbol Mc1000 快捷鍵 的 設置 事件 開發

?switch (e.KeyCode)
???{
?????///數據
????case Keys.F1://清除數據
????
?????if(File.Exists("Storage Card/CG.sdf"))
?????{
??????Mc.gConn.Close();
??????Mc.gConn.Dispose();
??????File.Delete("Storage Card/CG.sdf");
?????????
?????}
?????MessageBox.Show("全部數據清除成功,請重新啟動本程序!");
?????this.Close();
?????break;
????????case Keys.F2://導入數據
?????????????????????? ChangeTextToDb();
???????this.RecNum.Text="0";
?????????this.lbGczs.Text=Mc.InallGc();
????????this.lbGczs.Refresh();
??????this.lbGcZzs.Text=Mc.InallGcZs();
?????this.lbGcZzs.Refresh();
?????????break;
????case Keys.F3://導出數據
?????ChangeDbToText();
?????this.RecNum.Text="0";
?????break;
????case Keys.F4://清除預定庫
?????SqlCeCommand DelYdk=Mc.gConn.CreateCommand();
?????DelYdk.CommandText="Delete from Ydk";
?????DelYdk.ExecuteNonQuery();?
?????this.lbYdzs.Text = Mc.InallYd();
?????this.lbGcZzs.Text=Mc.InallYdZs();
?????this.lbGcZzs.Refresh();
?????this.lbYdzs.Refresh();
?????MessageBox.Show("預定庫清除成功");
?????break;
?????///數據
????case Keys.Right:
?????this.CaiGou.Visible = true;
?????this.ShuShangSheZhi.Visible = false;
?????this.TongJi.Visible = false;
?????break;
????case Keys.Down:
?????this.ShuShang.Focus();
?????this.CaiGou.Visible = false;
?????this.ShuShangSheZhi.Visible = true;
?????this.TongJi.Visible = false;
?????break;
????case Keys.Up:
?????//?????this.lbGczs.Text = Mc.InallGc();
?????this.lbYdzs.Text = Mc.InallYd();
?????this.lbGcZzs.Text=Mc.InallGcZs();
?????this.lbYdZzs.Text=Mc.InallYdZs();

?????this.CaiGou.Visible = false;
?????this.ShuShangSheZhi.Visible = false;
?????this.TongJi.Visible = true;
?????break;
????case Keys.Left:
?????if (this.CaiGou.Visible == false && this.ShuShangSheZhi.Visible == false && this.TongJi.Visible == false)
?????{
??????this.Close();
??????this.Dispose();
?????}
?????else
?????{
??????this.CaiGou.Visible = false;
??????this.ShuShangSheZhi.Visible = false;
??????this.TongJi.Visible = false;
?????}
?????break;
???}

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/389331.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/389331.shtml
英文地址,請注明出處:http://en.pswp.cn/news/389331.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

pandas合并concatmerge和plot畫圖

3.6,3.7pandas合并concat&merge 頭文件: import pandas as pd import numpy as npconcat基礎合并用法 df1 pd.DataFrame(np.ones((3,4))*0,columns [a,b,c,d]) df2 pd.DataFrame(np.ones((3,4))*1,columns [a,b,c,d]) df3 pd.DataFrame(np.ones…

Android跳轉WIFI界面的四種方式

第一種 Intent intent new Intent(); intent.setAction("android.net.wifi.PICK_WIFI_NETWORK"); startActivity(intent); 第二種 startActivity(new Intent(android.provider.Settings.ACTION_WIFI_SETTINGS)); 第三種 Intent i new Intent(); if(android.os.Buil…

PS摳發絲技巧 「選擇并遮住…」

PS摳發絲技巧 「選擇并遮住…」 現在的海報設計,大多數都有模特MM,然而MM的頭發實用太多了,有的還飄起來…… 對于設計師(特別是淘寶美工)沒有一個強大、快速、實用的摳發絲技巧真的混不去哦。而PS CC 2017版本開始,就有了一個強大…

covid 19如何重塑美國科技公司的工作文化

未來 , 技術 , 觀點 (Future, Technology, Opinion) Who would have thought that a single virus would take down the whole world and make us stay inside our homes? A pandemic wave that has altered our lives in such a way that no human (bi…

Symbol Mc1000 Text文本閱讀器整體代碼

using System; using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Collections;using System.IO;namespace text{ /// <summary> /// Form1 的摘要說明。 /// </summary> public c…

python生日悖論分析_生日悖論

python生日悖論分析If you have a group of people in a room, how many do you need to for it to be more likely than not, that two or more will have the same birthday?如果您在一個房間里有一群人&#xff0c;那么您需要多少個才能使兩個或兩個以上的人有相同的生日&a…

統計0-n數字中出現k的次數

/*** 統計0-n數字中出現k的次數&#xff0c;其中k范圍為0-9 */ public static int countOne(int k, int n) {if (k > n) {return 0;}int sum 0;int right 0;for (int i 0; n > 0; i) {int last n % 10;sum last * i * (int) Math.pow(10, i - 1);if (k 0) {sum - (…

房價預測 search Search 中對數據預處理的學習

對于缺失的數據&#xff1a; 我們對連續數值的特征做標準化&#xff08;standardization&#xff09;&#xff1a;設該特征在整個數據集上的均值為 μ &#xff0c;標準差為 σ 。那么&#xff0c;我們可以將該特征的每個值先減去 μ 再除以 σ 得到標準化后的每個特征值。對于…

3.6.1.非阻塞IO

本節講解什么是非阻塞IO&#xff0c;如何將文件描述符修改為非阻塞式 3.6.1.1、阻塞與非阻塞 &#xff08;1&#xff09;阻塞是指函數調用會被阻塞。本質是當前進程調用了函數&#xff0c;進入內核里面去后&#xff0c;因為當前進程的執行條件不滿足&#xff0c;內核無法里面完…

rstudio 管道符號_R中的管道指南

rstudio 管道符號R基礎知識 (R Fundamentals) Data analysis often involves many steps. A typical journey from raw data to results might involve filtering cases, transforming values, summarising data, and then running a statistical test. But how can we link al…

蒙特卡洛模擬預測股票_使用蒙特卡洛模擬來預測極端天氣事件

蒙特卡洛模擬預測股票In a previous article, I outlined the limitations of conventional time series models such as ARIMA when it comes to forecasting extreme temperature values, which in and of themselves are outliers in the time series.在上一篇文章中 &#…

iOS之UITraitCollection

UITraitCollection 為表征 size class 而生&#xff0c;用來區分設備。你可以在它身上獲取到足以區分所有設備的特征。 UITraitEnvironment 協議、UIContentContainer 協議 UIViewController 遵循了這兩個協議&#xff0c;用來監聽和設置 traitCollection 的變化。 protocol UI…

直方圖繪制與直方圖均衡化實現

一&#xff0c;直方圖的繪制 1.直方圖的概念&#xff1a; 在圖像處理中&#xff0c;經常用到直方圖&#xff0c;如顏色直方圖、灰度直方圖等。 圖像的灰度直方圖就描述了圖像中灰度分布情況&#xff0c;能夠很直觀的展示出圖像中各個灰度級所 占的多少。 圖像的灰度直方圖是灰…

eclipse警告與報錯的修復

1.關閉所有eclipse校驗 windows->perference->validation disable all 2.Access restriction: The constructor BASE64Decoder() is not API (restriction on required library C:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar) 在builde path 移除jre&#xff0c;再…

時間序列因果關系_分析具有因果關系的時間序列干預:貨幣波動

時間序列因果關系When examining a time series, it is quite common to have an intervention influence that series at a particular point.在檢查時間序列時&#xff0c;在特定時間點對該序列產生干預影響是很常見的。 Some examples of this could be:例如&#xff1a; …

微生物 研究_微生物監測如何工作,為何如此重要

微生物 研究Background背景 While a New York Subway station is bustling with swarms of businessmen, students, artists, and millions of other city-goers every day, its floors, railings, stairways, toilets, walls, kiosks, and benches are teeming with non-huma…

Linux shell 腳本SDK 打包實踐, 收集assets和apk, 上傳FTP

2019獨角獸企業重金招聘Python工程師標準>>> git config user.name "jenkins" git config user.email "jenkinsgerrit.XXX.net" cp $JENKINS_HOME/maven.properties $WORKSPACE cp $JENKINS_HOME/maven.properties $WORKSPACE/app cp $JENKINS_…

opencv:卷積涉及的基礎概念,Sobel邊緣檢測代碼實現及卷積填充模式

具體參考我的另一篇文章&#xff1a; opencv:卷積涉及的基礎概念&#xff0c;Sobel邊緣檢測代碼實現及Same&#xff08;相同&#xff09;填充與Vaild&#xff08;有效&#xff09;填充 這里是對這一篇文章的補充&#xff01; 卷積—三種填充模式 橙色部分為image, 藍色部分為…

怎么查這個文件在linux下的哪個目錄

因為要裝pl/sql所以要查找tnsnames.ora文件。。看看怎么查這個文件在linux下的哪個目錄 find / -name tnsnames.ora 查到&#xff1a; /opt/app/oracle/product/10.2/network/admin/tnsnames.ora/opt/app/oracle/product/10.2/network/admin/samples/tnsnames.ora 還可以用loca…