コード例 #1
0
 private void SetInterconnectionData(InvoiceInterconnectionData e)
 {
     try
     {
         m_ControlState.InvoiceID = e.ID;
         m_ControlState.ReadOnly  = e.ReadOnly;
     }
     catch (Exception _ex)
     {
         ApplicationError _errr = new ApplicationError("SetInterconnectionData", "InvoiceInterconnectionData", _ex.Message, _ex);
         this.Controls.Add(_errr.CreateMessage(_errr.At, true));
     }
 }
コード例 #2
0
            internal void NewDataEventHandler(object sender, InvoiceInterconnectionData e)
            {
                switch (CurrentMachineState)
                {
                case InterfaceState.ViewState:
                    Parent.SetInterconnectionData(e);
                    break;

                case InterfaceState.EditState:
                case InterfaceState.NewState:
                default:
                    break;
                }
            }