コード例 #1
0
 public void CompleteTransaction()
 {
     if (TransactionClosing != null)
     {
         TransactionClosing(this, new DesignerTransactionCloseEventArgs(true));
     }
     if (TransactionClosed != null)
     {
         TransactionClosed(this, new DesignerTransactionCloseEventArgs(true));
     }
     _currentTrans = null;
 }
コード例 #2
0
 public DesignerTransaction CreateTransaction(String name)
 {
     if (TransactionOpened != null)
     {
         TransactionOpened(this, new EventArgs());
     }
     if (TransactionOpening != null)
     {
         TransactionOpening(this, new EventArgs());
     }
     if (name != null)
     {
         _currentTrans = new BrowserDesignerTransaction(this, name);
     }
     else
     {
         _currentTrans = new BrowserDesignerTransaction(this);
     }
     return(_currentTrans);
 }
コード例 #3
0
		public void CompleteTransaction()
		{
			if (TransactionClosing != null) {
				TransactionClosing(this, new DesignerTransactionCloseEventArgs(true));
			}
			if (TransactionClosed != null) {
				TransactionClosed(this, new DesignerTransactionCloseEventArgs(true));
			}
			_currentTrans = null;
		}
コード例 #4
0
		public DesignerTransaction CreateTransaction(String name)
		{
			if (TransactionOpened != null)
				TransactionOpened(this, new EventArgs());
			if (TransactionOpening != null)
				TransactionOpening(this, new EventArgs());
			if (name != null)
				_currentTrans = new BrowserDesignerTransaction(this, name);
			else
				_currentTrans = new BrowserDesignerTransaction(this);
			return _currentTrans;
		}