public bool AddLineCoordinates(uint x1, uint y1, uint x2, uint y2) { string data; data = FormatLineCoordinates(x1, y1, x2, y2); CommandrichTextBox.AppendText(data); _commandList.Add(data); CommandrichTextBox.AppendText("\r"); return(true); }
public bool AddPointCoordinates(uint x, uint y, uint z) { string data; data = FormatPointCoordinates(x, y, z); CommandrichTextBox.AppendText(data); _commandList.Add(data); CommandrichTextBox.AppendText("\r"); return(true); }
public CreateBatch(Form1 parentForm, string[] commands) { InitializeComponent(); _parentForm = parentForm; _commandList = new ArrayList(); TransferLabel.Visible = false; progressBarBatch.Visible = false; progressBarBatch.Minimum = 0; progressBarBatch.Value = 0; progressBarBatch.Step = 1; this.TransferLabel.Text = "Transferred Commands 0 di 0"; foreach (var item in commands) { CommandrichTextBox.AppendText(item); _commandList.Add(item); CommandrichTextBox.AppendText("\r"); } _bDirty = false; }