コード例 #1
0
        private void weightSettingsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            WeightConfig aWeightConfig = new WeightConfig();

            // aWeightConfig.MdiParent = Helper.Instance.ActiveMainWindow;
            aWeightConfig.Show();
        }
コード例 #2
0
ファイル: Main2.cs プロジェクト: SariSultan/RMS
 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);
     }
 }