Ejemplo n.º 1
0
        public ComputerGeneralEditPage()
        {
            pageID = "ComputerGeneralEditProperities";
            InitializeComponent();
            SetPageTitle("General");

            _editObject     = new ComputerGenerelEditObject();
            _originalObject = new ComputerGenerelEditObject();
        }
    public ComputerGeneralEditPage()
    {
        pageID = "ComputerGeneralEditProperities";
        InitializeComponent();
        SetPageTitle("General");

        _editObject = new ComputerGenerelEditObject();
        _originalObject = new ComputerGenerelEditObject();
    }
Ejemplo n.º 3
0
        public virtual object Clone()
        {
            // Create a shallow copy first
            ComputerGenerelEditObject other = MemberwiseClone() as ComputerGenerelEditObject;

            other.Description    = Description;
            other.DelegateTrust  = DelegateTrust;
            other.UserCtrlBinStr = UserCtrlBinStr;
            return(other);
        }
Ejemplo n.º 4
0
 private void UpdateOriginalData()
 {
     if (_editObject != null)
     {
         _originalObject = (ComputerGenerelEditObject)_editObject.Clone();
     }
     else
     {
         _originalObject = new ComputerGenerelEditObject();
     }
 }
 private void UpdateOriginalData()
 {
     if (_editObject != null)
     {
         _originalObject = (ComputerGenerelEditObject)_editObject.Clone();
     }
     else
     {
         _originalObject = new ComputerGenerelEditObject();
     }
 }