C# Class DataEditorX.DataEditForm

Mostra file Open project: 247321453/DataEditorX Class Usage Examples

Public Methods

Method Description
CanOpen ( string file ) : bool
CardFilter ( Card c, Card sc ) : bool
CheckOpen ( ) : bool
CheckUpdate ( bool showNew ) : void
CompareCards ( string cdbfile, bool checktext ) : void
Create ( string file ) : bool
DataEditForm ( ) : System
DataEditForm ( string datapath ) : System
DataEditForm ( string datapath, string cdbfile ) : System
GetCard ( ) : Card
GetCardList ( bool onlyselect ) : Card[]
GetOldCard ( ) : Card
GetOpenFile ( ) : string
GetPath ( ) : YgoPath
InitControl ( DataConfig datacfg ) : void
Open ( string file ) : bool
Reset ( ) : void
Save ( ) : bool
SaveCards ( Card cards ) : void
Search ( bool isfresh ) : void
SetActived ( ) : void
SetCard ( Card c ) : void
SetCards ( Card cards, bool isfresh ) : void
SetImage ( long id ) : void
SetImage ( string id ) : void

Private Methods

Method Description
AddListView ( int p ) : void
AddMenuItemFormMSE ( ) : void
BgWorker1DoWork ( object sender, System e ) : void
BgWorker1ProgressChanged ( object sender, System e ) : void
BgWorker1RunWorkerCompleted ( object sender, System e ) : void
Btn_PageDownClick ( object sender, EventArgs e ) : void
Btn_PageUpClick ( object sender, EventArgs e ) : void
Btn_addClick ( object sender, EventArgs e ) : void
Btn_delClick ( object sender, EventArgs e ) : void
Btn_imgClick ( object sender, EventArgs e ) : void
Btn_luaClick ( object sender, EventArgs e ) : void
Btn_modClick ( object sender, EventArgs e ) : void
Btn_resetClick ( object sender, EventArgs e ) : void
Btn_serachClick ( object sender, EventArgs e ) : void
Btn_undoClick ( object sender, EventArgs e ) : void
CancelTask ( ) : bool
CheckCard ( Card cards, Card card, bool checkinfo ) : bool

数据一致,返回true,不存在和数据不同,则返回false

