Пример #1
0
        private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
        {
            switch (e.Tool.Key)
            {
            case "Query":
            {
                this.GetWeightInfo("");
                break;
            }

            case "导出":
            {
                CommonMethod.ExportDataWithSaveDialog2(ref this.ultraGrid1, "棒材计量数据");
                break;
            }

            case "判定不合格":
            {
                this.Save();
                break;
            }

            case "撤销不合格":
            {
                this.Cancel();
                break;
            }

            case "补打":
            {
                this.Reprint();
                break;
            }
            }
        }
Пример #2
0
        private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
        {
            switch (e.Tool.Key)
            {
            case "Query":
            {
                this.GetFlowCardInfo();
                break;
            }

            case "导出":
            {
                CommonMethod.ExportDataWithSaveDialog2(ref this.ultraGrid1, this.Text);
                break;
            }
            }
        }