Example #1
0
        //==========================================================================
        //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);
            }
        }
Example #2
0
 public CtlUserView(DataViewInfo dataViewInfo)
 {
     InitializeComponent();
     InitToolAndMenu();
     mDataViewInfo = dataViewInfo;
     DataShower.Add(lstData);
 }
Example #3
0
 public CtlDocumentView(DataViewInfo dataViewInfo)
 {
     InitializeComponent();
     InitToolAndMenu();
     if (dataViewInfo == null)
     {
         return;
     }
     MDataViewInfo = dataViewInfo;
     DataShower.Add(lstData);
     DataShower.Add(txtData);
     DataShower.Add(trvData);
 }