Пример #1
0
        /// <summary>
        /// 库存查询
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnInventoryQuery_Click(object sender, EventArgs e)
        {
            DataQueryFrm queryfrm = new DataQueryFrm(EntryType.Inventory, SelectedDevice);

            queryfrm.WindowState = FormWindowState.Maximized;
            queryfrm.Show();
        }
Пример #2
0
        /// <summary>
        /// 5.1.综合报表查询
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void HeadDataQueryMenu_CPCG_Click(object sender, EventArgs e)
        {
            if (sender is ToolStripDropDownItem)
            {
                string    TypeValue = ((ToolStripDropDownItem)sender).Tag.ToString();
                EntryType typevalue = EntryType.ZDSJGJ;
                switch (TypeValue)
                {
                case "1":
                    typevalue = UIModels.EntryType.ZDSJGJ;
                    break;

                case "2":
                    typevalue = UIModels.EntryType.YS;
                    break;

                case "3":
                    typevalue = UIModels.EntryType.CC;
                    break;

                case "4":
                    typevalue = UIModels.EntryType.XS;
                    break;

                case "5":
                    typevalue = UIModels.EntryType.CK;
                    break;

                case "6":
                    typevalue = UIModels.EntryType.SH;
                    break;

                case "7":
                    typevalue = UIModels.EntryType.BHGPJL;
                    break;

                case "8":
                    typevalue = UIModels.EntryType.BLSJ;
                    break;

                case "9":
                    typevalue = UIModels.EntryType.ZLGZ;
                    break;

                case "10":
                    typevalue = UIModels.EntryType.Inventory;
                    break;

                default:
                    break;
                }
                DataQueryFrm queryfrm = new DataQueryFrm(typevalue, SelectedDevice);
                queryfrm.WindowState = FormWindowState.Maximized;
                queryfrm.Show();
            }
        }
Пример #3
0
 /// <summary>
 /// 库存查询
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnInventoryQuery_Click(object sender, EventArgs e)
 {
     DataQueryFrm queryfrm = new DataQueryFrm(EntryType.Inventory, SelectedDevice);
     queryfrm.WindowState = FormWindowState.Maximized;
     queryfrm.Show();
 }
Пример #4
0
 /// <summary>
 /// 5.1.综合报表查询
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void HeadDataQueryMenu_CPCG_Click(object sender, EventArgs e)
 {
     if (sender is ToolStripDropDownItem)
     {
         string TypeValue = ((ToolStripDropDownItem)sender).Tag.ToString();
         EntryType typevalue = EntryType.ZDSJGJ;
         switch (TypeValue)
         {
             case "1":
                 typevalue = UIModels.EntryType.ZDSJGJ;
                 break;
             case "2":
                 typevalue = UIModels.EntryType.YS;
                 break;
             case "3":
                 typevalue = UIModels.EntryType.CC;
                 break;
             case "4":
                 typevalue = UIModels.EntryType.XS;
                 break;
             case "5":
                 typevalue = UIModels.EntryType.CK;
                 break;
             case "6":
                 typevalue = UIModels.EntryType.SH;
                 break;
             case "7":
                 typevalue = UIModels.EntryType.BHGPJL;
                 break;
             case "8":
                 typevalue = UIModels.EntryType.BLSJ;
                 break;
             case "9":
                 typevalue = UIModels.EntryType.ZLGZ;
                 break;
             case "10":
                  typevalue = UIModels.EntryType.Inventory;
                 break;
             default:
                 break;
         }
         DataQueryFrm queryfrm = new DataQueryFrm(typevalue,SelectedDevice);
         queryfrm.WindowState = FormWindowState.Maximized;
         queryfrm.Show();
     }
 }