public void Close_Upload_View() { try { Storyboard_FoldingUploadWindow.Begin(); SpaceCodeEnterEntity.Upload_View_IsDisplay = false; } catch (Exception ex) { LogManage.WriteLog(this.GetType(), ex); } finally { } }
/// <summary> /// 上传视图窗体弹出、关闭 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void foldingUploadWindow_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { try { if (SpaceCodeEnterEntity.Upload_View_IsDisplay) { Storyboard_FoldingUploadWindow.Begin(); } else { Storyboard_ExpandUploadWindow.Begin(); } SpaceCodeEnterEntity.Upload_View_IsDisplay = !SpaceCodeEnterEntity.Upload_View_IsDisplay; } catch (Exception ex) { LogManage.WriteLog(this.GetType(), ex); } finally { } }