Click here to Skip to main content
15,892,059 members
Articles / Desktop Programming / Windows Forms

Simple Way to Develop Server Software for File Manipulation

Rate me:
Please Sign up or sign in to vote.
4.86/5 (16 votes)
15 Mar 2012CPOL10 min read 34K   923   43  
This is a simple server software for copying file from one directory to other but the technique can be used to develop in any server software.
//-----------------------------------------------------------------------
// <copyright file="UIEntities.cs" company="Self">
//  Copyright (c) Md. Rashim Uddin . All rights reserved.
// </copyright>
// <author>Md. Rashim Uddin</author>
// <email>rashimiiuc@yahoo.com</email>
//-----------------------------------------------------------------------
namespace FileSystem.Replication.Server.Entities
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// Properties for maintain UI
    /// </summary>
    public class UIEntities
    {
        /// <summary>
        /// Initializes a new instance of the UIEntities class.
        /// </summary>
        /// <remarks>it needs to create the UI Objects</remarks>
        public UIEntities() 
        { 
        }
        
        /// <summary>
        /// Gets or sets a value indicating whether [enable TXT copy from].
        /// </summary>
        /// <value><c>true</c> if [enable TXT copy from]; otherwise, <c>false</c>.</value>
        /// <remarks>The text box Will be Enable or Disable based on the value of this property</remarks>
        public bool EnableTxtCopyFrom { get; set; }
        
        /// <summary>
        /// Gets or sets a value indicating whether [enable TXT copy to].
        /// </summary>
        /// <value><c>true</c> if [enable TXT copy to]; otherwise, <c>false</c>.</value>
        /// <remarks>The text box Will be Enable or Disable based on the value of this property</remarks>
        public bool EnableTxtCopyTo { get; set; }
        
        /// <summary>
        /// Gets or sets a value indicating whether [enable BTN start].
        /// </summary>
        /// <value><c>true</c> if [enable BTN start]; otherwise, <c>false</c>.</value>
        /// <remarks>The button Will be Enable or Disable based on the value of this property</remarks>
        public bool EnableBtnStart { get; set; }
        
        /// <summary>
        /// Gets or sets a value indicating whether [enable BTN stop].
        /// </summary>
        /// <value><c>true</c> if [enable BTN stop]; otherwise, <c>false</c>.</value>
        /// <remarks>The button Will be Enable or Disable based on the value of this property</remarks>
        public bool EnableBtnStop { get; set; }
        
        /// <summary>
        /// Gets or sets a value indicating whether [enable BTN close].
        /// </summary>
        /// <value><c>true</c> if [enable BTN close]; otherwise, <c>false</c>.</value>
        /// <remarks>The button Will be Enable or Disable based on the value of this property</remarks>
        public bool EnableBtnClose { get; set; }
        
        /// <summary>
        /// Gets or sets a value indicating whether [enable BTN copy from].
        /// </summary>
        /// <value><c>true</c> if [enable BTN copy from]; otherwise, <c>false</c>.</value>
        /// <remarks>The button Will be Enable or Disable based on the value of this property</remarks>
        public bool EnableBtnCopyFrom { get; set; }
        
        /// <summary>
        /// Gets or sets a value indicating whether [enable BTN copy to].
        /// </summary>
        /// <value><c>true</c> if [enable BTN copy to]; otherwise, <c>false</c>.</value>
        /// <remarks>The button Will be Enable or Disable based on the value of this property</remarks>
        public bool EnableBtnCopyTo { get; set; }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Chief Technology Officer RightKnack Limited
Bangladesh Bangladesh
A big fan of getting down the latest cutting-edge technologies to the ground to innovate exceptionally amazing ideas.

My Blog: http://rashimuddin.wordpress.com/

My Email: rashimiiuc at yahoo dot com

Comments and Discussions