Exemple #1
0
        private void AddCustomerBtn_Click(object sender, EventArgs e)
        {
            AddCustomer aAddCustomer = new AddCustomer();

            aAddCustomer.Show();
            aAddCustomer.MdiParent = this;
            UpdateMain();
        }
Exemple #2
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);
            }
        }