Пример #1
0
        private void 物品录入ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DialogResult dialogResult = MessageBox.Show("物品是否是第一次入库?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question);

            if (dialogResult == DialogResult.Yes)
            {
                StorageMaterials storageMaterials = new StorageMaterials();
                StorageMaterials.storageMaterials.Show();
            }
            else
            {
                PutInMaterials putInMaterials = new PutInMaterials();
                PutInMaterials.put.Show();
            }
        }
Пример #2
0
 public StorageMaterials()
 {
     storageMaterials = this;
     InitializeComponent();
 }