示例#1
0
        private void common_Popup(pjse.FileTable.Entry item, SimPe.ExpansionItem exp, bool noOverride)
        {
            if (item == null)
            {
                return;               // this should never happen
            }
            Bcon bcon = new Bcon();

            bcon.ProcessData(item.PFD, item.Package);

            BconForm ui  = (BconForm)bcon.UIHandler;
            string   tag = "Popup"; // tells the SetReadOnly function it's in a popup - so everything locked down

            if (noOverride)
            {
                tag += ";noOverride";             //
            }
            if (exp != null)
            {
                tag += ";expName=+" + exp.NameShort + "+";
            }
            ui.Tag = tag;

            bcon.RefreshUI();
            ui.Show();
        }
示例#2
0
 public CompareWithEventArgs(pjse.FileTable.Entry item, SimPe.ExpansionItem exp) : base()
 {
     this.item = item; this.exp = exp;
 }