Example #1
0
  { public static void CloseAll()
    {
        ArrayList Datas = TabManager.GetAllTabData();

        foreach (TabData Data in Datas)
        {
            DialogResult OK = IO_Save.SaveAskIfChanged(Data);

            if (OK == DialogResult.Cancel)
            {
                return;
            }
        }

        TabManager.RemoveAll();
        State.NoFilesOpen();
    }