private void saveDlg_FileOk(object sender, CancelEventArgs e)
        {
            if (htEncoding.Count > 0)
            {
                htEncoding.Clear();
            }

            foreach (DataRow row in dtGrid.Rows)
            {
                if (htEncoding.ContainsKey(row["Items"].ToString()) == true)
                {
                    MessageBox.Show("Duplicate Key Items Detected. Cannot Proceede...");
                    htEncoding.Clear();
                    return;
                }
                htEncoding.Add(row["Items"].ToString(), row["Code"].ToString());
            }
            htEncoding.Add("<IsBinaryString>", chkIsBinaryString.Checked.ToString());
            binaryFileManager.Save(saveDlg.FileName, htEncoding);
        }
        public static void Save(NeuralNetworkConfiguration nnc, string fileName)
        {
            BinaryFileSerializationManager fileManager = new BinaryFileSerializationManager();

            fileManager.Save(fileName, nnc);
        }