Exemplo n.º 1
0
        private void AddCustomerBtn_Click(object sender, EventArgs e)
        {
            AddCustomer aAddCustomer = new AddCustomer();

            aAddCustomer.Show();
            aAddCustomer.MdiParent = this;
            UpdateMain();
        }
Exemplo n.º 2
0
 private void AddNewCustomerRibnBtn_Click(object sender, EventArgs e)
 {
     if (PrivilegesManager.GetEventStatues(Calcium_RMS.Events.AddCustomer) == EventStatus.Permit)
     {
         AddCustomer aAddCustomer = new AddCustomer();
         __AddTabPage(aAddCustomer, __CustomersColor);
     }
     else
     {
         MessageBox.Show(MsgTxt.PrivUserNotAllowedTxt, MsgTxt.InformationCaption, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Exemplo n.º 3
0
        private void AddCustomerBtn_Click(object sender, EventArgs e)
        {
            if (PrivilegesManager.GetEventStatues(Calcium_RMS.Events.AddCustomer) == EventStatus.Permit)
            {
                AddCustomer aAddCustomer = new AddCustomer();
                // aAddCustomer.MdiParent = Helper.Instance.ActiveMainWindow;

                aAddCustomer.Show();
            }
            else
            {
                MessageBox.Show(MsgTxt.PrivUserNotAllowedTxt, MsgTxt.InformationCaption, MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }