/*******************************************************************************
* Name:MineFrame
* File: MineFrame.cs
* Description: 此类用于仓库管理系统主界面的操作管理
* Author: XXX
* DateTime: 2008年6月17日
*******************************************************************************/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace 仓库管理系统
{
public partial class MineFrame : Form
{
public MineFrame()
{
InitializeComponent();
string str = Application.StartupPath.Replace("bin\\Debug", "ssk\\MacOS.ssk");
this.skinEngine1.SkinFile = str;
}
///
/// 显示picboxInput控件
///
/// 加载事件
/// 事件基类名
private void Form1_Load(object sender, EventArgs e)
{
picboxInput.Visible = true;
pnlInputBales.Show();
pnlInputBales.Height = 276;
pnlInputBales.Width = 536;
pnlInputBales_.Show();
}
///
/// 点击图片显示系统设置界面
///
/// 鼠标点击事件
/// 事件基类名
private void picboxSetUp__MouseClick(object sender, MouseEventArgs e)
{
picboxSetUp.Visible = true;
picboxInput.Visible = false;
picboxDay.Visible = false;
picboxTable.Visible = false;
picboxStock.Visible = false;
picboxOutput.Visible = false;
pnlSystemSetup.Visible = true;
pnlSystemSetup.Height = 273;
pnlSystemSetup.Width = 521;
pnlInputBales.Visible = false;
pnlOutputBales.Visible = false;
pnlStockBales.Visible = false;
pnlSumTable.Visible = false;
pnlDayNow.Visible = false;
pnlInputBales_.Visible = false;
pnlOutputBales_.Visible = false;
pnlStockBales_.Visible = false;
}
///
/// 点击图片显示日常管理界面
///
/// 鼠标点击事件
/// 事件基类名
private void picboxDay__MouseClick(object sender, MouseEventArgs e)
{
picboxDay.Visible = true;
picboxSetUp.Visible =false;
picboxInput.Visible = false;
picboxTable.Visible = false;
picboxStock.Visible = false;
picboxOutput.Visible = false;
pnlDayNow.Visible = true;
pnlDayNow.Height = 273;
pnlDayNow.Width = 521;
pnlInputBales.Visible = false;
pnlOutputBales.Visible = false;
pnlStockBales.Visible = false;
pnlSumTable.Visible = false;
pnlSystemSetup.Visible = false;
pnlInputBales_.Visible = false;
pnlOutputBales_.Visible = false;
pnlStockBales_.Visible = false;
}
///
/// 点击图片显示统计报表界面
///
/// 鼠标点击事件
/// 事件基类名
private void picboxTable__MouseClick(object sender, MouseEventArgs e)
{
picboxTable.Visible = true;
picboxSetUp.Visible = false;
picboxInput.Visible = false;
picboxDay.Visible = false;
picboxStock.Visible = false;
picboxOutput.Visible = false;
pnlSumTable.Visible = true;
pnlSumTable.Width = 630;
pnlSumTable.Height = 380;
pnlInputBales.Visible = false;
pnlOutputBales.Visible = false;
pnlStockBales.Visible = false;
pnlDayNow.Visible = false;
pnlSystemSetup.Visible = false;
pnlInputBales_.Visible = false;
pnlOutputBales_.Visible = false;
pnlStockBales_.Visible = false;
}
///
/// 点击图片显示库存管理界面
///
/// 鼠标点击事件
/// 事件基类名
private void picboxStock__MouseClick(object sender, MouseEventArgs e)
{
picboxStock.Visible = true;
picboxSetUp.Visible = false;
picboxInput.Visible = false;
picboxDay.Visible = false;
picboxTable.Visible = false;
picboxOutput.Visible = false;
pnlStockBales.Visible = true;
pnlStockBales.Height = 273;
pnlStockBales.Width = 521;
pnlInputBales.Visible = false;
pnlOutputBales.Visible = false;
pnlSumTable.Visible = false;
pnlDayNow.Visible = false;
pnlSystemSetup.Visible = false;
pnlInputBales_.Visible = false;
pnlOutputBales_.Visible = false;
pnlStockBales_.Visible = true;
pnlStockBales_.Left = 150;
pnlStockBales_.Top = this.Height - 150;
}
///
/// 点击图片显示销售管理界面
///
/// 鼠标点击事件
/// 事件基类名
private void picboxOutput__MouseClick(object sender, MouseEventArgs e)
{
picboxOutput.Visible = true;
picboxSetUp.Visible = false;
picboxInput.Visible = false;
picboxDay.Visible = false;
picboxTable.Visible = false;
picboxStock.Visible = false;
pnlOutputBales.Visible = true;
pnlOutputBales.Height = 273;
pnlOutputBales.Width = 521;
pnlInputBales.Visible = false;
pnlStockBales.Visible = false;
pnlSumTable.Visible = false;
pnlDayNow.Visible = false;
pnlSystemSetup.Visible = false;
pnlSumTable.Visible = false;
pnlDayNow.Visible = false;
pnlSystemSetup.Visible = false;
pnlInputBales_.Visible = false;
pnlOutputBales_.Visible = true;
pnlStockBales_.Visible = false;
pnlOutputBales_.Left = 150;
pnlOutputBales_.Top = this.Height - 150;
}
///
/// 点击图片显示进货管理界面
///
/// 鼠标点击事件
/// 事件基类名
private void picboxInput__MouseClick(object sender, MouseEventArgs e)
{
picboxInput.Visible = true;
picboxSetUp.Visible = false;
picboxDay.Visible = false;
picboxTable.Visible = false;
picboxStock.Visible = false;
picboxOutput.Visible = false;
pnlInputBales.Visible = true;
pnlInputBales.Height = 273;
pnlInputBales.Width = 521;
pnlOutputBales.Visible = false;
pnlStockBales.Visible = false;
pnlSumTable.Visible = false;
pnlDayNow.Visible = false;
pnlSystemSetup.Visible = false;
pnlInputBales_.Visible = true;
pnlOutputBales_.Visible = false;
pnlStockBales_.Visible = false;
pnlInputBales_.Left = 150;
pnlInputBales_.Top = this.Height - 150;
}
///
/// 给 lblDateTimeNow赋值
///
/// 经过指定的时间间隔时发生
/// 事件基类名
private void timer1_Tick(object sender, EventArgs e)
{
lblDateTimeNow.Text = System.DateTime.Now.ToString();
}
///
/// 设置加载时控件的大小
///
/// 鼠标指针移过控件时发生
/// 事件基类名
private void picboxMenuChangeUse_MouseMove(object sender, MouseEventArgs e)
{
picboxMenuChangeUse.Top = 11;
picboxMenuChangeUse.Left = 39;
}
///
/// 设置加载时控件的大小
///
/// 鼠标指针离开控件时发生
/// 事件基类名
private void picboxMenuChangeUse_MouseLeave(object sender, EventArgs e)
{
picboxMenuChangeUse.Top = 13;
picboxMenuChangeUse.Left = 42;
}
///
/// 设置加载控件的大小
///
/// 调整控件大小时发生
/// 事件基类名
private void Form1_Resize(object sender, EventArgs e)
{
pnlMenu.Width = this.Width;
pnlBgColor.Width = this.Width;
pnlBgColor.Height = this.Height;
picboxRightBg.Top = pnlMenu.Height;
picboxRightBg.Width = this.Width - picboxLeftBgTop.Width;
picboxRightBg.Height = this.Height - pnlMenu.Height-54;
picboxLeftBg_.Top = 150;
picboxLeftBg_.Left = 0;
picboxLeftBg_.Height = this.Height - 150-54;
// picboxLeftBg_.Height= this.Height - (pnlMenu.Height + picboxLeftBgTop.Height + 6 * (picboxOutput.Height)+picboxLeftBg_.Height
//picboxLeftBg__.Height = this.Height - (pnlSystemInfo.Height + pnlMenu.Height + picboxLeftBgTop.Height + 5 * (picboxOutput.Height) + picboxOutput_.Height + picboxLeftBg_.Height) -6;
//picboxLeftBg__.Top = pnlMenu.Height + picboxLeftBgTop.Height + 6 * (picboxOutput.Height) + picboxLeftBg_.Height ;
//int k = picboxLeftBg__.Top;
//int f = picboxLeftBg__.Height;
pnlSystemInfo.Top = this.Height - 54-10;
pnlSystemInfo.Left = 1;
pnlSystemInfo.Width = this.Width-2;
pnlSystemInfo.Height = 24;
pnlInputBales_.Width = this.Width - 200;
pnlInputBales_.Left = 150;
pnlInputBales_.Top = this.Height - 150;
pnlOutputBales_.Width = this.Width - 200;
pnlOutputBales_.Left = 150;
pnlOutputBales_.Top = this.Height - 150;
pnlStockBales_.Width = this.Width - 200;
pnlStockBales_.Left = 150;
pnlStockBales_.Top = this.Height - 150;
}
///
/// 设置加载时控件的大小
///
/// 鼠标指针移过控件时发生
/// 事件基类名
private void picboxMenuSelect_MouseMove(object sender, MouseEventArgs e)
{
picboxMenuSelect.Top = 11;
picboxMenuSelect.Left =125;
}
///
/// 设置加载时控件的大小
///
/// 鼠标指针离开控件时发生
/// 事件基类名
private void picboxMenuSelect_MouseLeave(object sender, EventArgs e)
{
picboxMenuSelect.Top = 13;
picboxMenuSelect.Left = 127;
}
///
/// 设置加载时控件的大小
///
/// 鼠标点击时发生
/// 事件基类名
private void picboxMenuSelect_MouseClick(object sender, MouseEventArgs e)
{
picboxMenuSelect.Top = 13;
picboxMenuSelect.Left = 127;
}
///
/// 设置加载时控件的大小
///
/// 鼠标点击时发生
/// 事件基类名
private void picboxMenuChangeUse_MouseClick(object sender, MouseEventArgs e)
{
picboxMenuChangeUse.Top = 13;
picboxMenuChangeUse.Left = 42;
UseLigon use = new UseLigon();
use.ShowDialog();
}
///
/// 弹出登陆窗口
///
/// 单击事件
/// 事件基类名
private void picboxMenuChangeUse_Click(object sender, EventArgs e)
{
picboxMenuChangeUse.Top = 13;
picboxMenuChangeUse.Left = 42;
}
///
/// 设置加载时控件的大小
///
/// 鼠标指针移过控件时发生
/// 事件基类名
private void picboxMenuOutput_MouseMove(object sender, MouseEventArgs e)
{
picboxMenuOutput.Top = 11;
picboxMenuOutput.Left = 209;
}
///
/// 设置加载时控件的大小
///
/// 鼠标指针离开控件时发生
/// 事件基类名
private void picboxMenuOutput_MouseLeave(object sender, EventArgs e)
{
picboxMenuOutput.Top = 13;
picboxMenuOutput.Left = 211;
}
///
/// 设置加载时控件的大小
///
/// 鼠标指针移过控件时发生
/// 事件基类名
private void picboxMenuSoftHelp_MouseMove(object sender, MouseEventArgs e)
{
picboxMenuSoftHelp.Top = 11;
picboxMenuSoftHelp.Left = 294;
}
///
/// 设置加载时控件的大小
///
/// 鼠标指针离开控件时发生
/// 事件基类名
private void picboxMenuSoftHelp_MouseLeave(object sender, EventArgs e)
{
picboxMenuSoftHelp.Top = 13;
picboxMenuSoftHelp.Left = 296;
}
///
/// 设置加载时控件的大小
///
/// 鼠标指针离开控件时发生
/// 事件基类名
private void picboxMenuExit_MouseLeave(object sender, EventArgs e)
{
picboxMenuExit.Top = 13;
picboxMenuExit.Left = 381;
}
///
/// 设置加载时控件的大小
///
/// 鼠标指针移过控件时发生
/// 事件基类名
private void picboxMenuExit_MouseMove(object sender, MouseEventArgs e)
{
picboxMenuExit.Top = 11;
picboxMenuExit.Left = 379;
}
///
/// 显示infoBales窗体
///
/// 点击事件
/// 事件基类名
private void pictureBox51_Click(object sender, EventArgs e)
{
infoBales info = new infoBales();
info.ShowDialog();
}
///
/// 显示informationClient窗体
///
/// 点击事件
/// 事件基类名
private void pictureBox50_Click(object sender, EventArgs e)
{
informationClient inform = new informationClient();
inform.ShowDialog();
}
///
/// 显示setUpStock 窗体
///
/// 点击事件
/// 事件基类名
private void pictureBox49_Click(object sender, EventArgs e)
{
setUpStock set = new setUpStock();
set.ShowDialog();
}
///
/// 显示informationOperation窗体
///
/// 点击事件
/// 事件基类名
private void pictureBox48_Click(object sender, EventArgs e)
{
informationOperation informti = new informationOperation();
informti.ShowDialog();
}
///
/// 显示infoBales窗体
///
/// 点击事件
/// 事件基类名
private void pictureBox55_Click(object sender, EventArgs e)
{
infoBales info = new infoBales();
info.ShowDialog();
}
///
/// 显示setUpStock窗体
///
/// 点击事件
/// 事件基类名
private void pictureBox53_Click(object sender, EventArgs e)
{
setUpStock set = new setUpStock();
set.ShowDialog();
}
///
/// 显示costStockStat窗体
///
/// 点击事件
/// 事件基类名
private void pictureBox52_Click(object sender, EventArgs e)
{
costStockStat costst = new costStockStat();
costst.ShowDialog();
}
///
/// 显示infoBales窗体
///
/// 点击事件
/// 事件基类名
private void pictureBox44_Click(object sender, EventArgs e)
{
infoBales info = new infoBales();
info.ShowDialog();
}
///
/// 显示informationSupply窗体
///
/// 点击事件
/// 事件基类名
private void pictureBox45_Click(object sender, EventArgs e)
{
informationSupply infor = new informationSupply();
infor.ShowDialog();
}
///
/// 显示setUpStock窗体
///
/// 点击事件
/// 事件基类名
private void pictureBox46_Click(object sender, EventArgs e)
{
setUpStock set = new setUpStock();
set.ShowDialog();
}
///
/// 显示informationOperation窗体
///
/// 点击事件
/// 事件基类名
private void pictureBox47_Click(object sender, EventArgs e)
{
informationOperation informt = new informationOperation();
informt.ShowDialog();
}
///
/// 显示Stockdialwindow窗体
///
/// 点击事件
/// 事件基类名
private void picboxStockdialwindow_Click(object sender, EventArgs e)
{
Stockdialwindow sto = new Stockdialwindow();
sto.ShowDialog();
}
///
/// 显示stockPrompt窗体
///
/// 点击事件
/// 事件基类名
private void picboxstockPrompt_Click(object sender, EventArgs e)
{
stockPrompt stoc = new stockPrompt();
stoc.ShowDialog();
}
///
/// 显示stockWarechangeselect窗体
///
/// 点击事件
/// 事件基类名
private void picboxstockWarechangeselect_Click(object sender, EventArgs e)
{
stockWarechangeselect stock = new stockWarechangeselect();
stock.ShowDialog();
}
///
/// 显示Warelosespill窗体
///
/// 点击事件
/// 事件基类名
private void picboxWarelosespill_Click(object sender, EventArgs e)
{
MessageBox.Show("本窗体正在建设中!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
//Warelosespill ware = new Warelosespill();
//ware.ShowDialog();
}
///
/// 显示InputBales窗体
///
/// 点击事件
/// 事件基类名
private void picboxInputBales_Click(object sender, EventArgs e)
{
InputBales inp = new InputBales();
inp.ShowDialog();
}
///
/// 显示 returnBalesInput窗体
///
/// 点击事件
/// 事件基类名
private void picboxreturnBalesInput_Click(object sender, EventArgs e)
{
returnBalesInput ret = new returnBalesInput();
ret.ShowDialog();
}
///
/// 显示comeGoAccountSupply窗体
///
/// 点击事件
/// 事件基类名
private void picbreturnBalesInputox_Click(object sender, EventArgs e)
{
comeGoAccountSupply retu = new comeGoAccountSupply();
retu.ShowDialog();
}
///
/// 显示selectBillsInput窗体
///
/// 点击事件
/// 事件基类名
private void picboxselectBillsInput_Click(object sender, EventArgs e)
{
selectBillsInput sel = new selectBillsInput();
sel.ShowDialog();
}
///
/// 显示selectStockNow窗体
///
/// 点击事件
/// 事件基类名
private void picboxselectStockNow_Click(object sender, EventArgs e)
{
selectStockNow sele = new selectStockNow();
sele.Show();
}
///
/// 显示sellBales 窗体
///
/// 点击事件
/// 事件基类名
private void picboxsellBales_Click(object sender, EventArgs e)
{
sellBales sell = new sellBales();
sell.ShowDialog();
}
///
/// 显示returnBalesOutput窗体
///
/// 点击事件
/// 事件基类名
private void picboxreturnBalesOutput_Click(object sender, EventArgs e)
{
returnBalesOutput retur = new returnBalesOutput();
retur.ShowDialog();
}
///
/// 显示comeGoAccountClient窗体
///
/// 点击事件
/// 事件基类名
private void picboxcomeGoAccountClient_Click(object sender, EventArgs e)
{
comeGoAccountClient come = new comeGoAccountClient();
come.ShowDialog();
}
///
/// 显示selectBillsOutput窗体
///
/// 点击事件
/// 事件基类名
private void picboxselectBillsOutput_Click(object sender, EventArgs e)
{
selectBillsOutput selec = new selectBillsOutput();
selec.ShowDialog();
}
///
/// 显示selectStockNow窗体
///
/// 点击事件
/// 事件基类名
private void picboxsselectStockNow_Click(object sender, EventArgs e)
{
selectStockNow sel = new selectStockNow();
sel.ShowDialog();
}
///
/// 显示selectStockNow窗体
///
/// 点击事件
/// 事件基类名
private void picboxs_selectStockNow_Click(object sender, EventArgs e)
{
selectStockNow select = new selectStockNow();
select.ShowDialog();
}
///
/// 显示selectStockNow窗体
///
/// 点击事件
/// 事件基类名
private void pictselectStockNow_Click(object sender, EventArgs e)
{
selectStockNow select = new selectStockNow();
select.ShowDialog();
}
///
/// 显示adminSupply窗体
///
/// 点击事件
/// 事件基类名
private void picboxadminSupply_Click(object sender, EventArgs e)
{
adminSupply adm = new adminSupply();
adm.ShowDialog();
}
///
/// 显示PopedomSetup窗体
///
/// 点击事件
/// 事件基类名
private void picboxPopedomSetup_Click(object sender, EventArgs e)
{
PopedomSetup poped = new PopedomSetup();
poped.ShowDialog();
}
///
/// 显示adminOperation窗体
///
/// 点击事件
/// 事件基类名
private void picboxadminOperation_Click(object sender, EventArgs e)
{
adminOperation admin = new adminOperation();
admin.ShowDialog();
}
///
/// 显示adminClient窗体
///
/// 点击事件
/// 事件基类名
private void picboxadminClient_Click(object sender, EventArgs e)
{
adminClient admi = new adminClient();
admi.ShowDialog();
}
///
/// 系统提示
///
/// 点击事件
/// 事件基类名
private void picbox_kehujihuo_Click(object sender, EventArgs e)
{
MessageBox.Show("本窗体正在建设中!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
///
/// 系统提示
///
/// 点击事件
/// 事件基类名
private void picbox_baojiaguanli_Click(object sender, EventArgs e)
{
MessageBox.Show("本窗体正在建设中!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
///
/// 显示infoBales窗体
///
/// 点击事件
/// 事件基类名
private void picboxinformationBales_Click(object sender, EventArgs e)
{
infoBales info = new infoBales();
info.ShowDialog();
}
///
/// 显示setUpStock 窗体
///
/// 点击事件
/// 事件基类名
private void picboxsetUpStock_Click(object sender, EventArgs e)
{
setUpStock set = new setUpStock();
set.ShowDialog();
}
///
/// 显示informationSupply窗体
///
/// 点击事件
/// 事件基类名
private void picboxinformationSupply_Click(object sender, EventArgs e)
{
informationSupply inf = new informationSupply();
inf.ShowDialog();
}
///
/// 显示informationClient窗体
///
/// 点击事件
/// 事件基类名
private void picboxinformationClient_Click(object sender, EventArgs e)
{
informationClient infor = new informationClient();
infor.ShowDialog();
}
///
/// 系统提示
///
/// 点击事件
/// 事件基类名
private void picbox_caozuoyuan_Click(object sender, EventArgs e)
{
system_maintenannce sys = new system_maintenannce();
sys.ShowDialog();
}
///
/// 显示informationOperation窗体
///
/// 点击事件
/// 事件基类名
private void picboxinformationOperation_Click(object sender, EventArgs e)
{
informationOperation inform = new informationOperation();
inform.ShowDialog();
}
///
/// 显示setUpSystem窗体
///
/// 点击事件
/// 事件基类名
private void picboxsetUpSystem_Click(object sender, EventArgs e)
{
setUpSystem setup = new setUpSystem();
setup.Show();
}
///
/// 系统提示
///
/// 点击事件
/// 事件基类名
private void picbox_xitongweihu_Click(object sender, EventArgs e)
{
MessageBox.Show("本窗体正在建设中!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
///
/// 显示costStockStat窗体
///
/// 点击事件
/// 事件基类名
private void picboxcostStockStat_Click(object sender, EventArgs e)
{
costStockStat co = new costStockStat();
co.ShowDialog();
}
///
/// 显示costSupply 窗体
///
/// 点击事件
/// 事件基类名
private void picboxcostSupply_Click(object sender, EventArgs e)
{
costClientOutput costc = new costClientOutput();
costc.ShowDialog();
}
///
/// 显示 costBalesInput窗体
///
/// 点击事件
/// 事件基类名
private void picboxcostBalesInput_Click(object sender, EventArgs e)
{
costBalesInput cost = new costBalesInput();
cost.ShowDialog();
}
///
/// 显示costOperationInput窗体
///
/// 点击事件
/// 事件基类名
private void picboxcostOperationInput_Click(object sender, EventArgs e)
{
costOperationInput costop = new costOperationInput();
costop.ShowDialog();
}
///
/// 显示costClientOutput窗体
///
/// 点击事件
/// 事件基类名
private void picboxcostClientOutput_Click(object sender, EventArgs e)
{
costSupply cos = new costSupply();
cos.ShowDialog();
}
///
/// 显示costOperationOutput窗体
///
/// 点击事件
/// 事件基类名
private void picboxcostOperationOutput_Click(object sender, EventArgs e)
{
costOperationOutput costo = new costOperationOutput();
costo.ShowDialog();
}
///
/// 显示costBalesOutput窗体
///
/// 点击事件
/// 事件基类名
private void picboxcostBalesOutput_Click(object sender, EventArgs e)
{
costBalesOutput costb = new costBalesOutput();
costb.ShowDialog();
}
///
/// 显示groupBalesOutput窗体
///
/// 点击事件
/// 事件基类名
private void picboxgroupBalesOutput_Click(object sender, EventArgs e)
{
groupBalesOutput gro = new groupBalesOutput ();
gro.ShowDialog();
}
///
/// 系统提示
///
/// 点击事件
/// 事件基类名
private void picbox_xiaoshouyingye_Click(object sender, EventArgs e)
{
MessageBox.Show("本窗体正在建设中!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
///
/// 系统提示
///
/// 点击事件
/// 事件基类名
private void picbox_kucunbiandong_Click(object sender, EventArgs e)
{
kucunbiandong kucun = new kucunbiandong();
kucun.ShowDialog();
}
///
/// 弹出单据查询窗口
///
/// 点击事件
/// 事件基类名
private void picboxMenuSelect_Click(object sender, EventArgs e)
{
DocumentSelect doc = new DocumentSelect();
doc.ShowDialog();
}
///
/// 弹出营业分析窗口
///
/// 点击事件
/// 事件基类名
private void picboxMenuOutput_Click(object sender, EventArgs e)
{
Businessassay bus = new Businessassay();
bus.ShowDialog();
}
///
/// 弹出每日一贴
///
/// 点击事件
/// 事件基类名
private void picboxMenuSoftHelp_Click(object sender, EventArgs e)
{
pdonestick pdo = new pdonestick();
pdo.ShowDialog();
}
private void picboxInput_Click(object sender, EventArgs e)
{
}
///
/// 弹出系统提示
///
/// 点击事件
/// 事件基类名
private void picboxMenuExit_Click(object sender, EventArgs e)
{
if (MessageBox.Show("是否要退出该系统?", "系统提示", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK)
{
this.Close();
}
else
{
}
}
///
/// 显示pdonestick窗体
///
/// 每当窗体第一次加载时发生
/// 事件基类名
private void MineFrame_Shown(object sender, EventArgs e)
{
pdonestick pdo = new pdonestick();
pdo.ShowDialog();
}
private void MineFrame_FormClosing(object sender, FormClosingEventArgs e)
{
Application.Exit();
}
}
}
更多源码 | 好库简介 | 网站地图 | 帮助中心 | 版权说明
Copyright© 2009-2012 OKBASE.NET All Rights Reserved 好库网 版权所有