Exemple #1
0
        private void weightSettingsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            WeightConfig aWeightConfig = new WeightConfig();

            // aWeightConfig.MdiParent = Helper.Instance.ActiveMainWindow;
            aWeightConfig.Show();
        }
Exemple #2
0
 private void WeightSettingsRibnBtn_Click(object sender, EventArgs e)
 {
     if (PrivilegesManager.GetEventStatues(Calcium_RMS.Events.WeightEditing) == EventStatus.Permit)
     {
         WeightConfig aWeightConfig = new WeightConfig();
         __AddTabPage(aWeightConfig, __InventoryColor);
     }
     else
     {
         MessageBox.Show(MsgTxt.PrivUserNotAllowedTxt, MsgTxt.InformationCaption, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }