public TexturePatternEditor() { InitializeComponent(); numericFrameCount.Maximum = decimal.MaxValue; numericFrameOffset.Maximum = decimal.MaxValue; numericTextureNumber.Maximum = decimal.MaxValue; patternSystem = new PatternSystem(); }
public void OpenFile(string fileName) { patternSystem = new PatternSystem(fileName); listBoxPatterns.Items.Clear(); foreach (string p in patternSystem.GetPatternEntries()) { listBoxPatterns.Items.Add(p); } listBoxFrames.Items.Clear(); toolStripStatusLabel1.Text = patternSystem.CurrentlyOpenTXC; }
public void New() { toolStripStatusLabel1.Text = "No file loaded"; patternSystem = new PatternSystem(); listBoxPatterns.Items.Clear(); }