Exemple #1
0
        private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            this.Hide();


            typers.Clear();
            foreach (Typer typer in lbTypers.Items)
            {
                if (typer.IsActive)
                {
                    hotKeyManager.UnregisterFKey(typer.hotKeyId);
                }
                typers.Add(typer);
            }
            typers.SaveLibrary();
        }
Exemple #2
0
        public long SecureAdd(string accessKey, long siteId, long fileId, long[] groupIds, long userId, string title, string description, string fileUrl, string thumbUrl)
        {
            FileLibrary fl = new FileLibrary();

            return(fl.Add(siteId, fileId, groupIds, userId, title, description, fileUrl, thumbUrl, false));
        }