Ejemplo n.º 1
0
        private void listMain_DoubleClick(object sender, EventArgs e)
        {
            if (listMain.SelectedIndex < 0)
            {
                return;
            }
            string sName     = (rgType.SelectedIndex == 0) ? "grid" : "memo";
            string sFullName = pubDefines.allPathDefine.mainSavePath + "\\" + sName + "_" + listMain.SelectedItem.ToString() + ".txt";

            OpenFolderHelper.ExplorerFile(sFullName);
        }
Ejemplo n.º 2
0
        private void toolStripOpenPath_Click(object sender, EventArgs e)
        {
            string sName     = (rgType.SelectedIndex == 0) ? "grid" : "memo";
            string sFullName = pubDefines.allPathDefine.mainSavePath + "\\" + sName + "_" + listMain.SelectedItem.ToString() + ".txt";

            //if (File.Exists(sFullName))
            //{
            //    Process.Start("explorer", "/select,\"" + sFullName + "\"");
            //}
            OpenFolderHelper.ExplorerFile(sFullName);
        }