コード例 #1
0
ファイル: InspectForm.cs プロジェクト: amon0424/SWLHMS
        private void rbOnlyUnreinspect_CheckedChanged(object sender, EventArgs e)
        {
            if (rbOnlyUnreinspect.Checked)
            {
                if (this.InspectMode != InspeceMode.OnlyUnre)
                    SearchUnreinspectList();

                this.InspectMode = InspeceMode.OnlyUnre;
            }
        }
コード例 #2
0
ファイル: InspectForm.cs プロジェクト: amon0424/SWLHMS
        void SearchUnreinspectList()
        {
            string line = null;
            string name = null;

            _table = DatabaseSet.GetUnreinspectList(line, name);
            _table.Columns.Add("NG處理", typeof(string));

            string sort = bindingSource.Sort;
            bindingSource.Sort = null;

            this.GroupTable = null;
            this.InspectMode = InspeceMode.OnlyUnre;
            bindingSource.DataSource = _table;
            bindingSource.Sort = sort;

            btnSend.Enabled = false;
            dgv.EditMode = DataGridViewEditMode.EditProgrammatically;
        }
コード例 #3
0
ファイル: InspectForm.cs プロジェクト: amon0424/SWLHMS
        private void rbInspectByQcN_CheckedChanged(object sender, EventArgs e)
        {
            if (rbInspectByQcN.Checked)
            {
                if (this.InspectMode == InspeceMode.OnlyUnre)
                    SearchList();

                this.InspectMode = InspeceMode.ByQcNo;
                bindingSource.DataSource = _table;
            }
        }