Home > Net >  Didn't find the right way to rewrite
Didn't find the right way to rewrite

Time:10-08

Using System;
Using System. Collections. Generic;
Using System.Com ponentModel;
Using System. The Data;
Using System. Drawing;
Using System. The Text;
Using System. Windows. Forms;
Using DevExpress. XtraEditors. Controls;
Using DevExpress. XtraEditors;
Using HttSoft. FrameFunc;
Using HttSoft. Framework;
Using HttSoft. JTERP. Data;
Using HttSoft. JTERP. DataCtl;
Using HttSoft. JTERP. Sys.
Using DevExpress. The XtraGrid. Views. The Base;

The namespace JTERP
{
Public partial class frmCloutBCStep: BaseForm
{
Public frmCloutBCStep ()
{
InitializeComponent ();
}


# region custom virtual method to define/need to modify the
///& lt; Summary>
///bind the Grid
///& lt;/summary>
Public override void GetCondtion ()
{
String tempStr=string. The Empty;
//

HTDataConditionStr=tempStr;
}

CodePudding user response:

No these methods in the BaseForm

CodePudding user response:

You put the override is removed

CodePudding user response:

refer to the second floor 711 glaciers response:
you remove the override all
no more I try to get rid of the wrong

CodePudding user response:

reference 1/f, f * * KCSDN response:
no these methods in the BaseForm
where things I can't read!

CodePudding user response:

BaseForm in some way can you rewrite not override do you use to decorate will quote this wrong
Or remove the override
Or to find the corresponding methods to rewrite the BaseForm or direct call

CodePudding user response:

5/f
reference f * * KCSDN response:
BaseForm in some way can you rewrite not override do you use to decorate will quote this wrong
Or remove the override
Or to find the corresponding methods to rewrite the BaseForm or direct call

I tried to remove the override but the more he error

CodePudding user response:

You send the diagram, it were not for the way, how do you rewrite?
Also, after remove, what wrong?

CodePudding user response:

See whether there is virtual or the abstract in the baseform GetCondtion method, if not remove the override

CodePudding user response:

Subclasses override the parent class, at least will have to rewrite the parent class

CodePudding user response:

Rewrite the parent class of this method is the premise of the parent class to declare the method virtual or abstract, in front of so many people all say about, solved not knot, went without saying a word ~ ~?
  •  Tags:  
  • C#
  • Related