public AlarmGroupMembersEditViewModel(AlarmGroupMembersListViewModel _vm, AlarmGroupMembersEditView _mw)
        {
            _AlarmGroupMembersListVM = _vm;
            _Window = _mw;
            OperationType = OpType.Add;
            AlarmGroupMembersObj = new AlarmGroupMembersOR();

            Init();
        }
        public AlarmGroupMembersEditViewModel(AlarmGroupMembersListViewModel _vm, AlarmGroupMembersEditView _mw, AlarmGroupMembersOR _AlarmGroupMembersObj)
        {
            _AlarmGroupMembersListVM = _vm;
            _Window = _mw;
            _SourceObj = _AlarmGroupMembersObj;

            OperationType = OpType.Alert;
            AlarmGroupMembersObj = new AlarmGroupMembersOR();
            AlarmGroupMembersObj.Clone(_AlarmGroupMembersObj);

            Init();
        }
 public AlarmGroupMembersEditView(AlarmGroupMembersListViewModel _List, AlarmGroupMembersOR _AlarmGroupMembers)
 {
     InitializeComponent();
     this.DataContext = new AlarmGroupMembersEditViewModel(_List, this, _AlarmGroupMembers);
 }