Пример #1
0
 private void openWithRandomDataToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     IFrame frame = BasicFrameGenerator.CreateTable(11, new Type[] { typeof(int), typeof(double) });
     var view = new DataPropertiesForm();
     var retriever = new FramePropertyRetrieverToPlainText();
     view.SetPropertiesText(retriever.GetProperties(frame));
     view.Show();
 }
Пример #2
0
 private void createDataToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     var frameGen = new FrameGeneratorForm();
     var dialogResult = frameGen.ShowDialog();
     if (dialogResult == DialogResult.OK)
     {
         IFrame frame = frameGen.OutputFrame;
         var view = new DataPropertiesForm();
         var retriever = new FramePropertyRetrieverToPlainText();
         view.SetPropertiesText(retriever.GetProperties(frame));
         view.Show();
     }
 }