Example #1
0
        private void toolStripButton2_Click(object sender, EventArgs e)//新增
        {
            FixKind_Add form = new FixKind_Add();

            form.Main = this;
            form.ShowDialog();
        }
Example #2
0
        private void toolStripButton5_Click(object sender, EventArgs e)//修改
        {
            Dictionary <string, ObjItem> dr = this.dataGView1.getRowData();

            if (dr != null)
            {
                rowid = this.dataGView1.CurrentRow.Index;
                FixKind_Add form = new FixKind_Add(dr);
                form.Main = this;
                form.ShowDialog();
            }
            else
            {
                WJs.alert("请选择要编辑的维修类别信息!");
            }
        }