Inheritance: System.Windows.Forms.Form
コード例 #1
0
 /// <summary>
 /// Constructor of the Log Dialog.
 /// </summary>
 /// <param name="control"> The Main Control.</param>
 /// <param name="form"> The Main Form.</param>
 public LogDialog(MainControl control, MainForm form)
 {
     InitializeComponent();
     lv_LogDialog.View = View.Details;
     LogSystem.addView(lv_LogDialog);
     this.control = control;
     this.form = form;
 }
コード例 #2
0
 //Constructor
 /// <summary>
 ///  Constructor of the Data Preferences Dialog.
 /// </summary>
 /// <param name="main"> The MainForm, needed to pass changes in the Preferences to the MainControl.</param>
 public DataPreferences(MainForm main)
 {
     this.main = main;
     InitializeComponent();
     TimeStamps = true;
     formatTimeStamp = "ts";
     DataPrefMultiple = 0;
     mTBIntervals.Text = ""+20;
     main.passDataPrefChanges(TimeStamps, getDataPref(), formatToString());
 }
コード例 #3
0
 /// <summary>
 /// Give the MainControl access to the MainForm
 /// </summary>
 /// <param name="form">The Main Form</param>
 public void setMainForm(MainForm form)
 {
     mainForm = form;
 }