protected virtual void initCtrls() { m_inputPanel = CrtInputPanel(); m_inputPanel.InitCtrls(); tableLayoutPanel1.Controls.Add(m_inputPanel.m_tbl); tableLayoutPanel1.Dock = DockStyle.Fill; }
public static void Initialize(FormBase masterForm) { _masterForm = masterForm; _inputPanel = new InputPanel(); ViewTransitionManager.Initialize(masterForm.TransitionControl); }
public void Init() { input = transform.Find("InputField").GetComponent <InputField>(); inputPanel = GameObject.Find("/UI/CanvasBack").transform.Find("InputPanel").GetComponent <InputPanel>(); texdraw = transform.Find("TEXDraw").GetComponent <TEXDraw>(); Clear(); }
void InitUI() { geoUI = new GeoUI(); Transform canvasBack = GameObject.Find("/UI/CanvasBack").transform; Transform canvasFront = GameObject.Find("/UI/CanvasFront").transform; NavPanel navPanel = canvasBack.Find("NavPanel").GetComponent <NavPanel>(); navPanel.OnShadeButtonClick = HandleClickShadeButton; navPanel.OnLockButtonClick = HandleClickLockButton; navPanel.OnDisplayButtonClick = HandleClickDisplayButton; navPanel.OnCoordinateButtonClick = HandleClickCoordinateButton; navPanel.OnGridButtonClick = HandleClickGridButton; navPanel.OnSnapButtonClick = HandleClickSnapButton; geometryBehaviour.OnElementDisplayChange = HandleElementDisplayChange; navPanel.Init(); ToolPanel toolPanel = canvasBack.Find("ToolPanel").GetComponent <ToolPanel>(); toolPanel.Init(); toolPanel.OnClickTool = HandleClickTool; StatePanel statePanel = canvasBack.Find("StatePanel").GetComponent <StatePanel>(); statePanel.Init(); InputPanel inputPanel = canvasBack.Find("InputPanel").GetComponent <InputPanel>(); inputPanel.Init(); ElementPanel elementPanel = canvasFront.Find("ElementPanel").GetComponent <ElementPanel>(); elementPanel.Init(); ActivePanel activePanel = canvasFront.Find("ActivePanel").GetComponent <ActivePanel>(); activePanel.Init(); CameraPanel cameraPanel = canvasFront.Find("CameraPanel").GetComponent <CameraPanel>(); cameraPanel.OnCenterButtonClick = HandleClickCenterButton; cameraPanel.OnZoomInButtonClick = HandleClickZoomInButton; cameraPanel.OnZoomOutButtonClick = HandleClickZoomOutButton; cameraPanel.OnUpButtonClick = HandleClickUpButton; cameraPanel.OnDownButtonClick = HandleClickDownButton; cameraPanel.Init(); cameraPanel.SetCenterButtonActive(false); geoUI.navPanel = navPanel; geoUI.toolPanel = toolPanel; geoUI.statePanel = statePanel; geoUI.inputPanel = inputPanel; geoUI.elementPanel = elementPanel; geoUI.activePanel = activePanel; geoUI.cameraPanel = cameraPanel; }
private void ShowInputPanel(object x) { if (_canChangeValue) { _propertyName = x as string; _inputPanel = new InputPanel(this); _inputPanel.ShowDialog(); } }
private void TxtSearch_GotFocus(object sender, RoutedEventArgs e) { if (txt_keyword.Text.Trim().Equals(App.Current.FindResource("txt_search"))) { txt_keyword.Text = ""; } InputPanel.ShowInputPanel(); }
public static void KeyboardChange(InputPanel panel) { foreach (InputMethod item in panel.InputMethods) { if (item.Name == "MSH Keyboard") { panel.CurrentInputMethod = item; } } }
static InputSelector() { try { _inputPanel = new InputPanel(); } catch { } }
static InputSelector() { try { _inputPanel = new InputPanel(); } catch { } }
//: base() public FormBase(Form form) { ReturnForm = form; InputPanel = new InputPanel(); InputPanel.EnabledChanged += new EventHandler(InputPanel_EnabledChanged2); timer = new Timer(); timer.Interval = 1; timer.Tick += new System.EventHandler(this.timer_Tick); }
public FormBase(Form form) //: base() { ReturnForm = form; InputPanel = new InputPanel(); InputPanel.EnabledChanged += new EventHandler(InputPanel_EnabledChanged2); timer = new Timer(); timer.Interval = 1; timer.Tick += new System.EventHandler(this.timer_Tick); }
public VertexCoordinateOperation(GeoController geoController, StateController stateController, Geometry geometry, GeometryBehaviour geometryBehaviour, GeoUI geoUI, VertexUnit vertexUnit) { CanRotateCamera = true; CanActiveElement = false; this.geoController = geoController; this.stateController = stateController; this.geometry = geometry; this.geometryBehaviour = geometryBehaviour; this.inputPanel = geoUI.inputPanel; this.vertexUnit = vertexUnit; }
public RootForm() { InitializeComponent(); _inputPanel = new InputPanel(new System.ComponentModel.Container()); _inputPanel.EnabledChanged += inputPanel_EnabledChanged; Closing += RootForm_Closing; Deactivate += RootForm_Deactivate; Activated += RootForm_Activated; _hook = new HookKeys(); _hook.HookEvent += HookEvent; }
protected InputPanel setupInputControl(InputPanel formControl, int inputContainerColumnIndex, string fieldTitle, string fieldDBName, bool disableOnSearch) { formControl.TabIndex = tabCounter++; formControl.Visible = true; //set to visible formControl.setLabelText(fieldTitle); //set label text in control _inputToClear.Add(formControl); //add field to list of input to clear if (disableOnSearch) { _inputToDisableOnSearch.Add(formControl); //add field to list of input to hide on search } FieldnamesForQuickSearch.Add(fieldDBName); //add field name to quick search list InputColumns[inputContainerColumnIndex].Controls.Add(formControl); //add to input field container return(formControl); }
public override void OnMouseDown(object sender, PInputEventArgs e) { base.OnMouseDown(sender, e); e.InputManager.KeyboardFocus = e.Path; InputPanel inputPanel = new InputPanel(); if (!inputPanel.Enabled) { inputPanel.Enabled = true; } System.Console.WriteLine("red mousedown"); }
private void Tools_OSK_Click(object sender, EventArgs e) { InputPanel ip = new InputPanel(); foreach (InputMethod im in ip.InputMethods) { if (im.Name == "LargeKB") { ip.CurrentInputMethod = im; break; } } ip.Enabled = true; Logger.Good("Opened OSK."); }
protected override void OnInitialized(EventArgs e) { base.OnInitialized(e); var code = GetHashCode(); var formattingType = LanguageFeatureInfo.GetFormattingType(CodingLang); ConfigManager.AddEditorConfig(code, new Config { Language = CodingLang, FormattingType = formattingType }); HelpersPanel.SetUpMessaging(); InputPanel.SetUpMessaging(); }
void Update() { if (Input.touchCount > 0) { if (Input.touches[0].phase == TouchPhase.Began) { var ray = Camera.main.ScreenPointToRay(Input.touches[0].rawPosition); RaycastHit hit; if (Physics.Raycast(ray, out hit, layermask)) { InputPanel ip = hit.transform.GetComponent <InputPanel>(); ip.OnTap(); } } } }
public MainForm() { InitializeComponent(); client = new Client(); this.inputPanel = new InputPanel(); inputPanel.EnabledChanged += new EventHandler(inputPanel_EnabledChanged); this.Menu = new MainMenu(); BuildMenuItems(); SetCommentPanelVisibility(false); client.CommentSent = (status => { this.BeginInvoke(new Action<bool>(CommentSent), status); }); }
public MoveVertexOperation(StateController stateController, GeoCamera geoCamera, Geometry geometry, GeometryBehaviour geometryBehaviour, GeoUI geoUI, VertexUnit vertex, VertexBehaviour vertexBehaviour, bool snap) { CanRotateCamera = false; CanActiveElement = false; this.stateController = stateController; this.geoCamera = geoCamera; this.geometry = geometry; this.geometryBehaviour = geometryBehaviour; this.inputPanel = geoUI.inputPanel; this.vertex = vertex; this.vertexBehaviour = vertexBehaviour; this.snap = snap; }
public PUCFrame() { // // Required for Windows Form Designer support // InitializeComponent(); Debug.Assert(DEFAULT_FRAME == null, "PUCFrame should only be instantiated once."); PUCFrame.DEFAULT_FRAME = this; _measureCtl = new MeasureStringControl(); this.Controls.Add(_measureCtl); _measureCtl.Location = new Point(0, 0); _measureCtl.Size = new Size(0, 0); Globals.Init(VERSION_STRING, "\\Program Files\\PUC\\pucdata.xml", this, this, this, this, _measureCtl, "\\Program Files\\PUC\\pocketpc.xml"); _uiEventQueue = new Queue(); _appliances = new ArrayList(); _servers = new ArrayList(); this.Text = Globals.GetVersionString(); AddLogLine(Globals.GetVersionString() + " Starting..."); this.logPanel.Size = this.ClientSize; this.logBox.Size = new System.Drawing.Size(this.logPanel.Size.Width, this.logPanel.Size.Height - this.logBox.Location.Y); _connectDialog = new ConnectServerDlg(this); _optionsDialog = new OptionsDialog(); _inputPanel = new InputPanel(); _inputPanel.EnabledChanged += new EventHandler(_inputPanel_EnabledChanged); SetupRecentList(); SetupRulePhases(); _registry = WidgetRegistryParser.Parse(Globals.GetWidgetRegistryFileName()); SetupSmartCIOManager(); }
public AddAuxiliaryOperation(GeoController geoController, StateController stateController, Geometry geometry, GeometryBehaviour geometryBehaviour, GeoUI geoUI, Tool tool) { CanRotateCamera = true; CanActiveElement = true; this.geoController = geoController; this.stateController = stateController; this.geometry = geometry; this.geometryBehaviour = geometryBehaviour; this.inputPanel = geoUI.inputPanel; this.tool = tool; Type type = Type.GetType(tool.Name + "AuxiliaryTool"); if (type != null) { auxiliaryTool = (AuxiliaryTool)Activator.CreateInstance(type); } }
/* On .NetCF, only one instance of an application can run. This single instance behavior is achieved by * reactivating a special window that belongs to the application. The developer is unaware of this window, * and the window can not be accessed via other windows of the application. When we run in "hidden" mode, * we need to know when the application is activated, in order to allow the worker thread to continue * execution. * So, when we run in "hidden" mode, there are 2 window subclassing operations we need to perform. First, * we need to subclass our initial form's window, so we can keep hiding it whenever the system tries to * activate it. Secondly, we need to subclass the special window so we can intercept the activation message * and release the lock of the worker thread. This special window is found by enumerating windows and looking * for the one with the specific class name, which is composed from a constant string and the executable name. */ internal MainForm() { try { _inputPanel = new InputPanel(); _inputPanel.EnabledChanged += new EventHandler(inputPanel_EnabledChanged); } catch { } subclassTopMostWindow(); if (ClientManager.Instance.IsHidden) { // If we are hidden, lock the wait object and subclass the windows Monitor.Enter(ClientManager.Instance.getWaitHiddenObject()); subclassThisForm(Handle); } InitializeComponent(); }
void Start() { //获取麦克风设备,判断是否有麦克风设备 if (Microphone.devices.Length > 0) { isHaveMic = true; currentDeviceName = Microphone.devices[0]; Debug.Log("检测到麦克风设备" + Microphone.devices.Length); } else { Debug.Log("无麦克风设备"); return; } //获取相关组件 //textBtn = this.transform.GetChild(0).GetComponent<Text>(); audioSource = this.GetComponent <AudioSource>(); //textResult = this.transform.parent.GetChild(1).GetComponent<Text>(); inputPanel = GameObject.Find("/UI/CanvasBack").transform.Find("InputPanel").GetComponent <InputPanel>(); }
public TextControl() { text = new TextBox(); text.ForeColor = Skin.Current.TextForeColor; text.BackColor = Skin.Current.TextBackGround; text.BorderStyle = BorderStyle.None; text.Anchor = AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Right | AnchorStyles.Bottom; this.Controls.Add(text); text.GotFocus += new EventHandler(text_GotFocus); text.LostFocus += new EventHandler(text_LostFocus); text.KeyDown += new KeyEventHandler(text_KeyDown); text.KeyPress += new KeyPressEventHandler(text_KeyPress); text.KeyUp += new KeyEventHandler(text_KeyUp); if (!Extensions.IsDesignMode(this)) { input = new InputPanel(); } context = new ContextMenu(); context.Popup += new EventHandler(context_Popup); text.ContextMenu = context; }
public ControlTreeDataGrid(IApplicationController controller, FormDataEntryLogic dataEntryController, InputPanel sip) { this.Controller = controller; this.DataEntryController = dataEntryController; DataGridAdjuster.InitializeGrid(this); DataGridTableStyle tableStyle = DataEntryController.Unit.InitializeTreeColumns(this); this.AllowUserToAddRows = false;//don't allow down arrow to add tree this.SIP = sip; //this.Font = new System.Drawing.Font("Courier New", 12F, System.Drawing.FontStyle.Bold); //initialize _BS_trees this._BS_trees = new System.Windows.Forms.BindingSource(); ((System.ComponentModel.ISupportInitialize)(this._BS_trees)).BeginInit(); this._BS_trees.DataSource = typeof(TreeVM); this._BS_trees.CurrentChanged += new EventHandler(_BS_trees_CurrentChanged); this.DataSource = this._BS_trees; ((System.ComponentModel.ISupportInitialize)(this._BS_trees)).EndInit(); _speciesColumn = tableStyle.GridColumnStyles["TreeDefaultValue"] as EditableComboBoxColumn; _sgColumn = tableStyle.GridColumnStyles["SampleGroup"] as EditableComboBoxColumn; _stratumColumn = tableStyle.GridColumnStyles["Stratum"] as EditableComboBoxColumn; _treeNumberColumn = tableStyle.GridColumnStyles["TreeNumber"] as EditableTextBoxColumn; _initialsColoumn = tableStyle.GridColumnStyles["Initials"] as EditableComboBoxColumn; _logsColumn = tableStyle.GridColumnStyles["LogCountActual"] as DataGridButtonColumn; _kpiColumn = tableStyle.GridColumnStyles["KPI"] as EditableTextBoxColumn; _errorsColumn = tableStyle.GridColumnStyles["Errors"] as DataGridTextBoxColumn; if (_logsColumn != null) { _logsColumn.Click += this.LogsClicked; } if (_initialsColoumn != null) { _initialsColoumn.DataSource = this.Controller.Settings.Cruisers.ToArray(); } }
public Workspace(InputPanel ip, KeyPanel kp, ITemplateForm currentTemplate) : this() { for (int i = 0; i < ip.SelectedInputs.Count; i++) { string guid = Guid.NewGuid().ToString(); imageManager.Add(guid, ip.SelectedInputs[i]); myImages.Add(guid, ip.SelectedInputs[i]); } if (kp.AnswerImage != null) { imageManager.Add(Workspace.IMGMGR_ANSWERS, kp.AnswerImagePath); myAnswerkeyPath = kp.AnswerImagePath; } omrProcessor = new ProcessOmrDocumentsOperation(kp.AnswerImage, currentTemplate, imageManager, myImages); this.PassingGrade = kp.PassingGrade; this.verificationParameters = VerificationParameters.GetTemplate(VerificationParameters.FilterTemplate.CommonIssues); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.menuMainStrip = new System.Windows.Forms.MenuStrip(); this.mainToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.minimizeToTrayToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.debugWindowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.closeCurrentWindowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.iceChatSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.iceChatColorsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.iceChatEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.muteAllSoundsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.pluginsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.loadAPluginToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.serverListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.nickListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.bottomPanelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.statusBarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolBarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); this.selectNickListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.selectServerTreeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.selectInputBoxToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.codePlexPageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.iceChatHomePageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.forumsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.facebookFanPageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.downloadPluginsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); this.browseDataFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.browsePluginsFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.checkForUpdateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.iceChatChannelStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.splitterLeft = new System.Windows.Forms.Splitter(); this.splitterRight = new System.Windows.Forms.Splitter(); this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components); this.contextMenuNotify = new System.Windows.Forms.ContextMenuStrip(this.components); this.restoreToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMain = new System.Windows.Forms.ToolStrip(); this.contextMenuToolBar = new System.Windows.Forms.ContextMenuStrip(this.components); this.hideToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripQuickConnect = new System.Windows.Forms.ToolStripButton(); this.toolStripSettings = new System.Windows.Forms.ToolStripButton(); this.toolStripColors = new System.Windows.Forms.ToolStripButton(); this.toolStripEditor = new System.Windows.Forms.ToolStripButton(); this.toolStripAway = new System.Windows.Forms.ToolStripButton(); this.toolStripSystemTray = new System.Windows.Forms.ToolStripButton(); this.toolStripUpdate = new System.Windows.Forms.ToolStripButton(); this.panelDockBottom = new System.Windows.Forms.Panel(); this.toolStripStatus = new System.Windows.Forms.ToolStripStatusLabel(); this.statusStripMain = new System.Windows.Forms.StatusStrip(); this.splitterBottom = new System.Windows.Forms.Splitter(); this.panelDockRight = new IceDockPanel(); this.panelDockLeft = new IceDockPanel(); this.inputPanel = new InputPanel(); this.mainTabControl = new IceTabControl(); this.menuMainStrip.SuspendLayout(); this.contextMenuNotify.SuspendLayout(); this.toolStripMain.SuspendLayout(); this.contextMenuToolBar.SuspendLayout(); this.statusStripMain.SuspendLayout(); this.SuspendLayout(); // // menuMainStrip // this.menuMainStrip.AccessibleDescription = "Main Menu Bar"; this.menuMainStrip.AccessibleRole = System.Windows.Forms.AccessibleRole.MenuBar; this.menuMainStrip.AllowItemReorder = true; this.menuMainStrip.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.menuMainStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mainToolStripMenuItem, this.optionsToolStripMenuItem, this.viewToolStripMenuItem, this.helpToolStripMenuItem}); this.menuMainStrip.Location = new System.Drawing.Point(0, 0); this.menuMainStrip.Name = "menuMainStrip"; this.menuMainStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; this.menuMainStrip.Size = new System.Drawing.Size(796, 25); this.menuMainStrip.TabIndex = 12; this.menuMainStrip.Text = "menuStripMain"; // // mainToolStripMenuItem // this.mainToolStripMenuItem.BackColor = System.Drawing.SystemColors.Menu; this.mainToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.minimizeToTrayToolStripMenuItem, this.debugWindowToolStripMenuItem, this.closeCurrentWindowToolStripMenuItem, this.toolStripMenuItem2, this.exitToolStripMenuItem}); this.mainToolStripMenuItem.Name = "mainToolStripMenuItem"; this.mainToolStripMenuItem.Size = new System.Drawing.Size(49, 21); this.mainToolStripMenuItem.Text = "Main"; // // minimizeToTrayToolStripMenuItem // this.minimizeToTrayToolStripMenuItem.BackColor = System.Drawing.SystemColors.Menu; this.minimizeToTrayToolStripMenuItem.Name = "minimizeToTrayToolStripMenuItem"; this.minimizeToTrayToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T))); this.minimizeToTrayToolStripMenuItem.Size = new System.Drawing.Size(255, 22); this.minimizeToTrayToolStripMenuItem.Text = "Minimize to Tray"; this.minimizeToTrayToolStripMenuItem.Click += new System.EventHandler(this.minimizeToTrayToolStripMenuItem_Click); // // debugWindowToolStripMenuItem // this.debugWindowToolStripMenuItem.BackColor = System.Drawing.SystemColors.Menu; this.debugWindowToolStripMenuItem.Name = "debugWindowToolStripMenuItem"; this.debugWindowToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D))); this.debugWindowToolStripMenuItem.Size = new System.Drawing.Size(255, 22); this.debugWindowToolStripMenuItem.Text = "Debug Window"; this.debugWindowToolStripMenuItem.Click += new System.EventHandler(this.debugWindowToolStripMenuItem_Click); // // closeCurrentWindowToolStripMenuItem // this.closeCurrentWindowToolStripMenuItem.BackColor = System.Drawing.SystemColors.Menu; this.closeCurrentWindowToolStripMenuItem.Name = "closeCurrentWindowToolStripMenuItem"; this.closeCurrentWindowToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W))); this.closeCurrentWindowToolStripMenuItem.Size = new System.Drawing.Size(255, 22); this.closeCurrentWindowToolStripMenuItem.Text = "Close Current Window"; this.closeCurrentWindowToolStripMenuItem.Click += new System.EventHandler(this.closeCurrentWindowToolStripMenuItem_Click); // // toolStripMenuItem2 // this.toolStripMenuItem2.Name = "toolStripMenuItem2"; this.toolStripMenuItem2.Size = new System.Drawing.Size(252, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(255, 22); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // // optionsToolStripMenuItem // this.optionsToolStripMenuItem.BackColor = System.Drawing.SystemColors.Menu; this.optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.iceChatSettingsToolStripMenuItem, this.iceChatColorsToolStripMenuItem, this.iceChatEditorToolStripMenuItem, this.muteAllSoundsToolStripMenuItem, this.pluginsToolStripMenuItem}); this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem"; this.optionsToolStripMenuItem.Size = new System.Drawing.Size(66, 21); this.optionsToolStripMenuItem.Text = "Options"; // // iceChatSettingsToolStripMenuItem // this.iceChatSettingsToolStripMenuItem.Name = "iceChatSettingsToolStripMenuItem"; this.iceChatSettingsToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P))); this.iceChatSettingsToolStripMenuItem.Size = new System.Drawing.Size(230, 22); this.iceChatSettingsToolStripMenuItem.Text = "Program Settings..."; this.iceChatSettingsToolStripMenuItem.Click += new System.EventHandler(this.iceChatSettingsToolStripMenuItem_Click); // // iceChatColorsToolStripMenuItem // this.iceChatColorsToolStripMenuItem.Name = "iceChatColorsToolStripMenuItem"; this.iceChatColorsToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.G))); this.iceChatColorsToolStripMenuItem.Size = new System.Drawing.Size(230, 22); this.iceChatColorsToolStripMenuItem.Text = "Colors Settings..."; this.iceChatColorsToolStripMenuItem.Click += new System.EventHandler(this.iceChatColorsToolStripMenuItem_Click); // // iceChatEditorToolStripMenuItem // this.iceChatEditorToolStripMenuItem.Name = "iceChatEditorToolStripMenuItem"; this.iceChatEditorToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); this.iceChatEditorToolStripMenuItem.Size = new System.Drawing.Size(230, 22); this.iceChatEditorToolStripMenuItem.Text = "IceChat Editor..."; this.iceChatEditorToolStripMenuItem.Click += new System.EventHandler(this.iceChatEditorToolStripMenuItem_Click); // // muteAllSoundsToolStripMenuItem // this.muteAllSoundsToolStripMenuItem.BackColor = System.Drawing.SystemColors.Menu; this.muteAllSoundsToolStripMenuItem.Name = "muteAllSoundsToolStripMenuItem"; this.muteAllSoundsToolStripMenuItem.Size = new System.Drawing.Size(230, 22); this.muteAllSoundsToolStripMenuItem.Text = "Mute all Sounds"; this.muteAllSoundsToolStripMenuItem.Click += new System.EventHandler(this.muteAllSoundsToolStripMenuItem_Click); // // pluginsToolStripMenuItem // this.pluginsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.loadAPluginToolStripMenuItem}); this.pluginsToolStripMenuItem.Name = "pluginsToolStripMenuItem"; this.pluginsToolStripMenuItem.Size = new System.Drawing.Size(230, 22); this.pluginsToolStripMenuItem.Text = "Loaded Plugins"; // // loadAPluginToolStripMenuItem // this.loadAPluginToolStripMenuItem.Name = "loadAPluginToolStripMenuItem"; this.loadAPluginToolStripMenuItem.Size = new System.Drawing.Size(164, 22); this.loadAPluginToolStripMenuItem.Text = "Load a Plugin..."; this.loadAPluginToolStripMenuItem.ToolTipText = "Load a new Plugin"; this.loadAPluginToolStripMenuItem.Click += new System.EventHandler(this.loadAPluginToolStripMenuItem_Click); // // viewToolStripMenuItem // this.viewToolStripMenuItem.BackColor = System.Drawing.SystemColors.Menu; this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.serverListToolStripMenuItem, this.nickListToolStripMenuItem, this.bottomPanelToolStripMenuItem, this.statusBarToolStripMenuItem, this.toolBarToolStripMenuItem, this.toolStripMenuItem3, this.selectNickListToolStripMenuItem, this.selectServerTreeToolStripMenuItem, this.selectInputBoxToolStripMenuItem}); this.viewToolStripMenuItem.Name = "viewToolStripMenuItem"; this.viewToolStripMenuItem.Size = new System.Drawing.Size(47, 21); this.viewToolStripMenuItem.Text = "View"; // // serverListToolStripMenuItem // this.serverListToolStripMenuItem.Checked = true; this.serverListToolStripMenuItem.CheckOnClick = true; this.serverListToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; this.serverListToolStripMenuItem.Name = "serverListToolStripMenuItem"; this.serverListToolStripMenuItem.Size = new System.Drawing.Size(181, 22); this.serverListToolStripMenuItem.Text = "Left Panel"; this.serverListToolStripMenuItem.Click += new System.EventHandler(this.serverListToolStripMenuItem_Click); // // nickListToolStripMenuItem // this.nickListToolStripMenuItem.Checked = true; this.nickListToolStripMenuItem.CheckOnClick = true; this.nickListToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; this.nickListToolStripMenuItem.Name = "nickListToolStripMenuItem"; this.nickListToolStripMenuItem.Size = new System.Drawing.Size(181, 22); this.nickListToolStripMenuItem.Text = "Right Panel"; this.nickListToolStripMenuItem.Click += new System.EventHandler(this.nickListToolStripMenuItem_Click); // // bottomPanelToolStripMenuItem // this.bottomPanelToolStripMenuItem.CheckOnClick = true; this.bottomPanelToolStripMenuItem.Name = "bottomPanelToolStripMenuItem"; this.bottomPanelToolStripMenuItem.Size = new System.Drawing.Size(181, 22); this.bottomPanelToolStripMenuItem.Text = "Bottom Panel"; this.bottomPanelToolStripMenuItem.Click += new System.EventHandler(this.bottomPanelToolStripMenuItem_Click); // // statusBarToolStripMenuItem // this.statusBarToolStripMenuItem.Checked = true; this.statusBarToolStripMenuItem.CheckOnClick = true; this.statusBarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; this.statusBarToolStripMenuItem.Name = "statusBarToolStripMenuItem"; this.statusBarToolStripMenuItem.Size = new System.Drawing.Size(181, 22); this.statusBarToolStripMenuItem.Text = "Status Bar"; this.statusBarToolStripMenuItem.Click += new System.EventHandler(this.statusBarToolStripMenuItem_Click); // // toolBarToolStripMenuItem // this.toolBarToolStripMenuItem.Checked = true; this.toolBarToolStripMenuItem.CheckOnClick = true; this.toolBarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; this.toolBarToolStripMenuItem.Name = "toolBarToolStripMenuItem"; this.toolBarToolStripMenuItem.Size = new System.Drawing.Size(181, 22); this.toolBarToolStripMenuItem.Text = "Tool Bar"; this.toolBarToolStripMenuItem.Click += new System.EventHandler(this.toolBarToolStripMenuItem_Click); // // toolStripMenuItem3 // this.toolStripMenuItem3.Name = "toolStripMenuItem3"; this.toolStripMenuItem3.Size = new System.Drawing.Size(178, 6); // // selectNickListToolStripMenuItem // this.selectNickListToolStripMenuItem.Name = "selectNickListToolStripMenuItem"; this.selectNickListToolStripMenuItem.Size = new System.Drawing.Size(181, 22); this.selectNickListToolStripMenuItem.Text = "Select Nick List"; this.selectNickListToolStripMenuItem.Click += new System.EventHandler(this.selectNickListToolStripMenuItem_Click); // // selectServerTreeToolStripMenuItem // this.selectServerTreeToolStripMenuItem.Name = "selectServerTreeToolStripMenuItem"; this.selectServerTreeToolStripMenuItem.Size = new System.Drawing.Size(181, 22); this.selectServerTreeToolStripMenuItem.Text = "Select Server Tree"; this.selectServerTreeToolStripMenuItem.Click += new System.EventHandler(this.selectServerTreeToolStripMenuItem_Click); // // selectInputBoxToolStripMenuItem // this.selectInputBoxToolStripMenuItem.Name = "selectInputBoxToolStripMenuItem"; this.selectInputBoxToolStripMenuItem.Size = new System.Drawing.Size(181, 22); this.selectInputBoxToolStripMenuItem.Text = "Select Input box"; this.selectInputBoxToolStripMenuItem.Click += new System.EventHandler(this.selectInputBoxToolStripMenuItem_Click); // // helpToolStripMenuItem // this.helpToolStripMenuItem.BackColor = System.Drawing.SystemColors.Menu; this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.codePlexPageToolStripMenuItem, this.iceChatHomePageToolStripMenuItem, this.forumsToolStripMenuItem, this.facebookFanPageToolStripMenuItem, this.downloadPluginsToolStripMenuItem, this.toolStripMenuItem1, this.checkForUpdateToolStripMenuItem, this.browseDataFolderToolStripMenuItem, this.browsePluginsFolderToolStripMenuItem, this.iceChatChannelStripMenuItem, this.aboutToolStripMenuItem}); this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; this.helpToolStripMenuItem.Size = new System.Drawing.Size(47, 21); this.helpToolStripMenuItem.Text = "Help"; // // codePlexPageToolStripMenuItem // this.codePlexPageToolStripMenuItem.Name = "codePlexPageToolStripMenuItem"; this.codePlexPageToolStripMenuItem.Size = new System.Drawing.Size(190, 22); this.codePlexPageToolStripMenuItem.Text = "CodePlex Page"; this.codePlexPageToolStripMenuItem.Click += new System.EventHandler(this.codePlexPageToolStripMenuItem_Click); // // iceChatHomePageToolStripMenuItem // this.iceChatHomePageToolStripMenuItem.Name = "iceChatHomePageToolStripMenuItem"; this.iceChatHomePageToolStripMenuItem.Size = new System.Drawing.Size(190, 22); this.iceChatHomePageToolStripMenuItem.Text = "IceChat Home Page"; this.iceChatHomePageToolStripMenuItem.Click += new System.EventHandler(this.iceChatHomePageToolStripMenuItem_Click); // // forumsToolStripMenuItem // this.forumsToolStripMenuItem.Name = "forumsToolStripMenuItem"; this.forumsToolStripMenuItem.Size = new System.Drawing.Size(190, 22); this.forumsToolStripMenuItem.Text = "Forums"; this.forumsToolStripMenuItem.Click += new System.EventHandler(this.forumsToolStripMenuItem_Click); // // facebookFanPageToolStripMenuItem // this.facebookFanPageToolStripMenuItem.Name = "facebookFanPageToolStripMenuItem"; this.facebookFanPageToolStripMenuItem.Size = new System.Drawing.Size(190, 22); this.facebookFanPageToolStripMenuItem.Text = "Facebook Fan page"; this.facebookFanPageToolStripMenuItem.Click += new System.EventHandler(this.facebookFanPageToolStripMenuItem_Click); // // downloadPluginsToolStripMenuItem // this.downloadPluginsToolStripMenuItem.Name = "downloadPluginsToolStripMenuItem"; this.downloadPluginsToolStripMenuItem.Size = new System.Drawing.Size(190, 22); this.downloadPluginsToolStripMenuItem.Text = "Download Plugins"; this.downloadPluginsToolStripMenuItem.Click += new System.EventHandler(this.downloadPluginsToolStripMenuItem_Click); // // toolStripMenuItem1 // this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(187, 6); // // browseDataFolderToolStripMenuItem // this.browseDataFolderToolStripMenuItem.Name = "browseDataFolderToolStripMenuItem"; this.browseDataFolderToolStripMenuItem.Size = new System.Drawing.Size(190, 22); this.browseDataFolderToolStripMenuItem.Text = "Browse Data Folder"; this.browseDataFolderToolStripMenuItem.Click += new System.EventHandler(this.browseDataFolderToolStripMenuItem_Click); // // browsePluginsFolderToolStripMenuItem // this.browsePluginsFolderToolStripMenuItem.Name = "browsePluginsFolderToolStripMenuItem"; this.browsePluginsFolderToolStripMenuItem.Size = new System.Drawing.Size(190, 22); this.browsePluginsFolderToolStripMenuItem.Text = "Browse Plugins Folder"; this.browsePluginsFolderToolStripMenuItem.Click += new System.EventHandler(this.browsePluginsFolderToolStripMenuItem_Click); // // checkForUpdateToolStripMenuItem // this.checkForUpdateToolStripMenuItem.Name = "checkForUpdateToolStripMenuItem"; this.checkForUpdateToolStripMenuItem.Size = new System.Drawing.Size(190, 22); this.checkForUpdateToolStripMenuItem.Text = "Check for Update"; this.checkForUpdateToolStripMenuItem.Click += new System.EventHandler(this.checkForUpdateToolStripMenuItem_Click); // // iceChatChannelStripMenuItem // this.iceChatChannelStripMenuItem.Name = "iceChatChannelStripMenuItem"; this.iceChatChannelStripMenuItem.Size = new System.Drawing.Size(190, 22); this.iceChatChannelStripMenuItem.Text = "Developer Channel"; this.iceChatChannelStripMenuItem.Click += new System.EventHandler(iceChatChannelStripMenuItem_Click); // // aboutToolStripMenuItem // this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; this.aboutToolStripMenuItem.Size = new System.Drawing.Size(190, 22); this.aboutToolStripMenuItem.Text = "About"; this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click); // // splitterLeft // this.splitterLeft.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.splitterLeft.Location = new System.Drawing.Point(161, 50); this.splitterLeft.Name = "splitterLeft"; this.splitterLeft.Size = new System.Drawing.Size(3, 455); this.splitterLeft.TabIndex = 15; this.splitterLeft.TabStop = false; // // splitterRight // this.splitterRight.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.splitterRight.Dock = System.Windows.Forms.DockStyle.Right; this.splitterRight.Location = new System.Drawing.Point(640, 50); this.splitterRight.Name = "splitterRight"; this.splitterRight.Size = new System.Drawing.Size(3, 455); this.splitterRight.TabIndex = 16; this.splitterRight.TabStop = false; // // notifyIcon // this.notifyIcon.ContextMenuStrip = this.contextMenuNotify; this.notifyIcon.Text = "IceChat"; this.notifyIcon.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.NotifyIconMouseDoubleClick); // // contextMenuNotify // this.contextMenuNotify.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.restoreToolStripMenuItem, this.exitToolStripMenuItem1}); this.contextMenuNotify.Name = "contextMenuNotify"; this.contextMenuNotify.Size = new System.Drawing.Size(114, 48); // // restoreToolStripMenuItem // this.restoreToolStripMenuItem.Name = "restoreToolStripMenuItem"; this.restoreToolStripMenuItem.Size = new System.Drawing.Size(113, 22); this.restoreToolStripMenuItem.Text = "Restore"; this.restoreToolStripMenuItem.Click += new System.EventHandler(this.restoreToolStripMenuItem_Click); // // exitToolStripMenuItem1 // this.exitToolStripMenuItem1.Name = "exitToolStripMenuItem1"; this.exitToolStripMenuItem1.Size = new System.Drawing.Size(113, 22); this.exitToolStripMenuItem1.Text = "Exit"; this.exitToolStripMenuItem1.Click += new System.EventHandler(this.exitToolStripMenuItem1_Click); // // toolStripMain // this.toolStripMain.AccessibleDescription = "Main Tool bar"; this.toolStripMain.AccessibleRole = System.Windows.Forms.AccessibleRole.ToolBar; this.toolStripMain.AllowItemReorder = true; this.toolStripMain.ContextMenuStrip = this.contextMenuToolBar; this.toolStripMain.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStripMain.ImageScalingSize = new System.Drawing.Size(32, 32); this.toolStripMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripQuickConnect, this.toolStripSettings, this.toolStripColors, this.toolStripEditor, this.toolStripAway, this.toolStripSystemTray, this.toolStripUpdate}); this.toolStripMain.Location = new System.Drawing.Point(0, 25); this.toolStripMain.Name = "toolStripMain"; this.toolStripMain.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; this.toolStripMain.Size = new System.Drawing.Size(796, 25); this.toolStripMain.TabIndex = 17; this.toolStripMain.Text = "toolStripMain"; // // contextMenuToolBar // this.contextMenuToolBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.hideToolStripMenuItem}); this.contextMenuToolBar.Name = "contextMenuToolBar"; this.contextMenuToolBar.Size = new System.Drawing.Size(100, 26); // // hideToolStripMenuItem // this.hideToolStripMenuItem.Name = "hideToolStripMenuItem"; this.hideToolStripMenuItem.Size = new System.Drawing.Size(99, 22); this.hideToolStripMenuItem.Text = "Hide"; this.hideToolStripMenuItem.Click += new System.EventHandler(this.hideToolStripMenuItem_Click); // // toolStripQuickConnect // this.toolStripQuickConnect.AccessibleDescription = "Bring up Quick Connect Window"; this.toolStripQuickConnect.BackColor = System.Drawing.Color.Transparent; this.toolStripQuickConnect.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripQuickConnect.Margin = new System.Windows.Forms.Padding(0); this.toolStripQuickConnect.Name = "toolStripQuickConnect"; this.toolStripQuickConnect.Size = new System.Drawing.Size(90, 25); this.toolStripQuickConnect.Text = "Quick Connect"; this.toolStripQuickConnect.Click += new System.EventHandler(this.toolStripQuickConnect_Click); // // toolStripSettings // this.toolStripSettings.AccessibleDescription = "Open settings window"; this.toolStripSettings.BackColor = System.Drawing.Color.Transparent; this.toolStripSettings.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripSettings.Name = "toolStripSettings"; this.toolStripSettings.Size = new System.Drawing.Size(53, 22); this.toolStripSettings.Text = "Settings"; this.toolStripSettings.Click += new System.EventHandler(this.toolStripSettings_Click); // // toolStripColors // this.toolStripColors.AccessibleDescription = "Open color settings window"; this.toolStripColors.BackColor = System.Drawing.Color.Transparent; this.toolStripColors.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripColors.Name = "toolStripColors"; this.toolStripColors.Size = new System.Drawing.Size(45, 22); this.toolStripColors.Text = "Colors"; this.toolStripColors.Click += new System.EventHandler(this.toolStripColors_Click); // // toolStripEditor // this.toolStripEditor.AccessibleDescription = "Open IceChat Editor"; this.toolStripEditor.BackColor = System.Drawing.Color.Transparent; this.toolStripEditor.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripEditor.Name = "toolStripEditor"; this.toolStripEditor.Size = new System.Drawing.Size(42, 22); this.toolStripEditor.Text = "Editor"; this.toolStripEditor.Click += new System.EventHandler(this.toolStripEditor_Click); // // toolStripAway // this.toolStripAway.AccessibleDescription = "Set yourself as away, or return"; this.toolStripAway.BackColor = System.Drawing.Color.Transparent; this.toolStripAway.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripAway.Name = "toolStripAway"; this.toolStripAway.Size = new System.Drawing.Size(59, 22); this.toolStripAway.Text = "Set Away"; this.toolStripAway.ToolTipText = "Set Away"; this.toolStripAway.Click += new System.EventHandler(this.toolStripAway_Click); // // toolStripSystemTray // this.toolStripSystemTray.AccessibleDescription = "Put IceChat on the System Tray"; this.toolStripSystemTray.BackColor = System.Drawing.Color.Transparent; this.toolStripSystemTray.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripSystemTray.Name = "toolStripSystemTray"; this.toolStripSystemTray.Size = new System.Drawing.Size(75, 22); this.toolStripSystemTray.Text = "System Tray"; this.toolStripSystemTray.Click += new System.EventHandler(this.toolStripSystemTray_Click); // // toolStripUpdate // this.toolStripUpdate.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.toolStripUpdate.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripUpdate.Name = "toolStripUpdate"; this.toolStripUpdate.Size = new System.Drawing.Size(100, 22); this.toolStripUpdate.Text = "Update Available"; this.toolStripUpdate.Click += new System.EventHandler(this.toolStripUpdate_Click); // // panelDockBottom // this.panelDockBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.panelDockBottom.Location = new System.Drawing.Point(0, 556); this.panelDockBottom.Name = "panelDockBottom"; this.panelDockBottom.Size = new System.Drawing.Size(796, 29); this.panelDockBottom.TabIndex = 22; this.panelDockBottom.Visible = false; // // toolStripStatus // this.toolStripStatus.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripStatus.Name = "toolStripStatus"; this.toolStripStatus.Size = new System.Drawing.Size(58, 17); this.toolStripStatus.Text = "Status:"; // // statusStripMain // this.statusStripMain.AccessibleDescription = "Main status bar"; this.statusStripMain.AccessibleRole = System.Windows.Forms.AccessibleRole.StatusBar; this.statusStripMain.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.statusStripMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripStatus}); this.statusStripMain.Location = new System.Drawing.Point(0, 531); this.statusStripMain.Name = "statusStripMain"; this.statusStripMain.Size = new System.Drawing.Size(796, 22); this.statusStripMain.SizingGrip = false; this.statusStripMain.TabIndex = 18; // // splitterBottom // this.splitterBottom.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.splitterBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.splitterBottom.Location = new System.Drawing.Point(0, 553); this.splitterBottom.Name = "splitterBottom"; this.splitterBottom.Size = new System.Drawing.Size(796, 3); this.splitterBottom.TabIndex = 0; this.splitterBottom.TabStop = false; this.splitterBottom.Visible = false; // // panelDockRight // this.panelDockRight.Dock = System.Windows.Forms.DockStyle.Right; this.panelDockRight.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.panelDockRight.Location = new System.Drawing.Point(643, 50); this.panelDockRight.Name = "panelDockRight"; this.panelDockRight.Size = new System.Drawing.Size(153, 455); this.panelDockRight.TabIndex = 14; // // panelDockLeft // this.panelDockLeft.Dock = System.Windows.Forms.DockStyle.Left; this.panelDockLeft.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.panelDockLeft.Location = new System.Drawing.Point(0, 50); this.panelDockLeft.Name = "panelDockLeft"; this.panelDockLeft.Size = new System.Drawing.Size(161, 455); this.panelDockLeft.TabIndex = 13; // // mainTabControl // this.mainTabControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.mainTabControl.Dock = System.Windows.Forms.DockStyle.Fill; this.mainTabControl.Location = new System.Drawing.Point(164, 50); this.mainTabControl.Margin = new System.Windows.Forms.Padding(0); this.mainTabControl.Name = "mainTabControl"; this.mainTabControl.SelectedIndex = -1; this.mainTabControl.Size = new System.Drawing.Size(476, 455); this.mainTabControl.TabIndex = 20; // // inputPanel // this.inputPanel.AccessibleDescription = ""; this.inputPanel.Dock = System.Windows.Forms.DockStyle.Bottom; this.inputPanel.Location = new System.Drawing.Point(0, 505); this.inputPanel.Name = "inputPanel"; this.inputPanel.Size = new System.Drawing.Size(796, 26); this.inputPanel.TabIndex = 0; // // FormMain // this.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.Control; this.ClientSize = new System.Drawing.Size(796, 585); this.Controls.Add(this.mainTabControl); this.Controls.Add(this.splitterRight); this.Controls.Add(this.splitterLeft); this.Controls.Add(this.panelDockRight); this.Controls.Add(this.panelDockLeft); this.Controls.Add(this.inputPanel); this.Controls.Add(this.statusStripMain); this.Controls.Add(this.toolStripMain); this.Controls.Add(this.menuMainStrip); this.Controls.Add(this.splitterBottom); this.Controls.Add(this.panelDockBottom); this.MainMenuStrip = this.menuMainStrip; this.Name = "FormMain"; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.Text = "IceChat"; this.menuMainStrip.ResumeLayout(false); this.menuMainStrip.PerformLayout(); this.contextMenuNotify.ResumeLayout(false); this.toolStripMain.ResumeLayout(false); this.toolStripMain.PerformLayout(); this.contextMenuToolBar.ResumeLayout(false); this.statusStripMain.ResumeLayout(false); this.statusStripMain.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private void Lcountbill_LostFocus(object sender, EventArgs e) { InputPanel pan = new InputPanel(); pan.Enabled = false; }
void InputPanelClick(Object sender, RoutedEventArgs e) { InputPanel.Toggle(); }
public static void Initialize(FormBase masterForm) { _masterForm = masterForm; _inputPanel = new InputPanel(); ViewTransitionManager.Initialize(masterForm.TransitionControl); }
private void TxtSearch_LostFocus(object sender, RoutedEventArgs e) { InputPanel.HideInputPanel(); }
void Start() { inputPanel = GameObject.Find("Canvas").transform.Find("ChildInputPanel").GetComponent <ChildInputPanel>(); }
private void textBox1_LostFocus(object sender, EventArgs e) { if (textBox1.Text.Trim() == "") textBox1.Text = " Поиск..."; InputPanel pan = new InputPanel(); pan.Enabled = false; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this._filter = new UITextControl(); this._clear = new UIButton(ButtonStyle.AlphaChannel); this._leftBorder = new GraphicsImage(MasterForm.SkinManager.GetImage("LeftFilterBorder"), false); this._rightBorder = new GraphicsImage(MasterForm.SkinManager.GetImage("RightFilterBorder"), false); this._centerImage = new GraphicsImage(MasterForm.SkinManager.GetImage("FilterCenter"), true); this._topBorder = new GraphicsImage(); this._bottomBorder = new GraphicsImage(); this._backgroundGradient = new GraphicsImage(); inputPanel = new InputPanel(); this.SuspendLayout(); inputPanel.Enabled = false; // // element "FilterControl" // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.Name = "FilterControl"; this.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right; this.Resize += new System.EventHandler(FilterControlResize); this.DefaultFilterWidth = this.Width - 33; this.WideFilterWidth = this.Width - 16; // // element "_backgroundGradient" // this._backgroundGradient.Location = new Point(0, 0); this._backgroundGradient.Size = this.Size; this._backgroundGradient.Stretch = true; this._backgroundGradient.Anchor = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Right; this._backgroundGradient.Name = "_backgroundGradient"; // // element "_centerImage" // this._centerImage.Location = new Point(8, 2); this._centerImage.Size = new Size(this.Width - 16, 21); this._centerImage.Name = "_centerImage"; this._centerImage.Anchor = AnchorStyles.Right | AnchorStyles.Top | AnchorStyles.Left; // // element "_clear" // this._clear.TransparentButton = MasterForm.SkinManager.GetImage("FilterClear"); this._clear.TransparentButtonPressed = MasterForm.SkinManager.GetImage("FilterClear"); this._clear.Location = new Point(this.Width - 25, 4); this._clear.Size = new Size(17, 17); this._clear.Anchor = AnchorStyles.Top | AnchorStyles.Right; this._clear.Name = "_clear"; this.ClearButtonVisibleChange(false); this._clear.Click += new System.EventHandler(ClearClick); // // element "_filter" // this._filter.Font = FontCache.CreateFont("Calibri", 16, System.Drawing.FontStyle.Regular); this._filter.TextColor = System.Drawing.Color.DarkGray; this._filter.Text = Resources.FilterText; this._filter.Name = "_filter"; this._filter.Location = new Point(8, 5); this._filter.Size = new Size(this.WideFilterWidth, 16); this._filter.Anchor = AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Right; this._filter.TextBox.GotFocus += new System.EventHandler(TextBoxGotFocus); this._filter.TextBox.LostFocus += new System.EventHandler(TextBoxLostFocus); this._filter.TextBox.TextChanged += new EventHandler(TextBoxTextChanged); // // element "_leftBorder" // this._leftBorder.Location = new Point(0, 0); this._leftBorder.Anchor = AnchorStyles.Left | AnchorStyles.Top; this._leftBorder.BackColor = Color.White; this._leftBorder.Opacity = 255; // // element "_rightBorder" // this._rightBorder.Location = new Point(this.Width - 8, 0); this._rightBorder.Anchor = AnchorStyles.Right | AnchorStyles.Top; this._rightBorder.BackColor = Color.White; this._rightBorder.Opacity = 255; // // element "_topBorder" // this._topBorder.Width = this.Width - 16; this._topBorder.Location = new Point(8, 0); this._topBorder.Stretch = true; this._topBorder.Anchor = AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Right; this._topBorder.BackColor = Color.White; this._topBorder.Opacity = 255; // // element "_bottomBorder" // this._bottomBorder.Width = this.Width - 16; this._bottomBorder.Location = new Point(8, 23); this._bottomBorder.Stretch = true; this._bottomBorder.Anchor = AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Right; this._bottomBorder.BackColor = Color.White; this._bottomBorder.Opacity = 255; // add to canvas this.Canvas.Children.Add(_backgroundGradient); this.Canvas.Children.Add(_centerImage); this.Canvas.Children.Add(_leftBorder); this.Canvas.Children.Add(_rightBorder); this.Canvas.Children.Add(_topBorder); this.Canvas.Children.Add(_bottomBorder); this.Canvas.Children.Add(_clear); this.Canvas.Children.Add(_filter); this.Canvas.RecalcDPIScaling(); this.ResumeLayout(false); this._topBorder.AlphaChannelImage = MasterForm.SkinManager.GetImage("TopFilterBorder"); this._topBorder.Width = this.Width - UISettings.CalcPix(16); this._bottomBorder.AlphaChannelImage = MasterForm.SkinManager.GetImage("BottomFilterBorder"); this._bottomBorder.Width = this.Width - UISettings.CalcPix(16); this._backgroundGradient.AlphaChannelImage = PrepareBackground(); this._backgroundGradient.Size = this.Size; }
private void picInput_DoubleClick(object sender, EventArgs e) { InputPanel panl = new InputPanel(); panl.Enabled = true; }
private void textBox1_GotFocus(object sender, EventArgs e) { if (textBox1.Text == " Поиск...") textBox1.Text = "-1"; InputPanel pan = new InputPanel(); pan.Enabled = true; }
public MainView() { _sipPanel = new InputPanel(); InitializeComponent(); }
protected void SetKeyboardVisible(bool isVisible) { InputPanel aa = new InputPanel(); aa.Enabled = isVisible; }
// Start is called before the first frame update void Start() { inputPanel = transform.parent.parent.GetComponent <InputPanel>(); text = GetComponentInChildren <Text>(true); }
private void textBox8_GotFocus(object sender, EventArgs e) { InputPanel pan = new InputPanel(); pan.Enabled = true; }
private void textBox1_LostFocus(object sender, EventArgs e) { InputPanel pan = new InputPanel(); pan.Enabled = false; }
public LayoutPlot(FormDataEntryLogic dataEntryController, Control parent, PlotStratum stratum, InputPanel sip) { Stratum = stratum; this.ViewLogicController = new LayoutPlotLogic(stratum, this, dataEntryController, dataEntryController.ViewController); InitializeComponent(); InitializePlotNavIcons(); //Setup Plot Nav Bar this._addPlotButton.Text = "+"; this._deletePlotButton.Text = "-"; this._plotInfoButton.Text = "i"; this._expandGridButton.ImageIndex = 0; this._expandGridButton.ButtonImageLayout = ImageLayout.Tile; this._nextPlotButton.ButtonImageLayout = ImageLayout.Zoom; this._gotoLastPlotButton.ButtonImageLayout = ImageLayout.Zoom; this._prevPlotButton.ButtonImageLayout = ImageLayout.Zoom; this._gotoFirstPlotButton.ButtonImageLayout = ImageLayout.Zoom; if (ViewController.PlatformType == PlatformType.WinCE) { this._expandGridButton.Font = new System.Drawing.Font("Arial", this._expandGridButton.Font.Size, this._expandGridButton.Font.Style); this._gotoFirstPlotButton.Font = new System.Drawing.Font("Arial", this._gotoFirstPlotButton.Font.Size, this._gotoFirstPlotButton.Font.Style); this._gotoLastPlotButton.Font = new System.Drawing.Font("Arial", this._gotoLastPlotButton.Font.Size, this._gotoLastPlotButton.Font.Style); this._nextPlotButton.Font = new System.Drawing.Font("Arial", this._nextPlotButton.Font.Size, this._nextPlotButton.Font.Style); this._prevPlotButton.Font = new System.Drawing.Font("Arial", this._prevPlotButton.Font.Size, this._prevPlotButton.Font.Style); } //Setup DataGrid DataGridAdjuster.InitializeGrid(this._dataGrid); _tableStyle = stratum.InitializeTreeColumns(_dataGrid); this._dataGrid.SIP = sip; this._dataGrid.CellValidating += new EditableDataGridCellValidatingEventHandler(_dataGrid_CellValidating); this._dataGrid.CellValueChanged += new EditableDataGridCellValueChangedEventHandler(this._dataGrid_CellValueChanged); //this._dataGrid.DataSource = typeof(FSCruiserV2.Logic.TreeVM);//_BS_Trees; this._dataGrid.Click += new EventHandler(_dataGrid_Click); this._dataGrid.ReadOnly = true; this._dataGrid.AllowUserToAddRows = false; _speciesColumn = _tableStyle.GridColumnStyles["TreeDefaultValue"] as EditableComboBoxColumn; _sgColumn = _tableStyle.GridColumnStyles["SampleGroup"] as EditableComboBoxColumn; _treeNumberColumn = _tableStyle.GridColumnStyles["TreeNumber"] as EditableTextBoxColumn; _initialsColoumn = _tableStyle.GridColumnStyles["Initials"] as EditableComboBoxColumn; _logsColumn = _tableStyle.GridColumnStyles["LogCountActual"] as DataGridButtonColumn; _kpiColumn = _tableStyle.GridColumnStyles["KPI"] as EditableTextBoxColumn; _errorsColumn = _tableStyle.GridColumnStyles["Error"] as DataGridTextBoxColumn; if (_logsColumn != null) { _logsColumn.Click += this.LogsClicked; } HandleCruisersChanged(); this.Dock = DockStyle.Fill; this.Parent = parent; InitializeTallyPanel(); this.ViewLogicController.UpdateCurrentPlot(); }
public void OnConfirmButtonPressed() { InputPanel inputPanelScript = inputPanel.GetComponent <InputPanel>(); Controller.Instance.OnUserDataEntered(inputPanelScript.Username); }