public PackInfo(string Title, string Content) { InitializeComponent(); txt_title.Text = Title; txt_content.Text = Content; windowIO = new WindowIO(this); setsize(); }
public MainForm() { SetStyle(ControlStyles.UserPaint, true); SetStyle(ControlStyles.AllPaintingInWmPaint, true); SetStyle(ControlStyles.DoubleBuffer, true); InitializeComponent(); txt_appTitle.Text = AssemblyTitle; txt_appVersion.Text = AssemblyVersion; QuickUpdateMethod = new zCheckUpdate(WindowVersionStatus, busy); UpdateMethod = new zCheckUpdate(btn_update, btn_checkUpdates, txt_curversion, txt_latestversion, busy); installer = new Installer(this, prb_progressBar_File, prb_progressBar_All, txt_progressStatus, txt_percentageStatus, txt_curFile, btn_Launch, btn_cancelDownload, txtb_armaDirectory, txtb_tsDirectory, txtb_modsDirectory, btn_ereaseArmaDirectory, btn_ereaseTSDirectory, btn_ereaseModsDirectory, btn_browseA3, btn_browseTS3, btn_browseModsDirectory, btn_reinstallTFRPlugins, btn_downloadDragonFyre, btn_downloadBlastcore); downloader = new Downloader(this, installer, prb_progressBar_File, prb_progressBar_All, txt_curFile, txt_progressStatus, txt_percentageStatus, btn_Launch, btn_cancelDownload); remoteReader = new RemoteReader(); fetchAddonPacks = new Packs(this, PacksPanel); eReport = new EmailReporter(); aLooker = new AddonsLooker(lstb_detectedAddons, lstb_activeAddons, chb_dragonfyre, chb_blastcore); loadingSplash = new Windows.Splash(); windowIO = new WindowIO(this); addonsPanelIO = new PanelIO(panel_packs, Panels, 304, 306, 33); communityPanelIO = new PanelIO(panel_community, Panels, 304, 306, 33); launchoptionsPanelIO = new PanelIO(panel_launchOptions, Panels, 304, 306, 33); helpPanelIO = new PanelIO(panel_help, Panels, 304, 306, 33); aboutPanelIO = new PanelIO(panel_about, Panels, 304, 306, 33); topPanelsIO = new PanelIO(panelDirectories, panelMenu, 4); botPanelIO = new PanelIO(panel_bottomHide_Inner, panel_bottomhide, 746, 750, 53); }
public PrivatePackManager() { InitializeComponent(); windowIO = new WindowIO(this); }