示例#1
0
        private void SpotCheck_Load(object sender, EventArgs e)
        {
            //SoftUseCheck();

            m_culture = AppSetting.GetLanguage();
            InitLanguage();

            m_dbColumnNames = "ID,EmpNo,Name,Password,Auth";

            m_main   = new FormMain(this);
            m_dbTool = new DBTool();

            m_xmlHelper.FileName    = SystemSetFileName;
            m_xmlHelper.XmlDirPath  = Application.StartupPath;
            m_xmlHelper.XmlFilePath = SystemSetFilePath = m_xmlHelper.XmlDirPath + @"\" + SystemSetFileName + ".xml";

            if (!File.Exists(SystemSetFilePath))
            {
                CreateSystemSetFile();
            }

            InitData();

            if (AppSetting.GetTest() != 1)
            {
                ResetFormData();
            }
        }
示例#2
0
 public WeldingModuleForm()
 {
     InitializeComponent();
     m_culture = AppSetting.GetLanguage();
     CultureChange();
 }
示例#3
0
 public LoginForm()
 {
     InitializeComponent();
     m_culture = AppSetting.GetLanguage();
     CultureChange();
 }