private void FileButton_Click(object sender, EventArgs e) { editorContainer.Visible = false; LeftTopItemsPanel.Visible = false; wordTabControl.Visible = false; StatusPanel.Visible = false; TopPanel.Separator = 125; fileOptionsControl = new FileOptionsControl(fileOptionsControl, this); fileOptionsControl.Location = new Point(0, 0); fileOptionsControl.Height = MainPanel.Height; MainPanel.Controls.Add(fileOptionsControl); fileOptionsControl.SetFileOptionsObject = fileOptionsControl; AddFileOptionsControl(); }
public FileOptionsControl(FileOptionsControl foptctrl, MainForm mainFrm) { InitializeComponent(); fileOptionsControl = foptctrl; mainForm = mainFrm; }