コード例 #1
0
 public DayReportDetailCtrl(DayReport order = null, CJBasic.Action <List <Guide>, BaseUserControl> dayReportDetailCtrl_GuideInited = null)
 {
     InitializeComponent();
     this.GuideInited += dayReportDetailCtrl_GuideInited;
     this.Initialize(order);
     if (order == null)
     {
         MenuPermission = RolePermissionMenuEnum.当日结存;
     }
     else
     {
         MenuPermission = RolePermissionMenuEnum.日结存查询;
     }
 }
コード例 #2
0
 public WholesaleEmOrderManageCtrl(int type, CJBasic.Action <PfCustomerOrder, BaseUserControl, Panel> DetailClick)
 {
     InitializeComponent();
     //  this.Controls.Add(imageCtrl);
     dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, dataGridViewPagingSumCtrl_CurrentPageIndexChanged, BaseButton_Search_Click);
     dataGridViewPagingSumCtrl.Initialize();
     this.DetailClick += DetailClick;
     SetOrderState();
     DateTimeUtil.DateTimePicker_SetDateTimePicker(dateTimePicker_Start, dateTimePicker_End);
     if (type == 0)
     {
         tabControl1.SelectTab(1);
         tabControl1_SelectedIndexChanged(null, null);
     }
     skinComboBox_PfCustomer.Initialize(false, true);
 }
コード例 #3
0
ファイル: EmOrderManageCtrl.cs プロジェクト: jollitycn/JGNet
        public EmOrderManageCtrl(int type, CJBasic.Action <EmRetailOrder, BaseUserControl, Panel> DetailClick, CJBasic.Action <EmRetailOrder, Panel> LogisticsClick)
        {
            InitializeComponent();

            MenuPermission = RolePermissionMenuEnum.订单管理;
            //  this.Controls.Add(imageCtrl);
            dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1, dataGridViewPagingSumCtrl_CurrentPageIndexChanged, BaseButton_Search_Click);
            dataGridViewPagingSumCtrl.Initialize();
            this.DetailClick    += DetailClick;
            this.LogisticsClick += LogisticsClick;
            dataGridViewPagingSumCtrl.SelectionChanged = dataGridView1_SelectionChanged;


            SetOrderState();
            DateTimeUtil.DateTimePicker_SetDateTimePicker(dateTimePicker_Start, dateTimePicker_End);
            SetRefundStateEnum();
            if (type == 0)
            {
                tabControl1.SelectTab(2);
                tabControl1_SelectedIndexChanged(null, null);
            }
        }