主题:我是菜鸟,请各位高手多多指点
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using System.Data.SqlClient;
using Microsoft.Win32;
using System.Runtime.InteropServices;
using System.Reflection;
using System.Data;
using System.Drawing.Drawing2D;
using System.Threading;
using MainApp.MesageConst;
namespace MainApp
{
public class FBaseMainForm : BaseClass.FBaseForm,BaseClass.AppSystem.ILogo
{
private System.Windows.Forms.Timer timer;
public System.Windows.Forms.ImageList ToolimageList;
private System.Windows.Forms.OpenFileDialog Ofdlg;
protected System.Windows.Forms.ImageList MainMnuImageList;
private System.Windows.Forms.ContextMenu cmnuMain;
private System.Windows.Forms.ContextMenu cmnuTool;
private System.Windows.Forms.ContextMenu cmnuQuick;
private System.Windows.Forms.MenuItem menuItem1;
private System.Windows.Forms.MenuItem menuItem2;
private System.Windows.Forms.MenuItem menuItem3;
private System.Windows.Forms.MenuItem menuItem6;
private System.ComponentModel.IContainer components = null;
private static FrmFlash frmFlash=null;
public static System.Data.SqlClient.SqlConnection HRConnection=null;
public static SHSException G_Execption;
public static DevExpress.XtraBars.Bar MainMnuBar;
public System.Data.SqlClient.SqlDataAdapter saldapSY_SYSERRORMSG;
private System.Data.SqlClient.SqlCommand sqlSelectCommand1;
private System.Data.SqlClient.SqlCommand sqlInsertCommand1;
private System.Data.SqlClient.SqlCommand sqlUpdateCommand1;
private System.Data.SqlClient.SqlCommand sqlDeleteCommand1;
private System.Windows.Forms.ContextMenu cmnuManagerMessage;
private System.Windows.Forms.MenuItem mnuManaMSG;
private DevExpress.XtraBars.Docking.DockManager dockManager1;
public System.Windows.Forms.TreeView tvSysNav;
private System.Windows.Forms.ListView lvwMessage;
private System.Windows.Forms.TreeView tvMessage;
private System.Windows.Forms.StatusBar stb;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.ColumnHeader columnHeader2;
private System.Windows.Forms.ColumnHeader columnHeader4;
private System.Windows.Forms.ColumnHeader columnHeader3;
private System.Windows.Forms.StatusBarPanel statusBarPanel1;
private DevExpress.XtraBars.Docking.DockPanel dockPanel1;
private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container;
private DevExpress.XtraBars.BarAndDockingController barAndDockingController1;
private DevExpress.LookAndFeel.DefaultLookAndFeel defaultLookAndFeel1;
private DevExpress.XtraTab.XtraTabControl xtraTabControl1;
private DevExpress.XtraTab.XtraTabPage xtraTabPage1;
private DevExpress.XtraTab.XtraTabPage xtraTabPage2;
private DevExpress.XtraBars.BarManager BarManag;
private System.Windows.Forms.ImageList NewTooBarImage;
private DevExpress.XtraBars.BarLargeButtonItem tbtnFirst;
private DevExpress.XtraBars.BarLargeButtonItem tbtnPr;
private DevExpress.XtraBars.BarLargeButtonItem tbtnNext;
private DevExpress.XtraBars.BarLargeButtonItem tbtnLast;
private DevExpress.XtraBars.BarLargeButtonItem tbtnNew;
private DevExpress.XtraBars.BarLargeButtonItem tbtnModify;
private DevExpress.XtraBars.BarLargeButtonItem tbtnDelete;
private DevExpress.XtraBars.BarLargeButtonItem tbtnComfir;
private DevExpress.XtraBars.BarLargeButtonItem tbtnUnComfir;
private DevExpress.XtraBars.BarLargeButtonItem tbtnQuery;
private DevExpress.XtraBars.BarLargeButtonItem tbtnLocate;
private DevExpress.XtraBars.BarLargeButtonItem tbtnPrint;
private DevExpress.XtraBars.BarLargeButtonItem tbtnPrvew;
private DevExpress.XtraBars.BarLargeButtonItem tbtnIn;
private DevExpress.XtraBars.BarLargeButtonItem tbtnOut;
private DevExpress.XtraBars.BarLargeButtonItem tbtnExprot;
private DevExpress.XtraBars.BarLargeButtonItem tbtnLogin;
private DevExpress.XtraBars.BarLargeButtonItem tbtnLogout;
private DevExpress.XtraBars.BarLargeButtonItem tbtnLock;
private DevExpress.XtraBars.BarLargeButtonItem tbtnExit;
private DevExpress.XtraBars.BarLargeButtonItem tbtnHelp;
private DevExpress.XtraBars.BarLargeButtonItem tbtnLike;
private DevExpress.XtraBars.BarButtonItem barButtonItem1;
private DevExpress.XtraBars.BarButtonItem bmnuLogout;
private DevExpress.XtraBars.BarButtonItem bmnuLock;
private DevExpress.XtraBars.BarButtonItem bmnuLogIn;
private DevExpress.XtraBars.BarButtonItem bmnuChangePassWord;
private DevExpress.XtraBars.BarButtonItem bmnuModule;
private DevExpress.XtraBars.BarButtonItem bmnuReport;
private DevExpress.XtraBars.BarButtonItem bmnuMessage;
private DevExpress.XtraBars.BarButtonItem bmnuUserManage;
private DevExpress.XtraBars.BarButtonItem bmnuUseLog;
private DevExpress.XtraBars.BarButtonItem bmnuExit;
private DevExpress.XtraBars.BarButtonItem bmnu_H;
private DevExpress.XtraBars.BarButtonItem bmnu_V;
private DevExpress.XtraBars.BarButtonItem bmnu_M;
private DevExpress.XtraBars.BarButtonItem bmnu_CloseCurr;
private DevExpress.XtraBars.BarButtonItem bmnu_CloseAll;
private DevExpress.XtraBars.BarCheckItem bmnu_Message;
private DevExpress.XtraBars.BarCheckItem bmnu_StatusBar;
private DevExpress.XtraBars.BarButtonItem bmnuHelp;
private DevExpress.XtraBars.BarSubItem bmnuSys;
private DevExpress.XtraBars.BarSubItem bmnuWindows;
private DevExpress.XtraBars.BarSubItem bmnuHelps;
private DevExpress.XtraBars.BarButtonItem bmnu_State;
private DevExpress.XtraBars.BarDockControl barDockControlTop;
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
private DevExpress.XtraBars.BarDockControl barDockControlRight;
private DevExpress.XtraBars.BarListItem barListItem1;
private DevExpress.XtraBars.BarStaticItem bsUserID;
private DevExpress.XtraBars.BarStaticItem bsUser;
private DevExpress.XtraBars.BarStaticItem bsServer;
private DevExpress.XtraBars.BarStaticItem bsTime;
private DevExpress.XtraBars.BarStaticItem bsMessage;
private DevExpress.XtraBars.BarStaticItem bsRecMessage;
private DevExpress.XtraBars.Bar DevStatusBar;
private DevExpress.XtraBars.Bar DevToolBar;
private DevExpress.XtraBars.Bar DevMainMenu;
private DevExpress.XtraBars.BarButtonItem barButtonItem2;
private DevExpress.XtraBars.BarButtonItem barButtonItem3;
private DevExpress.XtraBars.PopupMenu QuickMnu;
const int MF_BYPOSITION=0x0400;
这些程序码是由系统产生,可我做的每一个程序都没出现过这些程序码,请问这些程序码是如何才能自行产生,谢谢
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using System.Data.SqlClient;
using Microsoft.Win32;
using System.Runtime.InteropServices;
using System.Reflection;
using System.Data;
using System.Drawing.Drawing2D;
using System.Threading;
using MainApp.MesageConst;
namespace MainApp
{
public class FBaseMainForm : BaseClass.FBaseForm,BaseClass.AppSystem.ILogo
{
private System.Windows.Forms.Timer timer;
public System.Windows.Forms.ImageList ToolimageList;
private System.Windows.Forms.OpenFileDialog Ofdlg;
protected System.Windows.Forms.ImageList MainMnuImageList;
private System.Windows.Forms.ContextMenu cmnuMain;
private System.Windows.Forms.ContextMenu cmnuTool;
private System.Windows.Forms.ContextMenu cmnuQuick;
private System.Windows.Forms.MenuItem menuItem1;
private System.Windows.Forms.MenuItem menuItem2;
private System.Windows.Forms.MenuItem menuItem3;
private System.Windows.Forms.MenuItem menuItem6;
private System.ComponentModel.IContainer components = null;
private static FrmFlash frmFlash=null;
public static System.Data.SqlClient.SqlConnection HRConnection=null;
public static SHSException G_Execption;
public static DevExpress.XtraBars.Bar MainMnuBar;
public System.Data.SqlClient.SqlDataAdapter saldapSY_SYSERRORMSG;
private System.Data.SqlClient.SqlCommand sqlSelectCommand1;
private System.Data.SqlClient.SqlCommand sqlInsertCommand1;
private System.Data.SqlClient.SqlCommand sqlUpdateCommand1;
private System.Data.SqlClient.SqlCommand sqlDeleteCommand1;
private System.Windows.Forms.ContextMenu cmnuManagerMessage;
private System.Windows.Forms.MenuItem mnuManaMSG;
private DevExpress.XtraBars.Docking.DockManager dockManager1;
public System.Windows.Forms.TreeView tvSysNav;
private System.Windows.Forms.ListView lvwMessage;
private System.Windows.Forms.TreeView tvMessage;
private System.Windows.Forms.StatusBar stb;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.ColumnHeader columnHeader2;
private System.Windows.Forms.ColumnHeader columnHeader4;
private System.Windows.Forms.ColumnHeader columnHeader3;
private System.Windows.Forms.StatusBarPanel statusBarPanel1;
private DevExpress.XtraBars.Docking.DockPanel dockPanel1;
private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container;
private DevExpress.XtraBars.BarAndDockingController barAndDockingController1;
private DevExpress.LookAndFeel.DefaultLookAndFeel defaultLookAndFeel1;
private DevExpress.XtraTab.XtraTabControl xtraTabControl1;
private DevExpress.XtraTab.XtraTabPage xtraTabPage1;
private DevExpress.XtraTab.XtraTabPage xtraTabPage2;
private DevExpress.XtraBars.BarManager BarManag;
private System.Windows.Forms.ImageList NewTooBarImage;
private DevExpress.XtraBars.BarLargeButtonItem tbtnFirst;
private DevExpress.XtraBars.BarLargeButtonItem tbtnPr;
private DevExpress.XtraBars.BarLargeButtonItem tbtnNext;
private DevExpress.XtraBars.BarLargeButtonItem tbtnLast;
private DevExpress.XtraBars.BarLargeButtonItem tbtnNew;
private DevExpress.XtraBars.BarLargeButtonItem tbtnModify;
private DevExpress.XtraBars.BarLargeButtonItem tbtnDelete;
private DevExpress.XtraBars.BarLargeButtonItem tbtnComfir;
private DevExpress.XtraBars.BarLargeButtonItem tbtnUnComfir;
private DevExpress.XtraBars.BarLargeButtonItem tbtnQuery;
private DevExpress.XtraBars.BarLargeButtonItem tbtnLocate;
private DevExpress.XtraBars.BarLargeButtonItem tbtnPrint;
private DevExpress.XtraBars.BarLargeButtonItem tbtnPrvew;
private DevExpress.XtraBars.BarLargeButtonItem tbtnIn;
private DevExpress.XtraBars.BarLargeButtonItem tbtnOut;
private DevExpress.XtraBars.BarLargeButtonItem tbtnExprot;
private DevExpress.XtraBars.BarLargeButtonItem tbtnLogin;
private DevExpress.XtraBars.BarLargeButtonItem tbtnLogout;
private DevExpress.XtraBars.BarLargeButtonItem tbtnLock;
private DevExpress.XtraBars.BarLargeButtonItem tbtnExit;
private DevExpress.XtraBars.BarLargeButtonItem tbtnHelp;
private DevExpress.XtraBars.BarLargeButtonItem tbtnLike;
private DevExpress.XtraBars.BarButtonItem barButtonItem1;
private DevExpress.XtraBars.BarButtonItem bmnuLogout;
private DevExpress.XtraBars.BarButtonItem bmnuLock;
private DevExpress.XtraBars.BarButtonItem bmnuLogIn;
private DevExpress.XtraBars.BarButtonItem bmnuChangePassWord;
private DevExpress.XtraBars.BarButtonItem bmnuModule;
private DevExpress.XtraBars.BarButtonItem bmnuReport;
private DevExpress.XtraBars.BarButtonItem bmnuMessage;
private DevExpress.XtraBars.BarButtonItem bmnuUserManage;
private DevExpress.XtraBars.BarButtonItem bmnuUseLog;
private DevExpress.XtraBars.BarButtonItem bmnuExit;
private DevExpress.XtraBars.BarButtonItem bmnu_H;
private DevExpress.XtraBars.BarButtonItem bmnu_V;
private DevExpress.XtraBars.BarButtonItem bmnu_M;
private DevExpress.XtraBars.BarButtonItem bmnu_CloseCurr;
private DevExpress.XtraBars.BarButtonItem bmnu_CloseAll;
private DevExpress.XtraBars.BarCheckItem bmnu_Message;
private DevExpress.XtraBars.BarCheckItem bmnu_StatusBar;
private DevExpress.XtraBars.BarButtonItem bmnuHelp;
private DevExpress.XtraBars.BarSubItem bmnuSys;
private DevExpress.XtraBars.BarSubItem bmnuWindows;
private DevExpress.XtraBars.BarSubItem bmnuHelps;
private DevExpress.XtraBars.BarButtonItem bmnu_State;
private DevExpress.XtraBars.BarDockControl barDockControlTop;
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
private DevExpress.XtraBars.BarDockControl barDockControlRight;
private DevExpress.XtraBars.BarListItem barListItem1;
private DevExpress.XtraBars.BarStaticItem bsUserID;
private DevExpress.XtraBars.BarStaticItem bsUser;
private DevExpress.XtraBars.BarStaticItem bsServer;
private DevExpress.XtraBars.BarStaticItem bsTime;
private DevExpress.XtraBars.BarStaticItem bsMessage;
private DevExpress.XtraBars.BarStaticItem bsRecMessage;
private DevExpress.XtraBars.Bar DevStatusBar;
private DevExpress.XtraBars.Bar DevToolBar;
private DevExpress.XtraBars.Bar DevMainMenu;
private DevExpress.XtraBars.BarButtonItem barButtonItem2;
private DevExpress.XtraBars.BarButtonItem barButtonItem3;
private DevExpress.XtraBars.PopupMenu QuickMnu;
const int MF_BYPOSITION=0x0400;
这些程序码是由系统产生,可我做的每一个程序都没出现过这些程序码,请问这些程序码是如何才能自行产生,谢谢