1 Star 3 Fork 0

齐博文/SuperTextToolBox

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
frmMain.cs 3.18 KB
一键复制 编辑 原始数据 按行查看 历史
齐博文 提交于 2024-02-15 21:57 . Add files via upload
using System;
using System.Diagnostics;
using Sunny.UI;
using System.Windows.Forms;
namespace SuperWenZiToolBox
{
public partial class frmMain : UIForm
{
public frmMain()
{
InitializeComponent();
}
private void button3_Click(object sender, EventArgs e)
{
frmAbout fabout = new frmAbout();
fabout.Show();
}
private void button2_Click(object sender, EventArgs e)
{
frmTexttoWave ftexttoWave = new frmTexttoWave();
ftexttoWave.Show();
}
private void frmMain_Load(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
}
private void button4_Click(object sender, EventArgs e)
{
frmTranslate ftranslate = new frmTranslate();
ftranslate.Show();
}
private void button4_KeyPress(object sender, KeyPressEventArgs e)
{
}
private void button1_Click_2(object sender, EventArgs e)
{
frmPinyin fpinyin = new frmPinyin();
fpinyin.Show();
}
private void button5_Click(object sender, EventArgs e)
{
frmFenci fFenci = new frmFenci();
fFenci.Show();
}
private void button6_Click(object sender, EventArgs e)
{
try
{
Process.Start("OCR.exe");
}
catch(Exception f)
{
MessageBox.Show(f.Message);
}
}
private void button7_Click(object sender, EventArgs e) => Process.Start("WordCloudApp.exe");
private void button8_Click(object sender, EventArgs e)
{
frmCyjl cyjl = new frmCyjl();
cyjl.Show();
}
private void button9_Click(object sender, EventArgs e)
{
frmSet set = new frmSet();
set.Show();
}
private void frmMain_FormClosing(object sender, FormClosingEventArgs e)
{
if (Properties.Settings.Default.AutoIcon == true)
{
e.Cancel = true;
Hide();
}
}
private void frmMain_SizeChanged(object sender, EventArgs e)
{
}
private void frmMain_FormClosed(object sender, FormClosedEventArgs e)
{
}
private void 退出ToolStripMenuItem_Click(object sender, EventArgs e) => Process.GetCurrentProcess().Kill();
private void notifyIcon1_MouseClick(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
Show();
WindowState = FormWindowState.Normal;
}
}
private void uiButton4_Click(object sender, EventArgs e)
{
frmLangrecognize frmLangrecognize = new frmLangrecognize();
frmLangrecognize.Show();
}
private void uiButton5_Click(object sender, EventArgs e)
{
Process.Start(Application .StartupPath +"\\help.chm");
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/Qibowen2008/SuperTextToolBox.git
[email protected]:Qibowen2008/SuperTextToolBox.git
Qibowen2008
SuperTextToolBox
SuperTextToolBox
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385