Пример #1
0
 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();
 }
Пример #2
0
 public FileOptionsControl(FileOptionsControl foptctrl, MainForm mainFrm)
 {
     InitializeComponent();
     fileOptionsControl = foptctrl;
     mainForm           = mainFrm;
 }