//========================================================================== //Run a test .acf file //========================================================================== private void assignacfToolStripMenuItem_Click(object sender, EventArgs e) { List <string> Data = new List <string>(); foreach (Classes.CodeFileClass x in CodeHandler) { Data.Add(x.getName()); } int returnvalue = -1; DataShower Show = new DataShower { Data = Data, returnInt = returnvalue }; Show.ShowDialog(); returnvalue = Show.returnInt; if (returnvalue != -1) { CodeHandler[returnvalue].Sequence.Execute(ref Game); } }
public CtlUserView(DataViewInfo dataViewInfo) { InitializeComponent(); InitToolAndMenu(); mDataViewInfo = dataViewInfo; DataShower.Add(lstData); }
public CtlDocumentView(DataViewInfo dataViewInfo) { InitializeComponent(); InitToolAndMenu(); if (dataViewInfo == null) { return; } MDataViewInfo = dataViewInfo; DataShower.Add(lstData); DataShower.Add(txtData); DataShower.Add(trvData); }