protected override void EditObject()
        {
            if (this.gvMaterailCode.GetFocusedRow() == null)
                return;

            T_StandardMaterial stdMat = this.gvMaterailCode.GetFocusedRow() as T_StandardMaterial;
            var frm = new StandardMaterailInfoForm(Common.frmmodetype.edit);
            frm.StandardMaterail = stdMat;
            refreshFormData(frm);
        }
        protected override void EditObject()
        {
            if (this.gvMaterailCode.GetFocusedRow() == null)
            {
                return;
            }

            T_StandardMaterial stdMat = this.gvMaterailCode.GetFocusedRow() as T_StandardMaterial;
            var frm = new StandardMaterailInfoForm(Common.frmmodetype.edit);

            frm.StandardMaterail = stdMat;
            refreshFormData(frm);
        }
 protected override void AddObject()
 {
     var frm = new StandardMaterailInfoForm(Common.frmmodetype.add);
     refreshFormData(frm);
 }
        protected override void AddObject()
        {
            var frm = new StandardMaterailInfoForm(Common.frmmodetype.add);

            refreshFormData(frm);
        }