Пример #1
0
        /// <summary>
        /// Commands neede after a File Save
        /// </summary>
        /// <param name="sender"></param>
        private void AfterFileSave(LoadedPackage sender)
        {
            UpdateFileInfo();
            package.UpdateProviders();

            /*if (lasttreeview!=null)
             * {
             *      System.Windows.Forms.TreeViewEventArgs tvea = new TreeViewEventArgs(this.lasttreeview.SelectedNode, TreeViewAction.ByMouse);
             *      SelectResourceNode(this.lasttreeview, tvea);
             * }*/
        }
Пример #2
0
 /// <summary>
 /// Commands that are called after the load
 /// </summary>
 /// <param name="sender"></param>
 void AfterFileLoad(LoadedPackage sender)
 {
     sender.UpdateProviders();
     ShowNewFile(true);
 }