Example #1
0
        public static bool LoadData()
        {
            HardwareManage.LoadData();
            TableManage.LoadData();
            IOManage.LoadData();
            DataManage.LoadData();
            PathDataManage.InitData();
            BarcodeDataManage.Load();

            return(true);
        }
Example #2
0
 private void listViewNFHardWare_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (listViewNFTable.SelectedItems.Count > 0)
     {
         TableManage.LoadData();
         TableData tbData = TableManage.tablesDoc.m_tableDictionary[listViewNFTable.Items[listViewNFTable.SelectedItems[0].Index].Text];
         frmTableItem.UpdateItemData(tbData);
         frmTableItem.frmAxisSettingX.UpdateData(tbData.axisXData);
         frmTableItem.frmAxisSettingY.UpdateData(tbData.axisYData);
         frmTableItem.frmAxisSettingZ.UpdateData(tbData.axisZData);
         frmTableItem.frmAxisSettingU.UpdateData(tbData.axisUData);
         frmTableItem.Show();
     }
 }