public MemoForm(Memo memo) { owner = memo; InitializeComponent(); toolStripTrackBar = new ToolStripTrackBar(); toolStripTrackBar.BlockColorChange = true; toolStripTrackBar.ValueChanged += toolStripTrackBar_ValueChanged; contextMenuStrip1.Items.Add(toolStripTrackBar); }
protected override void Dispose(bool disposing) { this.owner = null; if(disposing && (this.components != null)) { this.components.Dispose(); } base.Dispose(disposing); }
public MemoForm(Memo memo) { this.owner = memo; this.InitializeComponent(); this.toolStripTrackBar = new QuizoPlugins.ToolStripTrackBar(); this.toolStripTrackBar.BlockColorChange = true; this.toolStripTrackBar.ValueChanged += new EventHandler(this.toolStripTrackBar_ValueChanged); this.contextMenuStrip1.Items.Add(this.toolStripTrackBar); }