C# Class DataEditorX.DataEditForm

Afficher le fichier Open project: 247321453/DataEditorX Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public CanOpen ( string file ) : bool
file string
Résultat bool

CardFilter() public méthode

public CardFilter ( Card c, Card sc ) : bool
c Card
sc Card
Résultat bool

CheckOpen() public méthode

public CheckOpen ( ) : bool
Résultat bool

CheckUpdate() public méthode

public CheckUpdate ( bool showNew ) : void
showNew bool
Résultat void

CompareCards() public méthode

public CompareCards ( string cdbfile, bool checktext ) : void
cdbfile string
checktext bool
Résultat void

Create() public méthode

public Create ( string file ) : bool
file string
Résultat bool

DataEditForm() public méthode

public DataEditForm ( ) : System
Résultat System

DataEditForm() public méthode

public DataEditForm ( string datapath ) : System
datapath string
Résultat System

DataEditForm() public méthode

public DataEditForm ( string datapath, string cdbfile ) : System
datapath string
cdbfile string
Résultat System

GetCard() public méthode

public GetCard ( ) : Card
Résultat Card

GetCardList() public méthode

public GetCardList ( bool onlyselect ) : Card[]
onlyselect bool
Résultat Card[]

GetOldCard() public méthode

public GetOldCard ( ) : Card
Résultat Card

GetOpenFile() public méthode

public GetOpenFile ( ) : string
Résultat string

GetPath() public méthode

public GetPath ( ) : YgoPath
Résultat YgoPath

InitControl() public méthode

public InitControl ( DataConfig datacfg ) : void
datacfg DataConfig
Résultat void

Open() public méthode

public Open ( string file ) : bool
file string
Résultat bool

Reset() public méthode

public Reset ( ) : void
Résultat void

Save() public méthode

public Save ( ) : bool
Résultat bool

SaveCards() public méthode

public SaveCards ( Card cards ) : void
cards Card
Résultat void

Search() public méthode

public Search ( bool isfresh ) : void
isfresh bool
Résultat void

SetActived() public méthode

public SetActived ( ) : void
Résultat void

SetCard() public méthode

public SetCard ( Card c ) : void
c Card
Résultat void

SetCards() public méthode

public SetCards ( Card cards, bool isfresh ) : void
cards Card
isfresh bool
Résultat void

SetImage() public méthode

public SetImage ( long id ) : void
id long
Résultat void

SetImage() public méthode

public SetImage ( string id ) : void
id string
Résultat void