private void Form1_Load(object sender, EventArgs e) { MachineSettings = new PlotterSettings(); MachineSettings.LoadDefault(); lstSettings.View = View.Details; lstSettings.Columns.Add("Setting"); lstSettings.Columns.Add("Value"); tabMachSettings.Enter += TabMachSettingsOnEnter; refreshSettings(); }
public SerialControl(MainForm p, WhiteBoard b) { InitializeComponent(); mainBoard = b; btnConnectSerial.Text = "Connect"; cmbComPorts.DropDown += CmbComPorts_DropDown; SerialStatus("Idle..."); currentSettings = new PlotterSettings(); currentSettings.LoadDefault(); Parent = p; drawingBuffer = new List <string>(); btnDrawOnPlotter.Enabled = false; GState = ""; grpC.SizeChanged += ResizeList; }