CopyTo ( Card cards ) : void
DataEditFormEnter ( object sender, EventArgs e ) : void
DataEditFormFormClosing ( object sender, FormClosingEventArgs e ) : void
DataEditFormLoad ( object sender, EventArgs e ) : void
GetCheck ( FlowLayoutPanel fpl ) : long
GetLanguageItem ( ) : void
GetSelect ( ComboBox cb ) : long
Getscripttext ( ) : string
HideMenu ( ) : void
ImportImage ( string file, string tid ) : void
ImportImageFromSelect ( ) : void
InitCheckPanel ( FlowLayoutPanel fpanel, string>.Dictionary dic ) : void
InitComboBox ( ComboBox cb, string>.Dictionary tempdic ) : void
InitComboBox ( ComboBox cb, List keys, string values ) : void
InitListRows ( ) : void
InitPath ( string datapath ) : void
Initialize ( string datapath ) : void
Lb_scripttextSelectedIndexChanged ( object sender, EventArgs e ) : void
Lv_cardlistKeyDown ( object sender, KeyEventArgs e ) : void
Lv_cardlistSelectedIndexChanged ( object sender, EventArgs e ) : void
Menuitem_aboutClick ( object sender, EventArgs e ) : void
Menuitem_cancelTaskClick ( object sender, EventArgs e ) : void
Menuitem_checkupdateClick ( object sender, EventArgs e ) : void
Menuitem_convertimageClick ( object sender, EventArgs e ) : void
Menuitem_copyselecttoClick ( object sender, EventArgs e ) : void
Menuitem_copytoClick ( object sender, EventArgs e ) : void
Menuitem_cutimagesClick ( object sender, EventArgs e ) : void
Menuitem_exportMSEimageClick ( object sender, EventArgs e ) : void
Menuitem_export_all_sqlClick ( object sender, EventArgs e ) : void
Menuitem_export_select_sqlClick ( object sender, EventArgs e ) : void
Menuitem_exportdataClick ( object sender, EventArgs e ) : void
Menuitem_githubClick ( object sender, EventArgs e ) : void
Menuitem_newClick ( object sender, EventArgs e ) : void
Menuitem_openClick ( object sender, EventArgs e ) : void
Menuitem_quitClick ( object sender, EventArgs e ) : void
Menuitem_readimagesClick ( object sender, EventArgs e ) : void
Menuitem_readydkClick ( object sender, EventArgs e ) : void
Menuitem_saveasmseClick ( object sender, EventArgs e ) : void
Menuitem_saveasmse_selectClick ( object sender, EventArgs e ) : void
Menuitem_testPendulumTextClick ( object sender, EventArgs e ) : void
Pl_imageDragDrop ( object sender, DragEventArgs e ) : void
Pl_imageDragEnter ( object sender, DragEventArgs e ) : void
RemoveTag ( string text ) : string
Run ( string name ) : void
SaveAsMSE ( bool onlyselect ) : void
Search ( Card c, bool isfresh ) : void
SetCDB ( string cdb ) : void
SetCheck ( FlowLayoutPanel fpl, long number ) : void
SetLanguage_Click ( object sender, EventArgs e ) : void
SetMseConfig_Click ( object sender, EventArgs e ) : void
SetSelect ( ComboBox cb, long k ) : void
SetTitle ( ) : void
Setscripttext ( string str ) : void
Tb_cardcodeKeyPress ( object sender, KeyPressEventArgs e ) : void
Tb_cardnameKeyDown ( object sender, KeyEventArgs e ) : void
Tb_edittextTextChanged ( object sender, EventArgs e ) : void
Tb_pageKeyPress ( object sender, KeyPressEventArgs e ) : void
cb_setname1_SelectedIndexChanged ( object sender, EventArgs e ) : void
cb_setname2_SelectedIndexChanged ( object sender, EventArgs e ) : void
cb_setname3_SelectedIndexChanged ( object sender, EventArgs e ) : void
cb_setname4_SelectedIndexChanged ( object sender, EventArgs e ) : void
getCompCards ( ) : Card[]
isRun ( ) : bool
menuitem_autocheckupdate_Click ( object sender, EventArgs e ) : void
menuitem_compdb_Click ( object sender, EventArgs e ) : void
menuitem_deletecardsfile_Click ( object sender, EventArgs e ) : void
menuitem_findluafunc_Click ( object sender, EventArgs e ) : void
menuitem_importmseimg_Click ( object sender, EventArgs e ) : void
menuitem_openfileinthis_Click ( object sender, EventArgs e ) : void
menuitem_readmse_Click ( object sender, EventArgs e ) : void
pl_image_DoubleClick ( object sender, EventArgs e ) : void
setCode_InputText ( int index, ComboBox cb, TextBox tb ) : void
setCode_Selected ( int index, ComboBox cb, TextBox tb ) : void
tb_setcode1_TextChanged ( object sender, EventArgs e ) : void
tb_setcode2_TextChanged ( object sender, EventArgs e ) : void
tb_setcode3_TextChanged ( object sender, EventArgs e ) : void
tb_setcode4_TextChanged ( object sender, EventArgs e ) : void

Method Details

CanOpen() public method

public CanOpen ( string file ) : bool
file string
return bool

CardFilter() public method

public CardFilter ( Card c, Card sc ) : bool
c Card
sc Card
return bool

CheckOpen() public method

public CheckOpen ( ) : bool
return bool

CheckUpdate() public method

public CheckUpdate ( bool showNew ) : void
showNew bool
return void

CompareCards() public method

public CompareCards ( string cdbfile, bool checktext ) : void
cdbfile string
checktext bool
return void

Create() public method

public Create ( string file ) : bool
file string
return bool

DataEditForm() public method

public DataEditForm ( ) : System
return System

DataEditForm() public method

public DataEditForm ( string datapath ) : System
datapath string
return System

DataEditForm() public method

public DataEditForm ( string datapath, string cdbfile ) : System
datapath string
cdbfile string
return System

GetCard() public method

public GetCard ( ) : Card
return Card

GetCardList() public method

public GetCardList ( bool onlyselect ) : Card[]
onlyselect bool
return Card[]

GetOldCard() public method

public GetOldCard ( ) : Card
return Card

GetOpenFile() public method

public GetOpenFile ( ) : string
return string

GetPath() public method

public GetPath ( ) : YgoPath
return YgoPath

InitControl() public method

public InitControl ( DataConfig datacfg ) : void
datacfg DataConfig
return void

Open() public method

public Open ( string file ) : bool
file string
return bool

Reset() public method

public Reset ( ) : void
return void

Save() public method

public Save ( ) : bool
return bool

SaveCards() public method

public SaveCards ( Card cards ) : void
cards Card
return void

Search() public method

public Search ( bool isfresh ) : void
isfresh bool
return void

SetActived() public method

public SetActived ( ) : void
return void

SetCard() public method

public SetCard ( Card c ) : void
c Card
return void

SetCards() public method

public SetCards ( Card cards, bool isfresh ) : void
cards Card
isfresh bool
return void

SetImage() public method

public SetImage ( long id ) : void
id long
return void

SetImage() public method

public SetImage ( string id ) : void
id string
return void