Beispiel #1
0
    public void OpenCompareWindow(List <string> diffList, Dictionary <string, string[]> dicStrDouble)
    {
        PictureCompareWindow pcw = CreateInstance <PictureCompareWindow>();

        pcw._picPathList  = diffList;
        pcw._dicOneToMany = dicStrDouble;
        pcw.LoadPicture();
        pcw.Show();
    }
Beispiel #2
0
    /// <summary>
    /// 打开对比展示窗口
    /// </summary>
    /// <param name="path">差异信息文件的路径</param>
    public void OpenCompareWindow(string path)
    {
        if (!File.Exists(path))
        {
            Debug.LogWarning("差异文件不存在");
            return;
        }

        PictureCompareWindow pcw = CreateInstance <PictureCompareWindow>();

        pcw.LoadDifferentFile(path);
        pcw.LoadPicture();
        pcw.Show();
    }