Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@378 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
19 changed files with 42 additions and 228 deletions
Binary file not shown.
After Width: | Height: | Size: 365 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@ -1,102 +0,0 @@ |
|||||||
<Components version="1.0"> |
|
||||||
<System.Windows.Forms.UserControl> |
|
||||||
<Name value="ProjectAndCombineOptionsPanel" /> |
|
||||||
<DockPadding value="" /> |
|
||||||
<ClientSize value="{Width=352, Height=324}" /> |
|
||||||
<Controls> |
|
||||||
<System.Windows.Forms.GroupBox> |
|
||||||
<Name value="CreatedObject2" /> |
|
||||||
<TabIndex value="0" /> |
|
||||||
<Location value="{X=8,Y=8}" /> |
|
||||||
<Anchor value="Top, Left, Right" /> |
|
||||||
<ClientSize value="{Width=336, Height=104}" /> |
|
||||||
<Text value="${res:Dialog.Options.IDEOptions.ProjectAndCombineOptions.SettingsGroupBox}" /> |
|
||||||
<Controls> |
|
||||||
<System.Windows.Forms.Button> |
|
||||||
<Name value="selectProjectLocationButton" /> |
|
||||||
<Location value="{X=294,Y=32}" /> |
|
||||||
<ClientSize value="{Width=32, Height=21}" /> |
|
||||||
<Text value="..." /> |
|
||||||
<Anchor value="Top, Right" /> |
|
||||||
<TabIndex value="6" /> |
|
||||||
</System.Windows.Forms.Button> |
|
||||||
<System.Windows.Forms.TextBox> |
|
||||||
<Name value="projectLocationTextBox" /> |
|
||||||
<Anchor value="Top, Left, Right" /> |
|
||||||
<TabIndex value="1" /> |
|
||||||
<Location value="{X=8,Y=32}" /> |
|
||||||
<ClientSize value="{Width=276, Height=17}" /> |
|
||||||
<Text value="" /> |
|
||||||
</System.Windows.Forms.TextBox> |
|
||||||
<System.Windows.Forms.Label> |
|
||||||
<Name value="label" /> |
|
||||||
<Text value="${res:Dialog.Options.IDEOptions.ProjectAndCombineOptions.ProjectLocationLabel}" /> |
|
||||||
<TextAlign value="BottomLeft" /> |
|
||||||
<Anchor value="Top, Left, Right" /> |
|
||||||
<TabIndex value="0" /> |
|
||||||
<ClientSize value="{Width=320, Height=16}" /> |
|
||||||
<Location value="{X=8,Y=16}" /> |
|
||||||
</System.Windows.Forms.Label> |
|
||||||
<System.Windows.Forms.CheckBox> |
|
||||||
<Name value="loadPrevProjectCheckBox" /> |
|
||||||
<Location value="{X=8,Y=56}" /> |
|
||||||
<ClientSize value="{Width=320, Height=32}" /> |
|
||||||
<Text value="${res:Dialog.Options.IDEOptions.ProjectAndCombineOptions.LoadPrevProjectCheckBox}" /> |
|
||||||
<Anchor value="Top, Left, Right" /> |
|
||||||
<TabIndex value="8" /> |
|
||||||
</System.Windows.Forms.CheckBox> |
|
||||||
</Controls> |
|
||||||
</System.Windows.Forms.GroupBox> |
|
||||||
<System.Windows.Forms.GroupBox> |
|
||||||
<Name value="CreatedObject27" /> |
|
||||||
<TabIndex value="1" /> |
|
||||||
<Location value="{X=8,Y=128}" /> |
|
||||||
<Anchor value="Top, Bottom, Left, Right" /> |
|
||||||
<ClientSize value="{Width=336, Height=184}" /> |
|
||||||
<Text value="${res:Dialog.Options.IDEOptions.ProjectAndCombineOptions.BuildAndRunGroupBox}" /> |
|
||||||
<Controls> |
|
||||||
<System.Windows.Forms.CheckBox> |
|
||||||
<Name value="showTaskListCheckBox" /> |
|
||||||
<Location value="{X=8,Y=144}" /> |
|
||||||
<ClientSize value="{Width=320, Height=32}" /> |
|
||||||
<Text value="${res:Dialog.Options.IDEOptions.ProjectAndCombineOptions.ShowTaskListPadCheckBox}" /> |
|
||||||
<Anchor value="Top, Left, Right" /> |
|
||||||
<TabIndex value="10" /> |
|
||||||
</System.Windows.Forms.CheckBox> |
|
||||||
<System.Windows.Forms.CheckBox> |
|
||||||
<Name value="showOutputCheckBox" /> |
|
||||||
<Location value="{X=8,Y=112}" /> |
|
||||||
<ClientSize value="{Width=320, Height=32}" /> |
|
||||||
<Text value="${res:Dialog.Options.IDEOptions.ProjectAndCombineOptions.ShowOutputPadCheckBox}" /> |
|
||||||
<Anchor value="Top, Left, Right" /> |
|
||||||
<TabIndex value="9" /> |
|
||||||
</System.Windows.Forms.CheckBox> |
|
||||||
<System.Windows.Forms.RadioButton> |
|
||||||
<Name value="noSaveRadioButton" /> |
|
||||||
<Location value="{X=8,Y=72}" /> |
|
||||||
<ClientSize value="{Width=320, Height=32}" /> |
|
||||||
<Text value="${res:Dialog.Options.IDEOptions.ProjectAndCombineOptions.DontSaveRadioButton}" /> |
|
||||||
<Anchor value="Top, Left, Right" /> |
|
||||||
<TabIndex value="2" /> |
|
||||||
</System.Windows.Forms.RadioButton> |
|
||||||
<System.Windows.Forms.RadioButton> |
|
||||||
<Name value="promptChangesRadioButton" /> |
|
||||||
<Location value="{X=8,Y=44}" /> |
|
||||||
<ClientSize value="{Width=320, Height=32}" /> |
|
||||||
<Text value="${res:Dialog.Options.IDEOptions.ProjectAndCombineOptions.PromptToSaveRadioButton}" /> |
|
||||||
<Anchor value="Top, Left, Right" /> |
|
||||||
<TabIndex value="1" /> |
|
||||||
</System.Windows.Forms.RadioButton> |
|
||||||
<System.Windows.Forms.RadioButton> |
|
||||||
<Name value="saveChangesRadioButton" /> |
|
||||||
<Location value="{X=8,Y=16}" /> |
|
||||||
<ClientSize value="{Width=320, Height=32}" /> |
|
||||||
<Text value="${res:Dialog.Options.IDEOptions.ProjectAndCombineOptions.SaveChangesRadioButton}" /> |
|
||||||
<Anchor value="Top, Left, Right" /> |
|
||||||
<TabIndex value="0" /> |
|
||||||
</System.Windows.Forms.RadioButton> |
|
||||||
</Controls> |
|
||||||
</System.Windows.Forms.GroupBox> |
|
||||||
</Controls> |
|
||||||
</System.Windows.Forms.UserControl> |
|
||||||
</Components> |
|
@ -1,86 +0,0 @@ |
|||||||
//// <file>
|
|
||||||
//// <copyright see="prj:///doc/copyright.txt"/>
|
|
||||||
//// <license see="prj:///doc/license.txt"/>
|
|
||||||
//// <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
|
|
||||||
//// <version value="$version"/>
|
|
||||||
//// </file>
|
|
||||||
//
|
|
||||||
//using System;
|
|
||||||
//using System.IO;
|
|
||||||
//using System.Drawing;
|
|
||||||
//using System.Collections;
|
|
||||||
//using System.Windows.Forms;
|
|
||||||
//
|
|
||||||
//using ICSharpCode.SharpDevelop.Internal.ExternalTool;
|
|
||||||
//using ICSharpCode.Core;
|
|
||||||
//using ICSharpCode.Core;
|
|
||||||
//using ICSharpCode.SharpDevelop.Gui;
|
|
||||||
//using ICSharpCode.Core;
|
|
||||||
//using ICSharpCode.Core;
|
|
||||||
//using ICSharpCode.Core;
|
|
||||||
//
|
|
||||||
//namespace ICSharpCode.SharpDevelop.Gui.OptionPanels
|
|
||||||
//{
|
|
||||||
// public class ProjectAndCombinePanel : AbstractOptionPanel
|
|
||||||
// {
|
|
||||||
// public override void LoadPanelContents()
|
|
||||||
// {
|
|
||||||
// SetupFromXmlStream(this.GetType().Assembly.GetManifestResourceStream("Resources.ProjectAndCombineOptions.xfrm"));
|
|
||||||
//
|
|
||||||
// // read properties
|
|
||||||
// ControlDictionary["projectLocationTextBox"].Text = PropertyService.Get("ICSharpCode.SharpDevelop.Gui.NewProjectDialog.DefaultPath", Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal),
|
|
||||||
// "SharpDevelop Projects")).ToString();
|
|
||||||
//
|
|
||||||
// BeforeCompileAction action = (BeforeCompileAction)PropertyService.Get("SharpDevelop.Services.ParserService.BeforeCompileAction", BeforeCompileAction.SaveAllFiles);
|
|
||||||
//
|
|
||||||
// ((RadioButton)ControlDictionary["saveChangesRadioButton"]).Checked = action == BeforeCompileAction.SaveAllFiles;
|
|
||||||
// ((RadioButton)ControlDictionary["promptChangesRadioButton"]).Checked = action == BeforeCompileAction.PromptForSave;
|
|
||||||
// ((RadioButton)ControlDictionary["noSaveRadioButton"]).Checked = action == BeforeCompileAction.Nothing;
|
|
||||||
//
|
|
||||||
// ((CheckBox)ControlDictionary["loadPrevProjectCheckBox"]).Checked = (bool)PropertyService.Get("SharpDevelop.LoadPrevProjectOnStartup", false);
|
|
||||||
//
|
|
||||||
// ((CheckBox)ControlDictionary["showTaskListCheckBox"]).Checked = (bool)PropertyService.Get("SharpDevelop.ShowTaskListAfterBuild", true);
|
|
||||||
// ((CheckBox)ControlDictionary["showOutputCheckBox"]).Checked = (bool)PropertyService.Get("SharpDevelop.ShowOutputWindowAtBuild", true);
|
|
||||||
//
|
|
||||||
// ((Button)ControlDictionary["selectProjectLocationButton"]).Click += new EventHandler(SelectProjectLocationButtonClicked);
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// public override bool StorePanelContents()
|
|
||||||
// {
|
|
||||||
// // check for correct settings
|
|
||||||
// string projectPath = ControlDictionary["projectLocationTextBox"].Text;
|
|
||||||
// if (projectPath.Length > 0) {
|
|
||||||
// if (!FileUtility.IsValidFileName(projectPath)) {
|
|
||||||
// MessageService.ShowError("Invalid project path specified");
|
|
||||||
// return false;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// // set properties
|
|
||||||
// PropertyService.Set("ICSharpCode.SharpDevelop.Gui.NewProjectDialog.DefaultPath", projectPath);
|
|
||||||
//
|
|
||||||
// if (((RadioButton)ControlDictionary["saveChangesRadioButton"]).Checked) {
|
|
||||||
// PropertyService.Set("SharpDevelop.Services.ParserService.BeforeCompileAction", BeforeCompileAction.SaveAllFiles);
|
|
||||||
// } else if (((RadioButton)ControlDictionary["promptChangesRadioButton"]).Checked) {
|
|
||||||
// PropertyService.Set("SharpDevelop.Services.ParserService.BeforeCompileAction", BeforeCompileAction.PromptForSave);
|
|
||||||
// } else if (((RadioButton)ControlDictionary["noSaveRadioButton"]).Checked) {
|
|
||||||
// PropertyService.Set("SharpDevelop.Services.ParserService.BeforeCompileAction", BeforeCompileAction.Nothing);
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// PropertyService.Set("SharpDevelop.LoadPrevProjectOnStartup", ((CheckBox)ControlDictionary["loadPrevProjectCheckBox"]).Checked);
|
|
||||||
//
|
|
||||||
// PropertyService.Set("SharpDevelop.ShowTaskListAfterBuild", ((CheckBox)ControlDictionary["showTaskListCheckBox"]).Checked);
|
|
||||||
// PropertyService.Set("SharpDevelop.ShowOutputWindowAtBuild", ((CheckBox)ControlDictionary["showOutputCheckBox"]).Checked);
|
|
||||||
//
|
|
||||||
// return true;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// void SelectProjectLocationButtonClicked(object sender, EventArgs e)
|
|
||||||
// {
|
|
||||||
// FolderDialog fdiag = new FolderDialog();
|
|
||||||
// if (fdiag.DisplayDialog("Select default combile location") == DialogResult.OK) {
|
|
||||||
// ControlDictionary["projectLocationTextBox"].Text = fdiag.Path;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
//}
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue