예제 #1
0
 public CompareForm(SyntaxAnalysis sa, GPDictionary gpDict, LFDictionary lfDict)
 {
     this.sa     = sa;
     this.gpDict = gpDict;
     this.lfDict = lfDict;
     InitializeComponent();
 }
예제 #2
0
 public ImportGPForm(string fileName, SyntaxAnalysis sa, GPDictionary gpDict)
 {
     InitializeComponent();
     this.fileName = fileName;
     this.sa       = sa;
     this.gpDict   = gpDict;
 }
예제 #3
0
 public EditGPDictForm(GPDictionary gpDict, SyntaxAnalysis sa)
 {
     InitializeComponent();
     this.gpDict = gpDict;
     this.sa     = sa;
     lbGp.Items.AddRange(gpDict.GetList());
     lbGpFreq.Items.AddRange(gpDict.GetFreqList());
     labNum.Text = string.Format("Объем: {0}", lbGp.Items.Count);
 }
예제 #4
0
        public AddGPForm(GovPattern[] arrGp, GPDictionary gpDict)
        {
            InitializeComponent();
            this.gpDict = gpDict;
            this.arrGp  = arrGp;
            gpIndex     = 0;
            int valMax = Enum.GetValues(typeof(Actant)).Length;

            for (int i = 1; i < valMax; i++)
            {
                lbAct.Items.Add((Actant)i);
            }
            ShowGPInfo();
        }
예제 #5
0
 void createGpDictToolStripMenuItem_Click(object sender, EventArgs e)
 {
     gpDict = new GPDictionary();
 }