private void InitializeComponent() { this.testLabel = new System.Windows.Forms.Label(); testLabel.Text = "test"; this.statBar = new System.Windows.Forms.StatusBar(); this.msgPanel = new System.Windows.Forms.StatusBarPanel(); ((System.ComponentModel.ISupportInitialize)(this.msgPanel)).BeginInit(); this.SuspendLayout(); this.statBar.Location = new System.Drawing.Point(0, 400); this.statBar.Name = "statBar"; this.statBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.msgPanel }); this.statBar.ShowPanels = true; this.statBar.Size = new System.Drawing.Size(536, 22); this.statBar.TabIndex = 0; this.statBar.DrawItem += new System.Windows.Forms.StatusBarDrawItemEventHandler(this.statBar_DrawItem); this.Controls.Add(this.statBar); // // msgPanel // this.msgPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.msgPanel.Style = System.Windows.Forms.StatusBarPanelStyle.OwnerDraw; this.msgPanel.Width = 341; this.Controls.Add(this.statBar); ((System.ComponentModel.ISupportInitialize)(this.msgPanel)).EndInit(); this.ResumeLayout(false); }
public ucRTFEditor(RichTextBox rtb) { // This call is required by the Windows.Forms Form Designer. InitializeComponent(); if (rtb == null) pRichTB = new RichTextBox(); else pRichTB = rtb; pSBPanel = null; pRichTB.HideSelection = false; #region Color menu MenuItemColor mic = new MenuItemColor(Color.Black); mic.Click += new EventHandler(OnTextColorChanged); mnuColor.MenuItems.Add(mic); mic = new MenuItemColor(Color.Blue); mic.Click += new EventHandler(OnTextColorChanged); mnuColor.MenuItems.Add(mic); mic = new MenuItemColor(Color.Green); mic.Click += new EventHandler(OnTextColorChanged); mnuColor.MenuItems.Add(mic); mic = new MenuItemColor(Color.Red); mic.Click += new EventHandler(OnTextColorChanged); mnuColor.MenuItems.Add(mic); mic = new MenuItemColor(Color.Yellow); mic.Click += new EventHandler(OnTextColorChanged); mnuColor.MenuItems.Add(mic); #endregion Color menu. this.EnabledChanged+=new EventHandler(onEnabled); }
public static void Create (Form Parent) { StatusBar Instance = new StatusBar () ; Instance.Parent = Parent ; Parent.Controls.Add (Instance) ; Panel = new StatusBarPanel () ; Panel.BorderStyle = StatusBarPanelBorderStyle.Sunken ; Panel.AutoSize = StatusBarPanelAutoSize.Spring ; Rect1 = new StatusBarPanel () ; Rect1.BorderStyle = StatusBarPanelBorderStyle.Sunken ; Rect1.Width = 70 ; Rect1.Alignment = HorizontalAlignment.Center ; Rect2 = new StatusBarPanel () ; Rect2.BorderStyle = StatusBarPanelBorderStyle.Sunken ; Rect2.Width = 70 ; Rect2.Alignment = HorizontalAlignment.Center ; Instance.ShowPanels = true ; Instance.Panels.Add (Panel) ; Instance.Panels.Add (Rect1) ; Instance.Panels.Add (Rect2) ; ShowText (" Ready") ; }
/// <summary> /// Initializes a new instance of the <see cref='System.Windows.Forms.StatusBarDrawItemEventArgs'/> /// class using the Forecolor and Backcolor. /// </summary> public StatusBarDrawItemEventArgs(Graphics g, Font font, Rectangle r, int itemId, DrawItemState itemState, StatusBarPanel panel, Color foreColor, Color backColor) : base(g, font, r, itemId, itemState, foreColor, backColor) { Panel = panel; }
// Constructor. public StatusBarPanelClickEventArgs (StatusBarPanel statusBarPanel, MouseButtons button, int clicks, int x, int y) : base(button, clicks, x, y, 0) { this.statusBarPanel = statusBarPanel; }
public StatusBarDrawItemEventArgs (Graphics g, Font font, Rectangle r, int itemId, DrawItemState itemState, StatusBarPanel panel) : this (g, font, r, itemId, itemState, panel, Control.DefaultForeColor, Control.DefaultBackColor) { }
// Constructors. public StatusBarDrawItemEventArgs (Graphics graphics, Font font, Rectangle rect, int index, DrawItemState state, StatusBarPanel panel) : base(graphics, font, rect, index, state) { this.panel = panel; }
private static void CheckNull(StatusBarPanel value) { if (value == null) { throw new ArgumentNullException("value"); } }
public StatusBarDrawItemEventArgs(Graphics g, Font font, Rectangle_ r, int itemId, DrawItemState itemState, StatusBarPanel panel) : this(g, font, r, itemId, itemState, panel, Control.DefaultForeColor, Control.DefaultBackColor) { }
private void Form1_Load(object sender, EventArgs e) { // TODO: This line of code loads data into the 'project_MDataSet.tblLanguage' table. You can move, or remove it, as needed. this.tblLanguageTableAdapter.Fill(this.project_MDataSet.tblLanguage); Language File = new Language(); Language Exit = new Language(); Language Settings = new Language(); Language Users = new Language(); Language Options = new Language(); fileToolStripMenuItem.Text = File.getWord("File"); exitToolStripMenuItem.Text = Exit.getWord("Exit"); settingsToolStripMenuItem.Text = Settings.getWord("Settings"); usersToolStripMenuItem.Text = Users.getWord("Users"); optionsToolStripMenuItem.Text = Options.getWord("Options"); loginform.ControlBox = false; loginform.ShowDialog(); StatusBar mainStatusBar = new StatusBar(); StatusBarPanel timeStatusBar = new StatusBarPanel(); StatusBarPanel userloggedinStatusBar = new StatusBarPanel(); timeStatusBar.Text = System.DateTime.Today.ToShortDateString(); userloggedinStatusBar.Text = loginform.UserNameString; mainStatusBar.Panels.Add(userloggedinStatusBar); mainStatusBar.Panels.Add(timeStatusBar); mainStatusBar.ShowPanels = true; Controls.Add(mainStatusBar); }
public void RemoveAt(int index) { StatusBarPanel value = (StatusBarPanel)(list[index]); value.parent = null; list.RemoveAt(index); }
public virtual void Insert(int index, StatusBarPanel value) { CheckAdd(value); list.Insert(index, value); value.parent = owner; owner.Invalidate(); }
private void CheckSame(StatusBarPanel value) { if (list.IndexOf(value) >= 0) { throw new ArgumentException("value"); } }
public StatusBarDrawItemEventArgs (Graphics g, Font font, Rectangle r, int itemId, DrawItemState itemState, StatusBarPanel panel, Color foreColor, Color backColor) : base (g, font, r, itemId, itemState) { this.panel = panel; }
protected override void Dispose(bool disposing) { if (!IsDisposed && disposing) { if (tooltip_timer != null) { tooltip_timer.Dispose(); } if (tooltip_window != null) { tooltip_window.Dispose(); } if (panels != null) { var copiedPanels = new StatusBarPanel [panels.Count]; ((ICollection)panels).CopyTo(copiedPanels, 0); panels.Clear(); foreach (StatusBarPanel panel in copiedPanels) { panel.Dispose(); } } } base.Dispose(disposing); }
public Test1 () { Button btn = new Button (); btn.Text = "Click Me"; btn.Click += new EventHandler (button_clicked); Controls.Add (btn); StatusBar sb1; sb1 = new StatusBar (); sb1.Width = 300; sb1.ShowPanels = true; Controls.Add (sb1); StatusBarPanel p = new StatusBarPanel (); p.AutoSize = StatusBarPanelAutoSize.Spring; p.Text = "Clicks: 0"; sb1.Panels.Add (p); clicks_panel = p; StatusBarPanel p2 = new StatusBarPanel (); p2.AutoSize = StatusBarPanelAutoSize.Contents; p2.Text = "i am an apeman"; sb1.Panels.Add (p2); StatusBarPanel p3 = new StatusBarPanel (); p3.Alignment = HorizontalAlignment.Right; p3.AutoSize = StatusBarPanelAutoSize.Spring; p3.Text = "test"; sb1.Panels.Add (p3); mouse_panel = p3; MouseMove += new MouseEventHandler (mouse_moved); }
/// <summary> /// I like status bars. Status bars are good. /// </summary> public PresentationStatusBar() { // Pri4: It occurs to me that messages on a status bar can be much like a stack in // that a new message can occur when one is already being displayed. Maybe we should // make a nice statusBar that has a built-in stack to push & pop messages (as well // as clear the stack). this.ShowPanels = true; messagePanel = new StatusBarPanel(); messagePanel.Style = StatusBarPanelStyle.Text; messagePanel.BorderStyle = StatusBarPanelBorderStyle.Sunken; messagePanel.AutoSize = StatusBarPanelAutoSize.Spring; pagePanel = new StatusBarPanel(); pagePanel.Style = StatusBarPanelStyle.Text; pagePanel.BorderStyle = StatusBarPanelBorderStyle.Sunken; pagePanel.AutoSize = StatusBarPanelAutoSize.Contents; pagePanel.Alignment = HorizontalAlignment.Center; pagePanel.MinWidth = 100; pagePanel.Text = Strings.Slide_Of_Placeholder; this.Panels.Add(messagePanel); this.Panels.Add(pagePanel); }
public void MinimumWidth2 () { StatusBarPanel p = new StatusBarPanel (); p.Width = 50; p.MinWidth = 100; Assert.AreEqual (100, p.Width, "1"); }
public virtual StatusBarPanel Add(string text) { StatusBarPanel res = new StatusBarPanel(); res.Text = text; Add(res); return(res); }
public StatusBarDrawItemEventArgs (Graphics graphics, Font font, Rectangle rect, int index, DrawItemState state, StatusBarPanel panel, Color foreColor, Color backColor) : base(graphics, font, rect, index, state, foreColor, backColor) { this.panel = panel; }
public virtual StatusBarPanel Add(string text) { StatusBarPanel panel = new StatusBarPanel(); panel.Text = text; Add(panel); return(panel); }
public ToolArgs(Bitmap bmp, PictureBox picBox, StatusBarPanel p1, StatusBarPanel p2, IPaintSettings settings) { bitmap = bmp; pictureBox = picBox; panel1 = p1; panel2 = p2; this.settings = settings; }
public virtual int Add(StatusBarPanel value) { CheckAdd(value); int result = list.Add(value); value.parent = owner; owner.Invalidate(); return(result); }
// Sets up the status bar and other controls. private void InitializeControls() { // Set up the status bar. StatusBarPanel panel = new StatusBarPanel(); panel.BorderStyle = StatusBarPanelBorderStyle.Sunken; panel.Text = "Ready."; panel.AutoSize = StatusBarPanelAutoSize.Spring; this.statusBar.ShowPanels = true; this.statusBar.Panels.Add(panel); }
internal void UpdatePanel(StatusBarPanel panel) { if (panel.AutoSize == StatusBarPanelAutoSize.Contents) { UpdateStatusBar(); return; } UpdateStatusBar(); }
public virtual void Remove(StatusBarPanel value) { CheckNull(value); int index = list.IndexOf(value); if (index >= 0) { RemoveAt(index); } }
internal void UpdatePanelContents(StatusBarPanel panel) { if (panel.AutoSize == StatusBarPanelAutoSize.Contents) { UpdateStatusBar(); Invalidate(); return; } Invalidate(new Rectangle(panel.X + 2, 2, panel.Width - 4, bounds.Height - 4)); }
public void ToStringTest () { StatusBarPanel p = new StatusBarPanel (); Assert.AreEqual ("StatusBarPanel: {}", p.ToString(), "1"); p.Text = "Hello"; Assert.AreEqual ("StatusBarPanel: {Hello}", p.ToString(), "2"); p.Text = "}"; Assert.AreEqual ("StatusBarPanel: {}}", p.ToString(), "3"); }
public void AddPanels() { for ( int i=0; i<6; i++) { StatusBarPanel panel = new StatusBarPanel(); panel.BorderStyle = StatusBarPanelBorderStyle.Sunken; panel.AutoSize = StatusBarPanelAutoSize.Contents; Panels.Add(panel); } }
public virtual void AddRange(StatusBarPanel[] panels) { for (int i = 0; i < panels.Length; i++) { StatusBarPanel value = panels[i]; CheckAdd(value); value.parent = owner; list.Add(value); } owner.Invalidate(); }
public MainForm(ITileProvider floorTileProvider, ITileProvider objectTileProvider) { this.floorTileProvider = floorTileProvider; this.objectTileProvider = objectTileProvider; // tileBrowserForm = new TileBrowserForm(floorTileProvider, objectTileProvider); mapView = new MapView(this); Controls.Add(mapView); Text = "Aesir"; DataBindings.Add(new Binding("Size", settings, "FormSize", true, DataSourceUpdateMode.OnPropertyChanged)); DataBindings.Add(new Binding("Location", settings, "FormLocation", true, DataSourceUpdateMode.OnPropertyChanged)); MainMenu menu = new MainMenu(); MenuItem[] fileItems = new MenuItem[] { new MenuItem("New"), new MenuItem("Open"), new MenuItem("Save") }; menu.MenuItems.Add(new MenuItem("&File", fileItems)); Menu = menu; StatusBarPanel panel = new StatusBarPanel(); panel.BorderStyle = StatusBarPanelBorderStyle.Sunken; panel.AutoSize = StatusBarPanelAutoSize.Spring; panel.Text = "Ready"; statusBar.Panels.Add(panel); statusBar.ShowPanels = true; Controls.Add(statusBar); //tileBrowserForm.Show(); toolStrip.Renderer = new ToolStripSystemRenderer(); Label label = new Label(); label.Text = "LOL"; toolStrip.Items.Add(new ToolStripControlHost(label)); toolStrip.Items.Add(new ToolStripButton("Pencil")); toolStrip.Items.Add(new ToolStripButton("Line")); toolStrip.Items.Add(new ToolStripButton("Square")); Controls.Add(toolStrip); testForm = new Form(); FloorTileBrowser shit = new FloorTileBrowser(floorTileProvider); shit.Dock = DockStyle.Fill; testForm.Controls.Add(shit); testForm.Show(); // TEMP: stuff /*mapView.PaintWorldOverlay += delegate(object sender, PaintEventArgs args) { Console.WriteLine(mapView.VectorToTile(mousePosition)); args.Graphics.DrawRectangle(Pens.Blue, new Rectangle((Point)(mapView.VectorToTile(mousePosition) * (Vector)Tile.Size), Tile.Size)); }; mapView.MouseMove += delegate(object sender, MouseEventArgs args) { mousePosition = (Vector)args.Location; mapView.Refresh(); };*/ }
public virtual void Remove(StatusBarPanel value) { int index = IndexOf(value); panels.Remove(value); // UIA Framework Event: Panel Removed if (index >= 0) { OnUIACollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, index)); } }
/// <summary> /// Konstruktor klasy MainForm. /// </summary> public MainForm() { // Konfiguruję ustawienia okna. Size = new Size(1050, 600); Location = new Point(0, 0); Text = "Serwer komunikatora internetowego e-Talk"; // Tworzę komponenty okna głównego: // - menu główne menu = new MainMenu(); // - komponenty menu głównego m1 = new MenuItem("Ustawienia"); menu.MenuItems.Add(m1); m3 = new MenuItem("O programie", new EventHandler(MMAboutClick), Shortcut.CtrlA); m3.Select += new EventHandler(MMAboutSelect); menu.MenuItems.Add(m3); m2 = new MenuItem("Wyjście", new EventHandler(MMWyjscieClick), Shortcut.CtrlW); m2.Select += new EventHandler(MMExitSelect); menu.MenuItems.Add(m2); // - podmenu ustawień subm1 = new MenuItem("Połącz z bazą", new EventHandler(MMLoginClick), Shortcut.CtrlL); subm1.Select += new EventHandler(MMLoginSelect); m1.MenuItems.Add(subm1); subm2 = new MenuItem("Nasłuchuj", new EventHandler(MMListenClick), Shortcut.CtrlN); subm2.Select += new EventHandler(MMListenSelect); subm2.Visible = false; m1.MenuItems.Add(subm2); // Tworzę panel pomocniczego tekstu. menuTextProvider1 = new StatusBarPanel(); menuTextProvider1.Name = "menuTextProvider1"; menuTextProvider1.Width = Size.Width / 2 + Size.Width / 8; menuTextProvider1.Text = ""; // Przypisuję utworzone menu. Menu = menu; // Dodaję dolny panel. BuildTimerHelpBar(); // Dodaję wewnętrzne komponenty. BuildInnerComponents(); }
void ISupportInitialize.EndInit() { if (base.ShowPanels && (base.Panels.Count != 0)) { this._textPanel = base.Panels[0]; foreach (StatusBarPanel panel in base.Panels) { if (panel is ProgressStatusBarPanel) { this._progressPanel = (ProgressStatusBarPanel) panel; break; } } } }
public PrintWithStatusBar() { Text = "Print with Status Bar"; Menu = new MainMenu(); Menu.MenuItems.Add("&File"); Menu.MenuItems[0].MenuItems.Add("&Print", new EventHandler(MenuFilePrintOnClick)); sbar = new StatusBar(); sbar.Parent = this; sbar.ShowPanels = true; sbarpanel = new StatusBarPanel(); sbarpanel.Text = "Ready"; sbarpanel.Width = Width/2; sbar.Panels.Add(sbarpanel); }
public BottomStatusBar() : base() { SizingGrip = false; statusPanel = new StatusBarPanel(); statusPanel.BorderStyle = StatusBarPanelBorderStyle.Sunken; statusPanel.Text = "Ready!"; statusPanel.ToolTipText = "Last Activity"; statusPanel.AutoSize = StatusBarPanelAutoSize.Spring; Panels.Add(statusPanel); ShowPanels = true; }
private void StatusBar_MouseMove(object sender, MouseEventArgs e) { if (!show_panels) { return; } StatusBarPanel p = GetPanelAtPoint(e.Location); if (p != tooltip_currently_showing) { MouseLeftPanel(tooltip_currently_showing); } if (p != null && tooltip_currently_showing == null) { MouseEnteredPanel(p); } }
public virtual void Insert(int index, StatusBarPanel value) { if (value == null) { throw new ArgumentNullException("value"); } if (index > Count) { throw new ArgumentOutOfRangeException("index"); } // TODO: InvalidArgumentException for bad AutoSize values // although it seems impossible to set it to a bad value value.SetParent(owner); panels.Insert(index, value); owner.Refresh(); // UIA Framework Event: Panel Added OnUIACollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, index)); }
public StatusBarPanel this[int index] { get { return((StatusBarPanel)(list[index])); } set { StatusBarPanel old = (StatusBarPanel)(list[index]); if (old == value) { return; } CheckAdd(value); list[index] = value; old.parent = null; value.parent = owner; owner.Invalidate(); } }
private int AddInternal(StatusBarPanel p, bool refresh) { if (p == null) { throw new ArgumentNullException("value"); } p.SetParent(owner); int res = panels.Add(p); if (refresh) { owner.CalcPanelSizes(); owner.Refresh(); } // UIA Framework Event: Panel Added OnUIACollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, res)); return(res); }
public void MinimumWidth3 () { StatusBarPanel p = new StatusBarPanel (); p.Width = 50; p.MinWidth = 200; p.MinWidth = 25; Assert.AreEqual (200, p.Width, "#1"); p = new StatusBarPanel (); p.Width = 50; p.MinWidth = 25; Assert.AreEqual (50, p.Width, "#2"); p = new StatusBarPanel (); p.Width = 50; p.MinWidth = 100; Assert.AreEqual (100, p.Width, "#3"); p = new StatusBarPanel (); p.MinWidth = 200; Assert.AreEqual (200, p.Width, "#4"); }
public FrmMain() { InitializeComponent(); #region �ѽL����U�Կﶵ����l�ưʧ@ for(int i=0;i<10;i++) { cboBoardStyle.Items.Add("����"+(i+1).ToString()); } cboBoardStyle.SelectedIndex = 5; //�w�]���謰��6�� #endregion #region ���A�C����l�ưʧ@ StatusBarPanel[] oSBPs = new StatusBarPanel[5]; for(int i=0;i<oSBPs.Length;i++) { oSBPs[i] = new StatusBarPanel(); oSBPs[i].Width = 145; statusBar1.Panels.Add(oSBPs[i]); } #endregion }
public void StatusBarPropertyTest () { Form myform = new Form (); myform.ShowInTaskbar = false; StatusBar mysbar = new StatusBar (); StatusBarPanel sbarpanel1 = new StatusBarPanel (); StatusBarPanel sbarpanel2 = new StatusBarPanel (); sbarpanel1.Text = "Status Quo"; sbarpanel2.Text = "State 2"; mysbar.Panels.Add (sbarpanel1); mysbar.Panels.Add (sbarpanel2); myform.Controls.Add (mysbar); // B Assert.AreEqual ("Control", mysbar.BackColor.Name, "#B1"); // D Assert.AreEqual (DockStyle.Bottom, mysbar.Dock, "#D1"); // F Assert.AreEqual ("ControlText", mysbar.ForeColor.Name, "#F2"); // P Assert.AreEqual (sbarpanel1.Text, mysbar.Panels [0].Text , "#P1"); // S Assert.AreEqual (false, mysbar.ShowPanels, "#S1"); Assert.AreEqual (true, mysbar.SizingGrip, "#S2"); Assert.AreEqual (null, mysbar.Site, "#S3"); // T Assert.AreEqual ("", mysbar.Text, "#T1"); mysbar.Text = "MONO STATUSBAR"; Assert.AreEqual ("MONO STATUSBAR", mysbar.Text, "#T2"); myform.Dispose (); }
public TotalViewPck() { scroll = new VScrollBar(); statusBar = new StatusBar(); statusOverTile = new StatusBarPanel(); statusOverTile.AutoSize = StatusBarPanelAutoSize.Spring; statusBar.Panels.Add(statusOverTile); statusBar.ShowPanels = true; statusBar.Dock = DockStyle.Bottom; statusBPP = new StatusBarPanel(); statusBPP.AutoSize = StatusBarPanelAutoSize.Contents; statusBPP.Width = 50; statusBPP.Alignment = HorizontalAlignment.Right; statusBar.Panels.Add(statusBPP); scroll.Dock = System.Windows.Forms.DockStyle.Right; scroll.Maximum = 5000; scroll.Scroll += new System.Windows.Forms.ScrollEventHandler(this.scroll_Scroll); view = new ViewPck(); view.Location = new Point(0, 0); view.ViewClicked += new PckViewMouseClicked(viewClicked); view.ViewMoved += new PckViewMouseMoved(viewMoved); view.Dock = DockStyle.Fill; view.ViewClicked += new PckViewMouseClicked(viewClik); scroll.Minimum = 0; this.Controls.AddRange(new System.Windows.Forms.Control[] { statusBar, scroll,view}); view.SizeChanged += new EventHandler(viewSizeChange); OnResize(null); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainForm)); this.mainMenu = new System.Windows.Forms.MainMenu(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.menuItem6 = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem5 = new System.Windows.Forms.MenuItem(); this.depthFirstSearchAlgorithmItem = new System.Windows.Forms.MenuItem(); this.edgeDepthFirstSearchItem = new System.Windows.Forms.MenuItem(); this.breadthFirstSearchItem = new System.Windows.Forms.MenuItem(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem7 = new System.Windows.Forms.MenuItem(); this.menuItem8 = new System.Windows.Forms.MenuItem(); this.statusBar = new System.Windows.Forms.StatusBar(); this.messageBarPanel = new System.Windows.Forms.StatusBarPanel(); this.errorBarPanel = new System.Windows.Forms.StatusBarPanel(); this.toolBar = new System.Windows.Forms.ToolBar(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.dockingManagerExtender1 = new DockingManagerExtender.DockingManagerExtender(this.components); this.netronPanel = new QuickGraph.Layout.Forms.QuickNetronPanel(this.components); this.netronOverview1 = new Netron.UI.NetronOverview(); ((System.ComponentModel.ISupportInitialize)(this.messageBarPanel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.errorBarPanel)).BeginInit(); this.netronPanel.SuspendLayout(); this.SuspendLayout(); // // mainMenu // this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem3, this.menuItem2}); // // menuItem3 // this.menuItem3.Index = 0; this.menuItem3.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem4, this.menuItem6}); this.menuItem3.Text = "File"; // // menuItem4 // this.menuItem4.Index = 0; this.menuItem4.Text = "Load GraphML"; this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click); // // menuItem6 // this.menuItem6.Index = 1; this.menuItem6.Text = "Load GXL"; // // menuItem2 // this.menuItem2.Index = 1; this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem5, this.menuItem1}); this.menuItem2.Text = "Algorithms"; // // menuItem5 // this.menuItem5.Index = 0; this.menuItem5.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.depthFirstSearchAlgorithmItem, this.edgeDepthFirstSearchItem, this.breadthFirstSearchItem}); this.menuItem5.Text = "Search"; // // depthFirstSearchAlgorithmItem // this.depthFirstSearchAlgorithmItem.Index = 0; this.depthFirstSearchAlgorithmItem.Text = "DepthFirstSearchAlgorithm"; this.depthFirstSearchAlgorithmItem.Click += new System.EventHandler(this.depthFirstSearchAlgorithmItem_Click); // // edgeDepthFirstSearchItem // this.edgeDepthFirstSearchItem.Index = 1; this.edgeDepthFirstSearchItem.Text = "EdgeDepthFirstSearchAlgorithm"; this.edgeDepthFirstSearchItem.Click += new System.EventHandler(this.edgeDepthFirstSearchItem_Click); // // breadthFirstSearchItem // this.breadthFirstSearchItem.Index = 2; this.breadthFirstSearchItem.Text = "BreadthFirstSearchAlgorithm"; this.breadthFirstSearchItem.Click += new System.EventHandler(this.breadthFirstSearchItem_Click); // // menuItem1 // this.menuItem1.Index = 1; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem7, this.menuItem8}); this.menuItem1.Text = "Walks"; // // menuItem7 // this.menuItem7.Index = 0; this.menuItem7.Text = "Uniform walk"; this.menuItem7.Click += new System.EventHandler(this.menuItem7_Click); // // menuItem8 // this.menuItem8.Index = 1; this.menuItem8.Text = "Weighted walk"; this.menuItem8.Click += new System.EventHandler(this.menuItem8_Click); // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 403); this.statusBar.Name = "statusBar"; this.statusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.messageBarPanel, this.errorBarPanel}); this.statusBar.Size = new System.Drawing.Size(584, 22); this.statusBar.TabIndex = 0; this.statusBar.Text = "Status Bar"; // // messageBarPanel // this.messageBarPanel.Text = "Message"; // // errorBarPanel // this.errorBarPanel.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.errorBarPanel.Text = "Error"; this.errorBarPanel.Width = 20; // // toolBar // this.toolBar.ButtonSize = new System.Drawing.Size(16, 16); this.toolBar.DropDownArrows = true; this.toolBar.ImageList = this.imageList1; this.toolBar.Location = new System.Drawing.Point(0, 0); this.toolBar.Name = "toolBar"; this.toolBar.ShowToolTips = true; this.toolBar.Size = new System.Drawing.Size(584, 22); this.toolBar.TabIndex = 1; // // imageList1 // this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit; this.imageList1.ImageSize = new System.Drawing.Size(32, 32); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; // // dockingManagerExtender1 // this.dockingManagerExtender1.AutomaticStatePersistence = false; this.dockingManagerExtender1.ContainerControl = this; this.dockingManagerExtender1.InnerControl = null; this.dockingManagerExtender1.OuterControl = null; this.dockingManagerExtender1.PlainTabBorder = false; this.dockingManagerExtender1.VisualStyle = Crownwood.Magic.Common.VisualStyle.IDE; // // netronPanel // this.dockingManagerExtender1.SetADockingEnable(this.netronPanel, false); this.netronPanel.BackColor = System.Drawing.Color.White; this.netronPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.dockingManagerExtender1.SetCloseButton(this.netronPanel, false); this.dockingManagerExtender1.SetCloseOnHide(this.netronPanel, false); this.netronPanel.Controls.Add(this.netronOverview1); this.netronPanel.DataUpdateInterval = 50; this.netronPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.dockingManagerExtender1.SetDockingStyle(this.netronPanel, System.Windows.Forms.DockStyle.Left); this.netronPanel.Domain = null; this.dockingManagerExtender1.SetFullTitle(this.netronPanel, "netronPanel"); this.netronPanel.Graph = null; this.dockingManagerExtender1.SetIcon(this.netronPanel, null); this.netronPanel.Location = new System.Drawing.Point(0, 22); this.netronPanel.Name = "netronPanel"; this.netronPanel.Size = new System.Drawing.Size(584, 381); this.dockingManagerExtender1.SetTabbedMode(this.netronPanel, true); this.netronPanel.TabIndex = 4; this.dockingManagerExtender1.SetTitle(this.netronPanel, "netronPanel"); this.netronPanel.Zoom = 1F; // // netronOverview1 // this.dockingManagerExtender1.SetADockingEnable(this.netronOverview1, true); this.dockingManagerExtender1.SetCloseButton(this.netronOverview1, true); this.dockingManagerExtender1.SetCloseOnHide(this.netronOverview1, false); this.dockingManagerExtender1.SetDockingStyle(this.netronOverview1, System.Windows.Forms.DockStyle.Left); this.dockingManagerExtender1.SetFullTitle(this.netronOverview1, "NetronOverview"); this.dockingManagerExtender1.SetIcon(this.netronOverview1, null); this.netronOverview1.Location = new System.Drawing.Point(24, 16); this.netronOverview1.Name = "netronOverview1"; this.netronOverview1.Panel = null; this.netronOverview1.Size = new System.Drawing.Size(224, 248); this.dockingManagerExtender1.SetTabbedMode(this.netronOverview1, true); this.netronOverview1.TabIndex = 0; this.dockingManagerExtender1.SetTitle(this.netronOverview1, "NetronOverview"); this.netronOverview1.Zoom = 0.2F; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(584, 425); this.Controls.Add(this.netronPanel); this.Controls.Add(this.toolBar); this.Controls.Add(this.statusBar); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Menu = this.mainMenu; this.Name = "MainForm"; this.Text = "QuickGraph - Netron - Test Application"; ((System.ComponentModel.ISupportInitialize)(this.messageBarPanel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.errorBarPanel)).EndInit(); this.netronPanel.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.mainMenu = new System.Windows.Forms.MainMenu(); this.miFile = new System.Windows.Forms.MenuItem(); this.miDivide = new System.Windows.Forms.MenuItem(); this.miExit = new System.Windows.Forms.MenuItem(); this.miMode = new System.Windows.Forms.MenuItem(); this.miInk = new System.Windows.Forms.MenuItem(); this.miErase = new System.Windows.Forms.MenuItem(); this.miSeparate = new System.Windows.Forms.MenuItem(); this.miAutomaticLayoutAnalysis = new System.Windows.Forms.MenuItem(); this.DrawArea = new System.Windows.Forms.Panel(); this.statusBar = new System.Windows.Forms.StatusBar(); this.statusBarPanelDummy = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanelWord = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanelLine = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanelParagraph = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanelDrawing = new System.Windows.Forms.StatusBarPanel(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanelDummy)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanelWord)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanelLine)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanelParagraph)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanelDrawing)).BeginInit(); this.SuspendLayout(); // // mainMenu // this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miFile, this.miMode}); // // miFile // this.miFile.Index = 0; this.miFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miDivide, this.miExit}); this.miFile.Text = "&File"; // // miDivide // this.miDivide.Index = 0; this.miDivide.Text = "&Divide"; this.miDivide.Click += new System.EventHandler(this.miDivide_Click); // // miExit // this.miExit.Index = 1; this.miExit.Text = "E&xit"; this.miExit.Click += new System.EventHandler(this.miExit_Click); // // miMode // this.miMode.Index = 1; this.miMode.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miInk, this.miErase, this.miSeparate, this.miAutomaticLayoutAnalysis}); this.miMode.Text = "&Mode"; // // miInk // this.miInk.Index = 0; this.miInk.Text = "&Ink"; this.miInk.Click += new System.EventHandler(this.miInk_Click); // // miErase // this.miErase.Index = 1; this.miErase.Text = "&Erase"; this.miErase.Click += new System.EventHandler(this.miErase_Click); // // miSeparate // this.miSeparate.Index = 2; this.miSeparate.Text = "-"; // // miAutomaticLayoutAnalysis // this.miAutomaticLayoutAnalysis.Checked = true; this.miAutomaticLayoutAnalysis.Index = 3; this.miAutomaticLayoutAnalysis.Text = "&Automatic Layout Analysis"; this.miAutomaticLayoutAnalysis.Click += new System.EventHandler(this.miAutomaticLayoutAnalysis_Click); // // DrawArea // this.DrawArea.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.DrawArea.BackColor = System.Drawing.SystemColors.Window; this.DrawArea.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.DrawArea.Name = "DrawArea"; this.DrawArea.Size = new System.Drawing.Size(560, 420); this.DrawArea.TabIndex = 2; this.DrawArea.Paint += new System.Windows.Forms.PaintEventHandler(this.DrawArea_Paint); // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 420); this.statusBar.Name = "statusBar"; this.statusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanelDummy, this.statusBarPanelWord, this.statusBarPanelLine, this.statusBarPanelParagraph, this.statusBarPanelDrawing}); this.statusBar.RightToLeft = System.Windows.Forms.RightToLeft.No; this.statusBar.ShowPanels = true; this.statusBar.Size = new System.Drawing.Size(560, 21); this.statusBar.TabIndex = 3; // // statusBarPanelDummy // this.statusBarPanelDummy.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.statusBarPanelDummy.BorderStyle = System.Windows.Forms.StatusBarPanelBorderStyle.None; this.statusBarPanelDummy.Width = 200; // // statusBarPanelWord // this.statusBarPanelWord.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents; this.statusBarPanelWord.Text = "Green: Word"; this.statusBarPanelWord.Width = 79; // // statusBarPanelLine // this.statusBarPanelLine.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents; this.statusBarPanelLine.Text = "Magenta: Line"; this.statusBarPanelLine.Width = 86; // // statusBarPanelParagraph // this.statusBarPanelParagraph.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents; this.statusBarPanelParagraph.Text = "Blue: Paragraph"; this.statusBarPanelParagraph.Width = 96; // // statusBarPanelDrawing // this.statusBarPanelDrawing.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents; this.statusBarPanelDrawing.Text = "Red: Drawing"; this.statusBarPanelDrawing.Width = 83; // // InkDividerForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(560, 441); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.statusBar, this.DrawArea}); this.Menu = this.mainMenu; this.Name = "InkDividerForm"; this.Text = "Ink Divider"; this.Load += new System.EventHandler(this.InkDividerForm_Load); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanelDummy)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanelWord)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanelLine)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanelParagraph)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanelDrawing)).EndInit(); this.ResumeLayout(false); }
// ------------------------------------------------------------ // *** NOTE: if you get an error CS0234: in the // Windows Form Designer code in this line: // // this.listViewResults = new WorldWind.WWPlaceListView(); // // remove the "WorldWind." prefix the Designer insists on adding // (Same for listViewFavorites and listViewHistory) // ------------------------------------------------------------ #region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.textBoxSearchKeywords = new System.Windows.Forms.TextBox(); this.labelLookfor = new System.Windows.Forms.Label(); this.buttonSearch = new System.Windows.Forms.Button(); this.buttonGo = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.numericUpDownLatitude = new System.Windows.Forms.NumericUpDown(); this.numericUpDownLongitude = new System.Windows.Forms.NumericUpDown(); this.numericUpDownAltitude = new System.Windows.Forms.NumericUpDown(); this.labelRange = new System.Windows.Forms.Label(); this.labelLatitude = new System.Windows.Forms.Label(); this.labelLongitude = new System.Windows.Forms.Label(); this.buttonStop = new System.Windows.Forms.Button(); this.statusBar = new System.Windows.Forms.StatusBar(); this.statusBarPanel = new System.Windows.Forms.StatusBarPanel(); this.progressPanel = new System.Windows.Forms.StatusBarPanel(); this.progressBarSearch = new System.Windows.Forms.ProgressBar(); this.checkBoxFastSearch = new System.Windows.Forms.CheckBox(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.tabControlLists = new System.Windows.Forms.TabControl(); this.tabPageResults = new System.Windows.Forms.TabPage(); this.listViewResults = new WWPlaceListView(); this.tabPageFavorites = new System.Windows.Forms.TabPage(); this.listViewFavorites = new WWPlaceListView(); this.tabPageHistory = new System.Windows.Forms.TabPage(); this.listViewHistory = new WWPlaceListView(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownLatitude)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownLongitude)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownAltitude)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.progressPanel)).BeginInit(); this.tabControlLists.SuspendLayout(); this.tabPageResults.SuspendLayout(); this.tabPageFavorites.SuspendLayout(); this.tabPageHistory.SuspendLayout(); this.SuspendLayout(); // // textBoxSearchKeywords // this.textBoxSearchKeywords.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.textBoxSearchKeywords.Location = new System.Drawing.Point(8, 323); this.textBoxSearchKeywords.Name = "textBoxSearchKeywords"; this.textBoxSearchKeywords.Size = new System.Drawing.Size(152, 20); this.textBoxSearchKeywords.TabIndex = 1; this.textBoxSearchKeywords.Text = ""; this.textBoxSearchKeywords.Enter += new System.EventHandler(this.textBoxSearchKeywords_Enter); // // labelLookfor // this.labelLookfor.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.labelLookfor.Location = new System.Drawing.Point(8, 307); this.labelLookfor.Name = "labelLookfor"; this.labelLookfor.Size = new System.Drawing.Size(144, 16); this.labelLookfor.TabIndex = 0; this.labelLookfor.Text = "&Look for place named:"; this.labelLookfor.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // buttonSearch // this.buttonSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonSearch.Location = new System.Drawing.Point(8, 371); this.buttonSearch.Name = "buttonSearch"; this.buttonSearch.Size = new System.Drawing.Size(72, 24); this.buttonSearch.TabIndex = 3; this.buttonSearch.Text = "&Search"; this.buttonSearch.Click += new System.EventHandler(this.buttonSearch_Click); // // buttonGo // this.buttonGo.Location = new System.Drawing.Point(160, 37); this.buttonGo.Name = "buttonGo"; this.buttonGo.Size = new System.Drawing.Size(64, 35); this.buttonGo.TabIndex = 6; this.buttonGo.Text = "&Go"; this.buttonGo.Click += new System.EventHandler(this.buttonGo_Click); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.groupBox1.Controls.Add(this.numericUpDownLatitude); this.groupBox1.Controls.Add(this.numericUpDownLongitude); this.groupBox1.Controls.Add(this.numericUpDownAltitude); this.groupBox1.Controls.Add(this.labelRange); this.groupBox1.Controls.Add(this.buttonGo); this.groupBox1.Controls.Add(this.labelLatitude); this.groupBox1.Controls.Add(this.labelLongitude); this.groupBox1.Location = new System.Drawing.Point(184, 299); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(232, 100); this.groupBox1.TabIndex = 5; this.groupBox1.TabStop = false; this.groupBox1.Text = "Position"; // // numericUpDownLatitude // this.numericUpDownLatitude.DecimalPlaces = 3; this.numericUpDownLatitude.Location = new System.Drawing.Point(88, 21); this.numericUpDownLatitude.Maximum = new System.Decimal(new int[] { 90000, 0, 0, 196608 }); this.numericUpDownLatitude.Minimum = new System.Decimal(new int[] { 90000, 0, 0, -2147287040 }); this.numericUpDownLatitude.Name = "numericUpDownLatitude"; this.numericUpDownLatitude.Size = new System.Drawing.Size(64, 20); this.numericUpDownLatitude.TabIndex = 1; this.numericUpDownLatitude.KeyUp += new System.Windows.Forms.KeyEventHandler(this.PositionUpDowns_KeyUp); // // numericUpDownLongitude // this.numericUpDownLongitude.DecimalPlaces = 3; this.numericUpDownLongitude.Location = new System.Drawing.Point(88, 45); this.numericUpDownLongitude.Maximum = new System.Decimal(new int[] { 180000, 0, 0, 196608 }); this.numericUpDownLongitude.Minimum = new System.Decimal(new int[] { 180000, 0, 0, -2147287040 }); this.numericUpDownLongitude.Name = "numericUpDownLongitude"; this.numericUpDownLongitude.Size = new System.Drawing.Size(64, 20); this.numericUpDownLongitude.TabIndex = 3; this.numericUpDownLongitude.KeyUp += new System.Windows.Forms.KeyEventHandler(this.PositionUpDowns_KeyUp); // // numericUpDownAltitude // this.numericUpDownAltitude.Location = new System.Drawing.Point(88, 69); this.numericUpDownAltitude.Maximum = new System.Decimal(new int[] { 100000000, 0, 0, 0 }); this.numericUpDownAltitude.Minimum = new System.Decimal(new int[] { 1, 0, 0, 0 }); this.numericUpDownAltitude.Name = "numericUpDownAltitude"; this.numericUpDownAltitude.Size = new System.Drawing.Size(64, 20); this.numericUpDownAltitude.TabIndex = 5; this.numericUpDownAltitude.Value = new System.Decimal(new int[] { 10000, 0, 0, 0 }); this.numericUpDownAltitude.KeyUp += new System.Windows.Forms.KeyEventHandler(this.PositionUpDowns_KeyUp); // // labelRange // this.labelRange.Location = new System.Drawing.Point(8, 70); this.labelRange.Name = "labelRange"; this.labelRange.Size = new System.Drawing.Size(72, 23); this.labelRange.TabIndex = 4; this.labelRange.Text = "Al&titude (km):"; this.labelRange.TextAlign = System.Drawing.ContentAlignment.TopRight; // // labelLatitude // this.labelLatitude.Location = new System.Drawing.Point(32, 22); this.labelLatitude.Name = "labelLatitude"; this.labelLatitude.Size = new System.Drawing.Size(48, 23); this.labelLatitude.TabIndex = 0; this.labelLatitude.Text = "L&atitude:"; this.labelLatitude.TextAlign = System.Drawing.ContentAlignment.TopRight; // // labelLongitude // this.labelLongitude.Location = new System.Drawing.Point(16, 46); this.labelLongitude.Name = "labelLongitude"; this.labelLongitude.Size = new System.Drawing.Size(64, 23); this.labelLongitude.TabIndex = 2; this.labelLongitude.Text = "L&ongitude:"; this.labelLongitude.TextAlign = System.Drawing.ContentAlignment.TopRight; // // buttonStop // this.buttonStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonStop.Enabled = false; this.buttonStop.Location = new System.Drawing.Point(88, 371); this.buttonStop.Name = "buttonStop"; this.buttonStop.Size = new System.Drawing.Size(72, 23); this.buttonStop.TabIndex = 4; this.buttonStop.Text = "Sto&p"; this.buttonStop.Click += new System.EventHandler(this.buttonStop_Click); // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 400); this.statusBar.Name = "statusBar"; this.statusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel, this.progressPanel }); this.statusBar.ShowPanels = true; this.statusBar.Size = new System.Drawing.Size(424, 22); this.statusBar.TabIndex = 6; this.statusBar.DrawItem += new System.Windows.Forms.StatusBarDrawItemEventHandler(this.statusBar_DrawItem); // // progressPanel // this.progressPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.progressPanel.Style = System.Windows.Forms.StatusBarPanelStyle.OwnerDraw; this.progressPanel.Width = 308; // // progressBarSearch // this.progressBarSearch.Location = new System.Drawing.Point(128, 400); this.progressBarSearch.Name = "progressBarSearch"; this.progressBarSearch.Size = new System.Drawing.Size(240, 23); this.progressBarSearch.TabIndex = 7; // // checkBoxFastSearch // this.checkBoxFastSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.checkBoxFastSearch.Enabled = false; this.checkBoxFastSearch.Location = new System.Drawing.Point(8, 347); this.checkBoxFastSearch.Name = "checkBoxFastSearch"; this.checkBoxFastSearch.Size = new System.Drawing.Size(152, 20); this.checkBoxFastSearch.TabIndex = 2; this.checkBoxFastSearch.Text = "Use fast search"; this.toolTip1.SetToolTip(this.checkBoxFastSearch, "Fast search needs index files and will search the name column only but will do so" + " much faster."); this.checkBoxFastSearch.CheckedChanged += new System.EventHandler(this.checkBoxFastSearch_CheckedChanged); // // tabControlLists // this.tabControlLists.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tabControlLists.Controls.Add(this.tabPageResults); this.tabControlLists.Controls.Add(this.tabPageFavorites); this.tabControlLists.Controls.Add(this.tabPageHistory); this.tabControlLists.Location = new System.Drawing.Point(2, 2); this.tabControlLists.Name = "tabControlLists"; this.tabControlLists.SelectedIndex = 0; this.tabControlLists.Size = new System.Drawing.Size(420, 295); this.tabControlLists.TabIndex = 8; // // tabPageResults // this.tabPageResults.Controls.Add(this.listViewResults); this.tabPageResults.Location = new System.Drawing.Point(4, 22); this.tabPageResults.Name = "tabPageResults"; this.tabPageResults.Size = new System.Drawing.Size(412, 269); this.tabPageResults.TabIndex = 0; this.tabPageResults.Text = "Results"; // // listViewResults // this.listViewResults.Dock = System.Windows.Forms.DockStyle.Fill; this.listViewResults.Favorites = null; this.listViewResults.FullRowSelect = true; this.listViewResults.Location = new System.Drawing.Point(0, 0); this.listViewResults.Name = "listViewResults"; this.listViewResults.RecentFinds = null; this.listViewResults.Size = new System.Drawing.Size(412, 269); this.listViewResults.TabIndex = 0; this.listViewResults.View = System.Windows.Forms.View.Details; this.listViewResults.WorldWindow = null; this.listViewResults.SelectedIndexChanged += new EventHandler(placelistView_SelectedIndexChanged); // // tabPageFavorites // this.tabPageFavorites.Controls.Add(this.listViewFavorites); this.tabPageFavorites.Location = new System.Drawing.Point(4, 22); this.tabPageFavorites.Name = "tabPageFavorites"; this.tabPageFavorites.Size = new System.Drawing.Size(412, 269); this.tabPageFavorites.TabIndex = 1; this.tabPageFavorites.Text = "Favorites"; // // listViewFavorites // this.listViewFavorites.Dock = System.Windows.Forms.DockStyle.Fill; this.listViewFavorites.Favorites = null; this.listViewFavorites.FullRowSelect = true; this.listViewFavorites.Location = new System.Drawing.Point(0, 0); this.listViewFavorites.Name = "listViewFavorites"; this.listViewFavorites.RecentFinds = null; this.listViewFavorites.Size = new System.Drawing.Size(412, 269); this.listViewFavorites.TabIndex = 0; this.listViewFavorites.View = System.Windows.Forms.View.Details; this.listViewFavorites.WorldWindow = null; this.listViewFavorites.SelectedIndexChanged += new EventHandler(placelistView_SelectedIndexChanged); // // tabPageHistory // this.tabPageHistory.Controls.Add(this.listViewHistory); this.tabPageHistory.Location = new System.Drawing.Point(4, 22); this.tabPageHistory.Name = "tabPageHistory"; this.tabPageHistory.Size = new System.Drawing.Size(412, 269); this.tabPageHistory.TabIndex = 2; this.tabPageHistory.Text = "History"; // // listViewHistory // this.listViewHistory.Dock = System.Windows.Forms.DockStyle.Fill; this.listViewHistory.Favorites = null; this.listViewHistory.FullRowSelect = true; this.listViewHistory.Location = new System.Drawing.Point(0, 0); this.listViewHistory.Name = "listViewHistory"; this.listViewHistory.RecentFinds = null; this.listViewHistory.Size = new System.Drawing.Size(412, 269); this.listViewHistory.TabIndex = 0; this.listViewHistory.View = System.Windows.Forms.View.Details; this.listViewHistory.WorldWindow = null; this.listViewHistory.SelectedIndexChanged += new EventHandler(placelistView_SelectedIndexChanged); // // GotoDialog // this.AcceptButton = this.buttonSearch; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(424, 422); this.Controls.Add(this.tabControlLists); this.Controls.Add(this.checkBoxFastSearch); this.Controls.Add(this.textBoxSearchKeywords); this.Controls.Add(this.progressBarSearch); this.Controls.Add(this.statusBar); this.Controls.Add(this.groupBox1); this.Controls.Add(this.buttonStop); this.Controls.Add(this.buttonSearch); this.Controls.Add(this.labelLookfor); this.KeyPreview = true; this.MinimumSize = new System.Drawing.Size(432, 250); this.Name = "GotoDialog"; this.Text = "Place Finder"; this.Closing += new System.ComponentModel.CancelEventHandler(this.GotoDialog_Closing); this.Load += new System.EventHandler(this.GotoDialog_Load); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownLatitude)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownLongitude)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownAltitude)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.progressPanel)).EndInit(); this.tabControlLists.ResumeLayout(false); this.tabPageResults.ResumeLayout(false); this.tabPageFavorites.ResumeLayout(false); this.tabPageHistory.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain)); this.mnuMain = new System.Windows.Forms.MainMenu(this.components); this.MenuItem1 = new System.Windows.Forms.MenuItem(); this.mnuDBLogin = new System.Windows.Forms.MenuItem(); this.MenuItem2 = new System.Windows.Forms.MenuItem(); this.mnuNavBar = new System.Windows.Forms.MenuItem(); this.MenuItem6 = new System.Windows.Forms.MenuItem(); this.mnuLargeIcons = new System.Windows.Forms.MenuItem(); this.mnuSmallIcons = new System.Windows.Forms.MenuItem(); this.mnuSideBarProp = new System.Windows.Forms.MenuItem(); this.MenuItem4 = new System.Windows.Forms.MenuItem(); this.mnuExit = new System.Windows.Forms.MenuItem(); this.mnuSettings = new System.Windows.Forms.MenuItem(); this.mnu_Sett = new System.Windows.Forms.MenuItem(); this.mnuAbout = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.imlMain = new System.Windows.Forms.ImageList(this.components); this.tmrMain = new System.Windows.Forms.Timer(this.components); this.imlSmallImageNavBar = new System.Windows.Forms.ImageList(this.components); this.imlNavBar = new System.Windows.Forms.ImageList(this.components); this.sbarMain = new System.Windows.Forms.StatusBar(); this.sPnlGeneral = new System.Windows.Forms.StatusBarPanel(); this.sPnlLogon = new System.Windows.Forms.StatusBarPanel(); this.sPnlDate = new System.Windows.Forms.StatusBarPanel(); this.sPnlPath = new System.Windows.Forms.StatusBarPanel(); this.pnlBody = new System.Windows.Forms.Panel(); this.pnlMain = new System.Windows.Forms.Panel(); this.pnlHeader = new System.Windows.Forms.Panel(); this.lblTitle = new System.Windows.Forms.Label(); this.pnlNavBar = new System.Windows.Forms.Panel(); this.navBar = new DevExpress.XtraNavBar.NavBarControl(); this.navBarGroup1 = new DevExpress.XtraNavBar.NavBarGroup(); this.nBarClient = new DevExpress.XtraNavBar.NavBarItem(); this.nBarDept = new DevExpress.XtraNavBar.NavBarItem(); this.nBarProgram = new DevExpress.XtraNavBar.NavBarItem(); this.nBarCourse = new DevExpress.XtraNavBar.NavBarItem(); this.nBarTeacher = new DevExpress.XtraNavBar.NavBarItem(); this.navBarGroup2 = new DevExpress.XtraNavBar.NavBarGroup(); this.nBarEvent = new DevExpress.XtraNavBar.NavBarItem(); this.nBarDay = new DevExpress.XtraNavBar.NavBarItem(); this.nBarWeek = new DevExpress.XtraNavBar.NavBarItem(); this.nBarMonth = new DevExpress.XtraNavBar.NavBarItem(); this.navBarGroup3 = new DevExpress.XtraNavBar.NavBarGroup(); this.nBarUser = new DevExpress.XtraNavBar.NavBarItem(); this.navBarGroup4 = new DevExpress.XtraNavBar.NavBarGroup(); this.navBarItem1 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem2 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarTransportationExpenses = new DevExpress.XtraNavBar.NavBarItem(); this.navBarReportBillingInfo = new DevExpress.XtraNavBar.NavBarItem(); this.nBarContacts = new DevExpress.XtraNavBar.NavBarItem(); this.cMenu_New = new System.Windows.Forms.ContextMenu(); this.mnuItemClient = new System.Windows.Forms.MenuItem(); this.mnuItemDept = new System.Windows.Forms.MenuItem(); this.mnuItemProgram = new System.Windows.Forms.MenuItem(); this.mnuItemCourse = new System.Windows.Forms.MenuItem(); this.mnuItemContact = new System.Windows.Forms.MenuItem(); this.menuItem11 = new System.Windows.Forms.MenuItem(); this.mnuItemUser = new System.Windows.Forms.MenuItem(); this.tBarMain = new FlatToolBar.FlatToolbar(); this.tbtnNew = new System.Windows.Forms.ToolBarButton(); this.tbtnDuplicate = new System.Windows.Forms.ToolBarButton(); this.tbtnOpen = new System.Windows.Forms.ToolBarButton(); this.tbtnDelete = new System.Windows.Forms.ToolBarButton(); this.tbtnSepa = new System.Windows.Forms.ToolBarButton(); this.tbtnFind = new System.Windows.Forms.ToolBarButton(); this.tbtnPrint = new System.Windows.Forms.ToolBarButton(); this.tbtnInfoProgram = new System.Windows.Forms.ToolBarButton(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); this.printDocument1 = new System.Drawing.Printing.PrintDocument(); ((System.ComponentModel.ISupportInitialize)(this.sPnlGeneral)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sPnlLogon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sPnlDate)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sPnlPath)).BeginInit(); this.pnlBody.SuspendLayout(); this.pnlHeader.SuspendLayout(); this.pnlNavBar.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.navBar)).BeginInit(); this.SuspendLayout(); // // mnuMain // this.mnuMain.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.MenuItem1, this.mnuSettings, this.mnuAbout}); // // MenuItem1 // this.MenuItem1.Index = 0; this.MenuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuDBLogin, this.MenuItem2, this.mnuNavBar, this.MenuItem6, this.mnuLargeIcons, this.mnuSmallIcons, this.mnuSideBarProp, this.MenuItem4, this.mnuExit}); this.MenuItem1.Text = "Main"; // // mnuDBLogin // this.mnuDBLogin.Index = 0; this.mnuDBLogin.Text = "Database Login"; this.mnuDBLogin.Click += new System.EventHandler(this.mnuDBLogin_Click); // // MenuItem2 // this.MenuItem2.Index = 1; this.MenuItem2.Text = "-"; // // mnuNavBar // this.mnuNavBar.Index = 2; this.mnuNavBar.Text = "Show Navigation Bar"; this.mnuNavBar.Click += new System.EventHandler(this.mnuNavBar_Click); // // MenuItem6 // this.MenuItem6.Index = 3; this.MenuItem6.Text = "-"; // // mnuLargeIcons // this.mnuLargeIcons.Index = 4; this.mnuLargeIcons.Text = "Large Icons"; this.mnuLargeIcons.Click += new System.EventHandler(this.mnuLargeIcons_Click); // // mnuSmallIcons // this.mnuSmallIcons.Index = 5; this.mnuSmallIcons.Text = "Small Icons"; this.mnuSmallIcons.Click += new System.EventHandler(this.mnuSmallIcons_Click); // // mnuSideBarProp // this.mnuSideBarProp.Index = 6; this.mnuSideBarProp.Text = "Display Properties"; this.mnuSideBarProp.Click += new System.EventHandler(this.mnuSideBarProp_Click); // // MenuItem4 // this.MenuItem4.Index = 7; this.MenuItem4.Text = "-"; // // mnuExit // this.mnuExit.Index = 8; this.mnuExit.Text = "Exit"; this.mnuExit.Click += new System.EventHandler(this.mnuExit_Click); // // mnuSettings // this.mnuSettings.Index = 1; this.mnuSettings.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnu_Sett}); this.mnuSettings.Text = "Tools"; // // mnu_Sett // this.mnu_Sett.Index = 0; this.mnu_Sett.Text = "Settings"; this.mnu_Sett.Click += new System.EventHandler(this.mnu_Sett_Click); // // mnuAbout // this.mnuAbout.Index = 2; this.mnuAbout.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem3}); this.mnuAbout.Text = "Help"; // // menuItem3 // this.menuItem3.Index = 0; this.menuItem3.Text = "About"; this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click); // // imlMain // this.imlMain.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imlMain.ImageStream"))); this.imlMain.TransparentColor = System.Drawing.Color.Fuchsia; this.imlMain.Images.SetKeyName(0, ""); this.imlMain.Images.SetKeyName(1, ""); this.imlMain.Images.SetKeyName(2, ""); this.imlMain.Images.SetKeyName(3, ""); this.imlMain.Images.SetKeyName(4, "clone-icon.gif"); this.imlMain.Images.SetKeyName(5, "tvuPrint.ico"); this.imlMain.Images.SetKeyName(6, "RibbonPrintPreviewDemoIcon.ico"); this.imlMain.Images.SetKeyName(7, "Printers & Faxes.ico"); // // tmrMain // this.tmrMain.Interval = 1000; this.tmrMain.Tick += new System.EventHandler(this.tmrMain_Tick); // // imlSmallImageNavBar // this.imlSmallImageNavBar.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imlSmallImageNavBar.ImageStream"))); this.imlSmallImageNavBar.TransparentColor = System.Drawing.Color.Magenta; this.imlSmallImageNavBar.Images.SetKeyName(0, ""); this.imlSmallImageNavBar.Images.SetKeyName(1, ""); this.imlSmallImageNavBar.Images.SetKeyName(2, ""); this.imlSmallImageNavBar.Images.SetKeyName(3, ""); this.imlSmallImageNavBar.Images.SetKeyName(4, ""); this.imlSmallImageNavBar.Images.SetKeyName(5, ""); this.imlSmallImageNavBar.Images.SetKeyName(6, ""); this.imlSmallImageNavBar.Images.SetKeyName(7, ""); this.imlSmallImageNavBar.Images.SetKeyName(8, ""); this.imlSmallImageNavBar.Images.SetKeyName(9, ""); this.imlSmallImageNavBar.Images.SetKeyName(10, ""); this.imlSmallImageNavBar.Images.SetKeyName(11, ""); this.imlSmallImageNavBar.Images.SetKeyName(12, ""); this.imlSmallImageNavBar.Images.SetKeyName(13, ""); this.imlSmallImageNavBar.Images.SetKeyName(14, ""); this.imlSmallImageNavBar.Images.SetKeyName(15, ""); this.imlSmallImageNavBar.Images.SetKeyName(16, ""); this.imlSmallImageNavBar.Images.SetKeyName(17, ""); // // imlNavBar // this.imlNavBar.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imlNavBar.ImageStream"))); this.imlNavBar.TransparentColor = System.Drawing.Color.Magenta; this.imlNavBar.Images.SetKeyName(0, ""); this.imlNavBar.Images.SetKeyName(1, ""); this.imlNavBar.Images.SetKeyName(2, ""); this.imlNavBar.Images.SetKeyName(3, ""); this.imlNavBar.Images.SetKeyName(4, ""); this.imlNavBar.Images.SetKeyName(5, ""); this.imlNavBar.Images.SetKeyName(6, ""); this.imlNavBar.Images.SetKeyName(7, ""); this.imlNavBar.Images.SetKeyName(8, ""); this.imlNavBar.Images.SetKeyName(9, ""); this.imlNavBar.Images.SetKeyName(10, ""); this.imlNavBar.Images.SetKeyName(11, ""); this.imlNavBar.Images.SetKeyName(12, ""); this.imlNavBar.Images.SetKeyName(13, ""); this.imlNavBar.Images.SetKeyName(14, ""); this.imlNavBar.Images.SetKeyName(15, ""); this.imlNavBar.Images.SetKeyName(16, ""); this.imlNavBar.Images.SetKeyName(17, ""); this.imlNavBar.Images.SetKeyName(18, ""); this.imlNavBar.Images.SetKeyName(19, ""); this.imlNavBar.Images.SetKeyName(20, ""); this.imlNavBar.Images.SetKeyName(21, ""); this.imlNavBar.Images.SetKeyName(22, ""); this.imlNavBar.Images.SetKeyName(23, "money_envelope.ico"); // // sbarMain // this.sbarMain.Location = new System.Drawing.Point(0, 641); this.sbarMain.Name = "sbarMain"; this.sbarMain.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.sPnlGeneral, this.sPnlLogon, this.sPnlDate, this.sPnlPath}); this.sbarMain.ShowPanels = true; this.sbarMain.Size = new System.Drawing.Size(1142, 28); this.sbarMain.TabIndex = 17; this.sbarMain.Text = "sBarMain"; // // sPnlGeneral // this.sPnlGeneral.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.sPnlGeneral.Name = "sPnlGeneral"; this.sPnlGeneral.Width = 631; // // sPnlLogon // this.sPnlLogon.Icon = ((System.Drawing.Icon)(resources.GetObject("sPnlLogon.Icon"))); this.sPnlLogon.Name = "sPnlLogon"; this.sPnlLogon.Text = "Logon : "; this.sPnlLogon.Width = 220; // // sPnlDate // this.sPnlDate.Name = "sPnlDate"; this.sPnlDate.Text = "Date : "; this.sPnlDate.Width = 220; // // sPnlPath // this.sPnlPath.Icon = ((System.Drawing.Icon)(resources.GetObject("sPnlPath.Icon"))); this.sPnlPath.Name = "sPnlPath"; this.sPnlPath.Width = 50; // // pnlBody // this.pnlBody.Controls.Add(this.pnlMain); this.pnlBody.Controls.Add(this.pnlHeader); this.pnlBody.Controls.Add(this.pnlNavBar); this.pnlBody.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlBody.Location = new System.Drawing.Point(0, 46); this.pnlBody.Name = "pnlBody"; this.pnlBody.Size = new System.Drawing.Size(1142, 595); this.pnlBody.TabIndex = 18; // // pnlMain // this.pnlMain.BackColor = System.Drawing.SystemColors.Window; this.pnlMain.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlMain.Location = new System.Drawing.Point(224, 39); this.pnlMain.Name = "pnlMain"; this.pnlMain.Size = new System.Drawing.Size(918, 556); this.pnlMain.TabIndex = 1; // // pnlHeader // this.pnlHeader.BackColor = System.Drawing.SystemColors.ControlDark; this.pnlHeader.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.pnlHeader.Controls.Add(this.lblTitle); this.pnlHeader.Dock = System.Windows.Forms.DockStyle.Top; this.pnlHeader.Location = new System.Drawing.Point(224, 0); this.pnlHeader.Name = "pnlHeader"; this.pnlHeader.Size = new System.Drawing.Size(918, 39); this.pnlHeader.TabIndex = 0; this.pnlHeader.Resize += new System.EventHandler(this.pnlHeader_Resize); // // lblTitle // this.lblTitle.AutoSize = true; this.lblTitle.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTitle.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; this.lblTitle.Location = new System.Drawing.Point(23, 6); this.lblTitle.Name = "lblTitle"; this.lblTitle.Size = new System.Drawing.Size(54, 24); this.lblTitle.TabIndex = 0; this.lblTitle.Text = "Title"; // // pnlNavBar // this.pnlNavBar.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.pnlNavBar.Controls.Add(this.navBar); this.pnlNavBar.Dock = System.Windows.Forms.DockStyle.Left; this.pnlNavBar.Location = new System.Drawing.Point(0, 0); this.pnlNavBar.Name = "pnlNavBar"; this.pnlNavBar.Size = new System.Drawing.Size(224, 595); this.pnlNavBar.TabIndex = 12; // // navBar // this.navBar.ActiveGroup = this.navBarGroup1; this.navBar.Appearance.ItemDisabled.Options.UseTextOptions = true; this.navBar.Appearance.ItemDisabled.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBar.Appearance.ItemDisabled.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.navBar.Appearance.ItemHotTracked.Options.UseTextOptions = true; this.navBar.Appearance.ItemHotTracked.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBar.Appearance.ItemHotTracked.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.navBar.Appearance.ItemPressed.Options.UseTextOptions = true; this.navBar.Appearance.ItemPressed.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBar.Appearance.ItemPressed.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.navBar.ContentButtonHint = null; this.navBar.Dock = System.Windows.Forms.DockStyle.Fill; this.navBar.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.navBar.Groups.AddRange(new DevExpress.XtraNavBar.NavBarGroup[] { this.navBarGroup1, this.navBarGroup2, this.navBarGroup3, this.navBarGroup4}); this.navBar.Items.AddRange(new DevExpress.XtraNavBar.NavBarItem[] { this.nBarUser, this.nBarDept, this.nBarCourse, this.nBarProgram, this.nBarEvent, this.nBarContacts, this.nBarTeacher, this.nBarClient, this.nBarDay, this.nBarWeek, this.nBarMonth, this.navBarItem1, this.navBarItem2, this.navBarTransportationExpenses, this.navBarReportBillingInfo}); this.navBar.LargeImages = this.imlNavBar; this.navBar.Location = new System.Drawing.Point(0, 0); this.navBar.Name = "navBar"; this.navBar.OptionsNavPane.ExpandedWidth = 220; this.navBar.Size = new System.Drawing.Size(220, 591); this.navBar.SmallImages = this.imlSmallImageNavBar; this.navBar.TabIndex = 5; this.navBar.Text = "Navigation"; this.navBar.View = new DevExpress.XtraNavBar.ViewInfo.FlatViewInfoRegistrator(); this.navBar.Click += new System.EventHandler(this.navBar_Click); // // navBarGroup1 // this.navBarGroup1.Caption = "System Data"; this.navBarGroup1.Expanded = true; this.navBarGroup1.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] { new DevExpress.XtraNavBar.NavBarItemLink(this.nBarClient), new DevExpress.XtraNavBar.NavBarItemLink(this.nBarDept), new DevExpress.XtraNavBar.NavBarItemLink(this.nBarProgram), new DevExpress.XtraNavBar.NavBarItemLink(this.nBarCourse), new DevExpress.XtraNavBar.NavBarItemLink(this.nBarTeacher)}); this.navBarGroup1.LargeImageIndex = 16; this.navBarGroup1.Name = "navBarGroup1"; // // nBarClient // this.nBarClient.Caption = "Client"; this.nBarClient.LargeImageIndex = 16; this.nBarClient.Name = "nBarClient"; this.nBarClient.SmallImageIndex = 14; this.nBarClient.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nBarClient_LinkClicked); // // nBarDept // this.nBarDept.Caption = "Department"; this.nBarDept.LargeImageIndex = 19; this.nBarDept.Name = "nBarDept"; this.nBarDept.SmallImageIndex = 4; this.nBarDept.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nBarDept_LinkClicked); // // nBarProgram // this.nBarProgram.Caption = "Program"; this.nBarProgram.LargeImageIndex = 2; this.nBarProgram.Name = "nBarProgram"; this.nBarProgram.SmallImageIndex = 2; this.nBarProgram.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nBarProgram_LinkClicked); // // nBarCourse // this.nBarCourse.Caption = "Class"; this.nBarCourse.LargeImageIndex = 1; this.nBarCourse.Name = "nBarCourse"; this.nBarCourse.SmallImageIndex = 1; this.nBarCourse.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nBarCourse_LinkClicked); // // nBarTeacher // this.nBarTeacher.Caption = "Instructor"; this.nBarTeacher.LargeImageIndex = 17; this.nBarTeacher.Name = "nBarTeacher"; this.nBarTeacher.SmallImageIndex = 5; this.nBarTeacher.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nBarTeacher_LinkClicked); // // navBarGroup2 // this.navBarGroup2.Caption = "Schedule"; this.navBarGroup2.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] { new DevExpress.XtraNavBar.NavBarItemLink(this.nBarEvent), new DevExpress.XtraNavBar.NavBarItemLink(this.nBarDay), new DevExpress.XtraNavBar.NavBarItemLink(this.nBarWeek), new DevExpress.XtraNavBar.NavBarItemLink(this.nBarMonth)}); this.navBarGroup2.Name = "navBarGroup2"; // // nBarEvent // this.nBarEvent.Caption = "Event"; this.nBarEvent.LargeImageIndex = 4; this.nBarEvent.Name = "nBarEvent"; this.nBarEvent.SmallImageIndex = 4; this.nBarEvent.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nBarEvent_LinkClicked); // // nBarDay // this.nBarDay.Caption = "Day"; this.nBarDay.LargeImageIndex = 20; this.nBarDay.Name = "nBarDay"; this.nBarDay.SmallImageIndex = 15; this.nBarDay.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nBarDay_LinkClicked); // // nBarWeek // this.nBarWeek.Caption = "Week"; this.nBarWeek.LargeImageIndex = 21; this.nBarWeek.Name = "nBarWeek"; this.nBarWeek.SmallImageIndex = 16; this.nBarWeek.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nBarWeek_LinkClicked); // // nBarMonth // this.nBarMonth.Caption = "Month"; this.nBarMonth.LargeImageIndex = 22; this.nBarMonth.Name = "nBarMonth"; this.nBarMonth.SmallImageIndex = 17; this.nBarMonth.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nBarMonth_LinkClicked); // // navBarGroup3 // this.navBarGroup3.Caption = "Access"; this.navBarGroup3.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] { new DevExpress.XtraNavBar.NavBarItemLink(this.nBarUser)}); this.navBarGroup3.Name = "navBarGroup3"; // // nBarUser // this.nBarUser.Caption = "User"; this.nBarUser.LargeImageIndex = 18; this.nBarUser.Name = "nBarUser"; this.nBarUser.SmallImageIndex = 12; this.nBarUser.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nBarUser_LinkClicked); // // navBarGroup4 // this.navBarGroup4.Caption = "Accounting"; this.navBarGroup4.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] { new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem1), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem2), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarTransportationExpenses), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarReportBillingInfo)}); this.navBarGroup4.Name = "navBarGroup4"; // // navBarItem1 // this.navBarItem1.Caption = "Pay Details By Instructor"; this.navBarItem1.LargeImageIndex = 6; this.navBarItem1.Name = "navBarItem1"; this.navBarItem1.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem1_LinkClicked); // // navBarItem2 // this.navBarItem2.Caption = "Payroll By Instructor"; this.navBarItem2.LargeImageIndex = 5; this.navBarItem2.Name = "navBarItem2"; this.navBarItem2.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem2_LinkClicked); // // navBarTransportationExpenses // this.navBarTransportationExpenses.Caption = "Transportation Expenses"; this.navBarTransportationExpenses.LargeImageIndex = 23; this.navBarTransportationExpenses.Name = "navBarTransportationExpenses"; this.navBarTransportationExpenses.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarTransportationExpenses_LinkClicked); // // navBarReportBillingInfo // this.navBarReportBillingInfo.Caption = "Billing Information By Client"; this.navBarReportBillingInfo.LargeImageIndex = 2; this.navBarReportBillingInfo.Name = "navBarReportBillingInfo"; this.navBarReportBillingInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarReportBillingInfo_LinkClicked); // // nBarContacts // this.nBarContacts.Caption = "Contacts"; this.nBarContacts.LargeImageIndex = 16; this.nBarContacts.Name = "nBarContacts"; this.nBarContacts.SmallImageIndex = 13; this.nBarContacts.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.nBarContacts_LinkClicked); // // cMenu_New // this.cMenu_New.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuItemClient, this.mnuItemDept, this.mnuItemProgram, this.mnuItemCourse, this.mnuItemContact, this.menuItem11, this.mnuItemUser}); // // mnuItemClient // this.mnuItemClient.Index = 0; this.mnuItemClient.Text = "Client"; this.mnuItemClient.Click += new System.EventHandler(this.mnuItemClient_Click); // // mnuItemDept // this.mnuItemDept.Index = 1; this.mnuItemDept.Text = "Department"; this.mnuItemDept.Click += new System.EventHandler(this.mnuItemDept_Click); // // mnuItemProgram // this.mnuItemProgram.Index = 2; this.mnuItemProgram.Text = "Program"; this.mnuItemProgram.Click += new System.EventHandler(this.mnuItemProgram_Click); // // mnuItemCourse // this.mnuItemCourse.Index = 3; this.mnuItemCourse.Text = "Class"; this.mnuItemCourse.Click += new System.EventHandler(this.mnuItemCourse_Click); // // mnuItemContact // this.mnuItemContact.Index = 4; this.mnuItemContact.Text = "Instructor"; this.mnuItemContact.Click += new System.EventHandler(this.mnuItemContact_Click); // // menuItem11 // this.menuItem11.Index = 5; this.menuItem11.Text = "-"; // // mnuItemUser // this.mnuItemUser.Index = 6; this.mnuItemUser.Text = "User"; this.mnuItemUser.Click += new System.EventHandler(this.mnuItemUser_Click); // // tBarMain // //this.tBarMain.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.tBarMain.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.tbtnNew, this.tbtnDuplicate, this.tbtnOpen, this.tbtnDelete, this.tbtnSepa, this.tbtnFind, this.tbtnPrint, this.tbtnInfoProgram}); this.tBarMain.ButtonSize = new System.Drawing.Size(67, 34); //this.tBarMain.Divider = false; this.tBarMain.DropDownArrows = true; this.tBarMain.DropDownAsOne = false; this.tBarMain.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tBarMain.ImageList = this.imlMain; this.tBarMain.Location = new System.Drawing.Point(0, 0); this.tBarMain.Name = "tBarMain"; this.tBarMain.ShowToolTips = true; this.tBarMain.Size = new System.Drawing.Size(1142, 46); this.tBarMain.TabIndex = 11; this.tBarMain.TextAlign = System.Windows.Forms.ToolBarTextAlign.Right; this.tBarMain.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.tBarMain_ButtonClick); // // tbtnNew // this.tbtnNew.DropDownMenu = this.cMenu_New; this.tbtnNew.ImageIndex = 0; this.tbtnNew.Name = "tbtnNew"; this.tbtnNew.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton; this.tbtnNew.Text = "New"; this.tbtnNew.ToolTipText = "New"; // // tbtnDuplicate // this.tbtnDuplicate.Enabled = false; this.tbtnDuplicate.ImageIndex = 4; this.tbtnDuplicate.Name = "tbtnDuplicate"; this.tbtnDuplicate.Text = "Clone"; // // tbtnOpen // this.tbtnOpen.ImageIndex = 1; this.tbtnOpen.Name = "tbtnOpen"; this.tbtnOpen.Text = "Open"; this.tbtnOpen.ToolTipText = "Open"; // // tbtnDelete // this.tbtnDelete.ImageIndex = 2; this.tbtnDelete.Name = "tbtnDelete"; this.tbtnDelete.ToolTipText = "Delete"; // // tbtnSepa // this.tbtnSepa.Name = "tbtnSepa"; this.tbtnSepa.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // tbtnFind // this.tbtnFind.ImageIndex = 3; this.tbtnFind.Name = "tbtnFind"; this.tbtnFind.ToolTipText = "Find"; // // tbtnPrint // this.tbtnPrint.ImageIndex = 7; this.tbtnPrint.Name = "tbtnPrint"; this.tbtnPrint.Text = "Print"; // // tbtnInfoProgram // this.tbtnInfoProgram.ImageIndex = 6; this.tbtnInfoProgram.Name = "tbtnInfoProgram"; this.tbtnInfoProgram.Text = "Program Info"; this.tbtnInfoProgram.Visible = false; // // printPreviewDialog1 // this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog1.Document = this.printDocument1; this.printPreviewDialog1.Enabled = true; this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon"))); this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.Visible = false; // // printDocument1 // this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); // // frmMain // this.AutoScaleBaseSize = new System.Drawing.Size(7, 17); this.ClientSize = new System.Drawing.Size(1142, 669); this.Controls.Add(this.pnlBody); this.Controls.Add(this.sbarMain); this.Controls.Add(this.tBarMain); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Menu = this.mnuMain; this.MinimumSize = new System.Drawing.Size(1015, 607); this.Name = "frmMain"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Kurdyla Scheduler"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Closing += new System.ComponentModel.CancelEventHandler(this.frmMain_Closing); this.Load += new System.EventHandler(this.frmMain_Load); ((System.ComponentModel.ISupportInitialize)(this.sPnlGeneral)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sPnlLogon)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sPnlDate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sPnlPath)).EndInit(); this.pnlBody.ResumeLayout(false); this.pnlHeader.ResumeLayout(false); this.pnlHeader.PerformLayout(); this.pnlNavBar.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.navBar)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Adds a StatusBarPanel with the specified text to the collection. /// </summary> /// <param name="text">The text for the StatusBarPanel that is being added.</param> /// <returns>A StatusBarPanel that represents the panel that was added to the collection.</returns> public virtual StatusBarPanel Add(string text) { StatusBarPanel statusBarPanel = new StatusBarPanel(); statusBarPanel.Text = text; parent.Invalidate(); panelList.Add(statusBarPanel); return statusBarPanel; }
/// <summary> /// Adds a StatusBarPanel to the collection. /// </summary> /// <param name="value">A StatusBarPanel that represents the panel to add to the collection.</param> /// <returns>The zero-based index of the item in the collection.</returns> public virtual int Add(StatusBarPanel value) { if (value == null) { throw new ArgumentNullException("StatusBarPanel", "no valid object passed"); } StatusBarPanel statusBarPanel = value; statusBarPanel.parent = parent; parent.Invalidate(); return panelList.Add(value); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmClient)); this.tcMain = new System.Windows.Forms.TabControl( ); this.tpSettings = new System.Windows.Forms.TabPage( ); this.groupBox2 = new System.Windows.Forms.GroupBox( ); this.txtServerPW = new System.Windows.Forms.TextBox( ); this.label5 = new System.Windows.Forms.Label( ); this.btnConnect = new System.Windows.Forms.Button( ); this.txtServerPort = new System.Windows.Forms.TextBox( ); this.label4 = new System.Windows.Forms.Label( ); this.txtServerIP = new System.Windows.Forms.TextBox( ); this.label3 = new System.Windows.Forms.Label( ); this.groupBox1 = new System.Windows.Forms.GroupBox( ); this.chkFlashing = new System.Windows.Forms.CheckBox( ); this.txtNickName = new System.Windows.Forms.TextBox( ); this.label6 = new System.Windows.Forms.Label( ); this.btnStop = new System.Windows.Forms.Button( ); this.btnStart = new System.Windows.Forms.Button( ); this.txtPort = new System.Windows.Forms.TextBox( ); this.label2 = new System.Windows.Forms.Label( ); this.cmbIPAddress = new System.Windows.Forms.ComboBox( ); this.label1 = new System.Windows.Forms.Label( ); this.tpChat = new System.Windows.Forms.TabPage( ); this.label7 = new System.Windows.Forms.Label( ); this.lstUsers = new System.Windows.Forms.ListBox( ); this.txtReceived = new GenesisChatClient.ExRichTextBox( ); this.cmReceivedMenu = new System.Windows.Forms.ContextMenu( ); this.miClear = new System.Windows.Forms.MenuItem( ); this.btnSend = new System.Windows.Forms.Button( ); this.txtSend = new System.Windows.Forms.TextBox( ); this.sbStatus = new System.Windows.Forms.StatusBar( ); this.spState = new System.Windows.Forms.StatusBarPanel( ); this.tcMain.SuspendLayout( ); this.tpSettings.SuspendLayout( ); this.groupBox2.SuspendLayout( ); this.groupBox1.SuspendLayout( ); this.tpChat.SuspendLayout( ); ((System.ComponentModel.ISupportInitialize)(this.spState)).BeginInit( ); this.SuspendLayout( ); // // tcMain // this.tcMain.Controls.Add(this.tpSettings); this.tcMain.Controls.Add(this.tpChat); this.tcMain.ItemSize = new System.Drawing.Size(150, 18); this.tcMain.Location = new System.Drawing.Point(8, 8); this.tcMain.Name = "tcMain"; this.tcMain.SelectedIndex = 0; this.tcMain.Size = new System.Drawing.Size(576, 312); this.tcMain.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; this.tcMain.TabIndex = 0; // // tpSettings // this.tpSettings.Controls.Add(this.groupBox2); this.tpSettings.Controls.Add(this.groupBox1); this.tpSettings.Location = new System.Drawing.Point(4, 22); this.tpSettings.Name = "tpSettings"; this.tpSettings.Size = new System.Drawing.Size(568, 286); this.tpSettings.TabIndex = 0; this.tpSettings.Text = "Settings"; // // groupBox2 // this.groupBox2.Controls.Add(this.txtServerPW); this.groupBox2.Controls.Add(this.label5); this.groupBox2.Controls.Add(this.btnConnect); this.groupBox2.Controls.Add(this.txtServerPort); this.groupBox2.Controls.Add(this.label4); this.groupBox2.Controls.Add(this.txtServerIP); this.groupBox2.Controls.Add(this.label3); this.groupBox2.Location = new System.Drawing.Point(72, 136); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(416, 120); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; this.groupBox2.Text = "Server Settings"; // // txtServerPW // this.txtServerPW.Location = new System.Drawing.Point(8, 88); this.txtServerPW.Name = "txtServerPW"; this.txtServerPW.PasswordChar = '*'; this.txtServerPW.Size = new System.Drawing.Size(136, 21); this.txtServerPW.TabIndex = 9; // // label5 // this.label5.Location = new System.Drawing.Point(8, 72); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(104, 16); this.label5.TabIndex = 8; this.label5.Text = "Server Password"; // // btnConnect // this.btnConnect.Enabled = false; this.btnConnect.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnConnect.Location = new System.Drawing.Point(272, 32); this.btnConnect.Name = "btnConnect"; this.btnConnect.Size = new System.Drawing.Size(136, 24); this.btnConnect.TabIndex = 7; this.btnConnect.Text = "Connect to Server"; this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click); // // txtServerPort // this.txtServerPort.Location = new System.Drawing.Point(160, 38); this.txtServerPort.Name = "txtServerPort"; this.txtServerPort.Size = new System.Drawing.Size(72, 21); this.txtServerPort.TabIndex = 6; this.txtServerPort.Text = "27000"; // // label4 // this.label4.Location = new System.Drawing.Point(160, 22); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(104, 16); this.label4.TabIndex = 5; this.label4.Text = "Server Port"; // // txtServerIP // this.txtServerIP.Location = new System.Drawing.Point(8, 40); this.txtServerIP.Name = "txtServerIP"; this.txtServerIP.Size = new System.Drawing.Size(136, 21); this.txtServerIP.TabIndex = 4; this.txtServerIP.Text = "10.0.0.12"; // // label3 // this.label3.Location = new System.Drawing.Point(8, 24); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(104, 16); this.label3.TabIndex = 0; this.label3.Text = "Server IP Address"; // // groupBox1 // this.groupBox1.Controls.Add(this.chkFlashing); this.groupBox1.Controls.Add(this.txtNickName); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.btnStop); this.groupBox1.Controls.Add(this.btnStart); this.groupBox1.Controls.Add(this.txtPort); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.cmbIPAddress); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Location = new System.Drawing.Point(72, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(416, 120); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "My Settings"; // // chkFlashing // this.chkFlashing.Checked = true; this.chkFlashing.CheckState = System.Windows.Forms.CheckState.Checked; this.chkFlashing.FlatStyle = System.Windows.Forms.FlatStyle.System; this.chkFlashing.Location = new System.Drawing.Point(272, 80); this.chkFlashing.Name = "chkFlashing"; this.chkFlashing.Size = new System.Drawing.Size(112, 16); this.chkFlashing.TabIndex = 8; this.chkFlashing.Text = "Enable flashing"; // // txtNickName // this.txtNickName.Location = new System.Drawing.Point(8, 88); this.txtNickName.Name = "txtNickName"; this.txtNickName.Size = new System.Drawing.Size(136, 21); this.txtNickName.TabIndex = 7; // // label6 // this.label6.Location = new System.Drawing.Point(8, 72); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(80, 16); this.label6.TabIndex = 6; this.label6.Text = "NickName"; // // btnStop // this.btnStop.Enabled = false; this.btnStop.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnStop.Location = new System.Drawing.Point(272, 48); this.btnStop.Name = "btnStop"; this.btnStop.Size = new System.Drawing.Size(136, 24); this.btnStop.TabIndex = 5; this.btnStop.Text = "Stop Client"; this.btnStop.Click += new System.EventHandler(this.btnStop_Click); // // btnStart // this.btnStart.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnStart.Location = new System.Drawing.Point(272, 16); this.btnStart.Name = "btnStart"; this.btnStart.Size = new System.Drawing.Size(136, 24); this.btnStart.TabIndex = 4; this.btnStart.Text = "Start Client"; this.btnStart.Click += new System.EventHandler(this.btnStart_Click); // // txtPort // this.txtPort.Location = new System.Drawing.Point(160, 40); this.txtPort.Name = "txtPort"; this.txtPort.Size = new System.Drawing.Size(72, 21); this.txtPort.TabIndex = 3; this.txtPort.Text = "27001"; // // label2 // this.label2.Location = new System.Drawing.Point(160, 24); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(80, 16); this.label2.TabIndex = 2; this.label2.Text = "Port"; // // cmbIPAddress // this.cmbIPAddress.Location = new System.Drawing.Point(8, 40); this.cmbIPAddress.Name = "cmbIPAddress"; this.cmbIPAddress.Size = new System.Drawing.Size(136, 21); this.cmbIPAddress.TabIndex = 1; // // label1 // this.label1.Location = new System.Drawing.Point(8, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(80, 16); this.label1.TabIndex = 0; this.label1.Text = "IP Address"; // // tpChat // this.tpChat.Controls.Add(this.label7); this.tpChat.Controls.Add(this.lstUsers); this.tpChat.Controls.Add(this.txtReceived); this.tpChat.Controls.Add(this.btnSend); this.tpChat.Controls.Add(this.txtSend); this.tpChat.Location = new System.Drawing.Point(4, 22); this.tpChat.Name = "tpChat"; this.tpChat.Size = new System.Drawing.Size(568, 286); this.tpChat.TabIndex = 1; this.tpChat.Text = "Chat"; // // label7 // this.label7.Location = new System.Drawing.Point(432, 8); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(112, 16); this.label7.TabIndex = 4; this.label7.Text = "Connected Users"; // // lstUsers // this.lstUsers.Location = new System.Drawing.Point(432, 24); this.lstUsers.Name = "lstUsers"; this.lstUsers.Size = new System.Drawing.Size(128, 251); this.lstUsers.TabIndex = 3; // // txtReceived // this.txtReceived.ContextMenu = this.cmReceivedMenu; this.txtReceived.HideSelection = false; this.txtReceived.HiglightColor = GenesisChatClient.RtfColor.White; this.txtReceived.Location = new System.Drawing.Point(8, 8); this.txtReceived.Name = "txtReceived"; this.txtReceived.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.ForcedVertical; this.txtReceived.Size = new System.Drawing.Size(416, 224); this.txtReceived.TabIndex = 2; this.txtReceived.Text = ""; this.txtReceived.TextColor = GenesisChatClient.RtfColor.Black; // // cmReceivedMenu // this.cmReceivedMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miClear }); // // miClear // this.miClear.Index = 0; this.miClear.Text = "&Clear"; this.miClear.Click += new System.EventHandler(this.miClear_Click); // // btnSend // this.btnSend.Enabled = false; this.btnSend.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnSend.Location = new System.Drawing.Point(360, 240); this.btnSend.Name = "btnSend"; this.btnSend.Size = new System.Drawing.Size(64, 40); this.btnSend.TabIndex = 1; this.btnSend.Text = "Send"; this.btnSend.Click += new System.EventHandler(this.btnSend_Click); // // txtSend // this.txtSend.AcceptsReturn = true; this.txtSend.Location = new System.Drawing.Point(8, 240); this.txtSend.MaxLength = 200; this.txtSend.Multiline = true; this.txtSend.Name = "txtSend"; this.txtSend.Size = new System.Drawing.Size(344, 40); this.txtSend.TabIndex = 0; this.txtSend.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtSend_KeyDown); // // sbStatus // this.sbStatus.Location = new System.Drawing.Point(0, 327); this.sbStatus.Name = "sbStatus"; this.sbStatus.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.spState }); this.sbStatus.ShowPanels = true; this.sbStatus.Size = new System.Drawing.Size(594, 24); this.sbStatus.SizingGrip = false; this.sbStatus.TabIndex = 1; // // spState // this.spState.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.spState.Name = "spState"; this.spState.Text = "Application loaded."; this.spState.Width = 594; // // frmClient // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.ClientSize = new System.Drawing.Size(594, 351); this.Controls.Add(this.sbStatus); this.Controls.Add(this.tcMain); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "frmClient"; this.Text = "Laborator7-UDP Chat Client"; this.Closed += new System.EventHandler(this.frmClient_Closed); this.Load += new System.EventHandler(this.frmClient_Load); this.tcMain.ResumeLayout(false); this.tpSettings.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout( ); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout( ); this.tpChat.ResumeLayout(false); this.tpChat.PerformLayout( ); ((System.ComponentModel.ISupportInitialize)(this.spState)).EndInit( ); this.ResumeLayout(false); }
/// <summary> /// Initializes a new instance of the <see cref='System.Windows.Forms.StatusBarDrawItemEventArgs'/> /// class. /// </summary> public StatusBarDrawItemEventArgs(Graphics g, Font font, Rectangle r, int itemId, DrawItemState itemState, StatusBarPanel panel) : base(g, font, r, itemId, itemState) { Panel = panel; }
/// <summary> /// デザイナ サポートに必要なメソッドです。このメソッドの内容を /// コード エディタで変更しないでください。 /// </summary> private void InitializeComponent() { this.statusBar = new System.Windows.Forms.StatusBar(); this.statusMsg = new System.Windows.Forms.StatusBarPanel(); this.statusLog = new System.Windows.Forms.StatusBarPanel(); this.statusLogClr = new System.Windows.Forms.StatusBarPanel(); this.panel1 = new System.Windows.Forms.Panel(); this.txtMsg = new System.Windows.Forms.RichTextBox(); this.splitter1 = new System.Windows.Forms.Splitter(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabAbout = new System.Windows.Forms.TabPage(); this.lstPageHide = new System.Windows.Forms.ListBox(); this.lstPage = new System.Windows.Forms.ListBox(); this.txtShortKey = new System.Windows.Forms.TextBox(); this.label9 = new System.Windows.Forms.Label(); this.btnShortKey = new System.Windows.Forms.Button(); this.btnIniLoad = new System.Windows.Forms.Button(); this.btnIniSave = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.btnPageHide = new System.Windows.Forms.Button(); this.btnPageShow = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.statusMsg)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusLog)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusLogClr)).BeginInit(); this.panel1.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tabAbout.SuspendLayout(); this.SuspendLayout(); // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 319); this.statusBar.Name = "statusBar"; this.statusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusMsg, this.statusLog, this.statusLogClr }); this.statusBar.ShowPanels = true; this.statusBar.Size = new System.Drawing.Size(642, 19); this.statusBar.TabIndex = 0; this.statusBar.DrawItem += new System.Windows.Forms.StatusBarDrawItemEventHandler(this.statusBar_DrawItem); this.statusBar.PanelClick += new System.Windows.Forms.StatusBarPanelClickEventHandler(this.statusBar_PanelClick); // // statusMsg // this.statusMsg.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.statusMsg.Name = "statusMsg"; this.statusMsg.Text = "ready"; this.statusMsg.ToolTipText = "message for you"; this.statusMsg.Width = 505; // // statusLog // this.statusLog.Name = "statusLog"; this.statusLog.Text = "Hide Log"; this.statusLog.ToolTipText = "click here to hide/show log"; this.statusLog.Width = 60; // // statusLogClr // this.statusLogClr.Name = "statusLogClr"; this.statusLogClr.Style = System.Windows.Forms.StatusBarPanelStyle.OwnerDraw; this.statusLogClr.Text = "Clear Log"; this.statusLogClr.Width = 60; // // panel1 // this.panel1.Controls.Add(this.txtMsg); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 245); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(642, 74); this.panel1.TabIndex = 1; // // txtMsg // this.txtMsg.Dock = System.Windows.Forms.DockStyle.Fill; this.txtMsg.Location = new System.Drawing.Point(0, 0); this.txtMsg.Name = "txtMsg"; this.txtMsg.Size = new System.Drawing.Size(642, 74); this.txtMsg.TabIndex = 0; this.txtMsg.Text = ""; this.txtMsg.TextChanged += new System.EventHandler(this.txtMsg_TextChanged); // // splitter1 // this.splitter1.Dock = System.Windows.Forms.DockStyle.Bottom; this.splitter1.Location = new System.Drawing.Point(0, 241); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(642, 4); this.splitter1.TabIndex = 2; this.splitter1.TabStop = false; // // tabControl1 // this.tabControl1.Controls.Add(this.tabAbout); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed; this.tabControl1.Location = new System.Drawing.Point(0, 0); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(642, 241); this.tabControl1.TabIndex = 3; this.tabControl1.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.tabControl1_DrawItem); this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged); // // tabAbout // this.tabAbout.Controls.Add(this.lstPageHide); this.tabAbout.Controls.Add(this.lstPage); this.tabAbout.Controls.Add(this.txtShortKey); this.tabAbout.Controls.Add(this.label9); this.tabAbout.Controls.Add(this.btnShortKey); this.tabAbout.Controls.Add(this.btnIniLoad); this.tabAbout.Controls.Add(this.btnIniSave); this.tabAbout.Controls.Add(this.label1); this.tabAbout.Controls.Add(this.btnPageHide); this.tabAbout.Controls.Add(this.btnPageShow); this.tabAbout.Location = new System.Drawing.Point(4, 22); this.tabAbout.Name = "tabAbout"; this.tabAbout.Size = new System.Drawing.Size(634, 215); this.tabAbout.TabIndex = 2; this.tabAbout.Text = "About"; // // lstPageHide // this.lstPageHide.ItemHeight = 12; this.lstPageHide.Items.AddRange(new object[] { "#this is not show,only for set pages", "PageDirDiff", "PageDirClear", "PageAbout", "PageDirDiff" }); this.lstPageHide.Location = new System.Drawing.Point(278, 103); this.lstPageHide.Name = "lstPageHide"; this.lstPageHide.Size = new System.Drawing.Size(260, 64); this.lstPageHide.TabIndex = 45; this.lstPageHide.Visible = false; // // lstPage // this.lstPage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.lstPage.ItemHeight = 12; this.lstPage.Location = new System.Drawing.Point(0, 28); this.lstPage.Name = "lstPage"; this.lstPage.Size = new System.Drawing.Size(307, 136); this.lstPage.TabIndex = 45; // // txtShortKey // this.txtShortKey.BackColor = System.Drawing.SystemColors.Info; this.txtShortKey.Enabled = false; this.txtShortKey.Location = new System.Drawing.Point(317, 65); this.txtShortKey.Name = "txtShortKey"; this.txtShortKey.ReadOnly = true; this.txtShortKey.Size = new System.Drawing.Size(201, 21); this.txtShortKey.TabIndex = 44; this.txtShortKey.Text = "D1(49) + Control"; this.txtShortKey.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtShortKey_KeyUp); this.txtShortKey.Leave += new System.EventHandler(this.txtShortKey_Leave); // // label9 // this.label9.Location = new System.Drawing.Point(317, 47); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(221, 18); this.label9.TabIndex = 43; this.label9.Text = "Key for Hide/Show this window:"; // // btnShortKey // this.btnShortKey.Location = new System.Drawing.Point(518, 65); this.btnShortKey.Name = "btnShortKey"; this.btnShortKey.Size = new System.Drawing.Size(77, 22); this.btnShortKey.TabIndex = 42; this.btnShortKey.Text = "set"; this.btnShortKey.Click += new System.EventHandler(this.btnShortKey_Click); // // btnIniLoad // this.btnIniLoad.Location = new System.Drawing.Point(461, 9); this.btnIniLoad.Name = "btnIniLoad"; this.btnIniLoad.Size = new System.Drawing.Size(134, 27); this.btnIniLoad.TabIndex = 7; this.btnIniLoad.Text = "Load Config"; this.btnIniLoad.Click += new System.EventHandler(this.btnIniLoad_Click); // // btnIniSave // this.btnIniSave.Location = new System.Drawing.Point(317, 9); this.btnIniSave.Name = "btnIniSave"; this.btnIniSave.Size = new System.Drawing.Size(134, 27); this.btnIniSave.TabIndex = 6; this.btnIniSave.Text = "Save Config"; this.btnIniSave.Click += new System.EventHandler(this.btnIniSave_Click); // // label1 // this.label1.Location = new System.Drawing.Point(0, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(163, 19); this.label1.TabIndex = 43; this.label1.Text = "Hide/Show TabPage List:"; // // btnPageHide // this.btnPageHide.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnPageHide.Location = new System.Drawing.Point(0, 188); this.btnPageHide.Name = "btnPageHide"; this.btnPageHide.Size = new System.Drawing.Size(77, 22); this.btnPageHide.TabIndex = 42; this.btnPageHide.Text = "Hide"; this.btnPageHide.Click += new System.EventHandler(this.btnPageHide_Click); // // btnPageShow // this.btnPageShow.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnPageShow.Location = new System.Drawing.Point(77, 188); this.btnPageShow.Name = "btnPageShow"; this.btnPageShow.Size = new System.Drawing.Size(77, 22); this.btnPageShow.TabIndex = 42; this.btnPageShow.Text = "Show"; this.btnPageShow.Click += new System.EventHandler(this.btnPageShow_Click); // // frmMain // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(642, 338); this.Controls.Add(this.tabControl1); this.Controls.Add(this.splitter1); this.Controls.Add(this.panel1); this.Controls.Add(this.statusBar); this.Name = "frmMain"; this.Text = "lazyTools"; this.Closing += new System.ComponentModel.CancelEventHandler(this.frmMain_Closing); this.Load += new System.EventHandler(this.frmMain_Load); ((System.ComponentModel.ISupportInitialize)(this.statusMsg)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusLog)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusLogClr)).EndInit(); this.panel1.ResumeLayout(false); this.tabControl1.ResumeLayout(false); this.tabAbout.ResumeLayout(false); this.tabAbout.PerformLayout(); this.ResumeLayout(false); }
public AlarmDecoderFirmware() { try { this.settings = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); this.settingsSerialPortName = settings.AppSettings.Settings ["portName"].Value; } catch (Exception ex) { #if DEBUG this.ShowMessageBox("Unable to read app configuration " + ex.ToString()); #endif } #if DEBUG this.baud = 115200; #else this.baud = 115200; #endif Text = "AlarmDecoder Firmware Uploader"; /* Disable resize of app */ this.MinimizeBox = false; this.MaximizeBox = false; this.FormBorderStyle = FormBorderStyle.FixedSingle; /* set up menu */ MenuStrip menu = new MenuStrip(); menu.Parent = this; ToolStripMenuItem file = new ToolStripMenuItem("&File"); ToolStripMenuItem exit = new ToolStripMenuItem("&Exit", null, new EventHandler(on_exit)); ToolStripMenuItem help = new ToolStripMenuItem("&Help"); ToolStripMenuItem about = new ToolStripMenuItem("&About", null, new EventHandler(on_about)); exit.ShortcutKeys = Keys.Control | Keys.X; file.DropDownItems.Add(exit); help.DropDownItems.Add(about); help.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; menu.Items.Add(file); menu.Items.Add(help); MainMenuStrip = menu; /* main window size */ Size = new Size(560, 440); /* Set up status bar */ this.status_bar = new System.Windows.Forms.StatusBar(); status_bar.Width = this.Size.Width; status_bar.ShowPanels = true; this.Controls.Add(status_bar); this.status_panel = new System.Windows.Forms.StatusBarPanel(); this.status_panel.Width = this.Size.Width; string message = "Device: Not Connected"; status_bar.Panels.Add(this.status_panel); this.changeStatusMessage(this.status_bar, message); /* Group Box for firmware button */ this.gb = new System.Windows.Forms.GroupBox(); this.gb.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.gb.Location = new System.Drawing.Point(18, 32); this.gb.Name = "groupbox"; this.gb.Size = new System.Drawing.Size(250, 100); this.gb.TabStop = false; this.gb.Text = "Choose Firmware"; /* Group Box for status */ this.gb2 = new System.Windows.Forms.GroupBox(); this.gb2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.gb2.Location = new System.Drawing.Point(290, 32); this.gb2.Name = "groupbox2"; this.gb2.Size = new System.Drawing.Size(250, 100); this.gb2.TabStop = false; this.gb2.Text = "Current Status"; this.firmware_btn = new System.Windows.Forms.Button(); this.firmware_btn.Click += new EventHandler(open_click); this.firmware_btn.Text = "Choose Firmware"; this.firmware_btn.Location = new System.Drawing.Point(30, 30); this.firmware_btn.Size = new System.Drawing.Size(100, 50); this.gb.Controls.Add(this.firmware_btn); /* Buttons for connect and flash */ this.connect = new System.Windows.Forms.Button(); this.connect.Location = new System.Drawing.Point(182, 82); this.connect.Text = "Connect"; this.connect.Size = new System.Drawing.Size(100, 50); this.connect.Click += new EventHandler(btn_click); this.connect.Name = "connect"; this.flash = new System.Windows.Forms.Button(); this.flash.Location = new System.Drawing.Point(300, 82); this.flash.Click += new EventHandler(btn_click); this.flash.Text = "Flash"; this.flash.Size = new System.Drawing.Size(100, 50); this.flash.Name = "flash"; this.flash.Enabled = false; /* Progress Bar */ this.progress = new System.Windows.Forms.ProgressBar(); this.progress.Name = "progressbar"; this.progress.Size = new System.Drawing.Size(415, 20); this.progress.Location = new System.Drawing.Point(32, 32); /* Group Box for flashing controls */ this.gb3 = new System.Windows.Forms.GroupBox(); this.gb3.Text = "Control"; this.gb3.Location = new System.Drawing.Point(38, 170); this.gb3.Size = new System.Drawing.Size(480, 200); /* Port Selection Combo Box label */ this.portLabel = new System.Windows.Forms.Label(); this.portLabel.Text = "Port"; this.portLabel.Location = new System.Drawing.Point(32, 82); /* Current Status label */ this.statusLabel = new System.Windows.Forms.Label(); this.UpdateText(this.statusLabel, "Not Connected"); this.statusLabel.Location = new System.Drawing.Point(32, 32); this.gb2.Controls.Add(this.statusLabel); /* get serial port names */ this.getPortNames(); /* Combo Box to hold serial Port names */ this.port = new System.Windows.Forms.ComboBox(); this.port.SelectionChangeCommitted += new EventHandler(selectionChanged); this.port.Items.AddRange(this.getPortNames()); this.port.Location = new System.Drawing.Point(32, 100); if (this.settingsSerialPortName != null && this.settingsSerialPortName.Length > 0 && this.serialPorts.Length > 0) { this.port.Text = this.settingsSerialPortName; } else { this.port.Text = (this.serialPorts.Length > 0 ? this.serialPorts[0] : "No Ports Found"); } this.config = null; if (this.serialPorts.Length == 0) { this.ShowMessageBox("No serial ports found"); } this.gb3.Controls.Add(this.connect); this.gb3.Controls.Add(this.flash); this.gb3.Controls.Add(this.progress); this.gb3.Controls.Add(this.port); this.gb3.Controls.Add(this.portLabel); Controls.Add(this.gb); Controls.Add(this.gb2); Controls.Add(this.gb3); CenterToScreen(); this.bFlashing = false; this.childThreadRef = new System.Threading.ThreadStart(threadFun); this.childThread = new System.Threading.Thread(childThreadRef); this.openThreadRef = new System.Threading.ThreadStart(openThreadFun); this.openThread = new System.Threading.Thread(openThreadRef); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.mainMenu = new System.Windows.Forms.MainMenu(this.components); this.fileItem = new System.Windows.Forms.MenuItem(); this.openLocalFileItem = new System.Windows.Forms.MenuItem(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.exitFileItem = new System.Windows.Forms.MenuItem(); this.timer = new System.Timers.Timer(); this.statusBar = new System.Windows.Forms.StatusBar(); this.fpsPanel = new System.Windows.Forms.StatusBarPanel(); this.panel = new System.Windows.Forms.Panel(); this.label6 = new System.Windows.Forms.Label(); this.resizeFactorUpDown = new System.Windows.Forms.NumericUpDown(); this.invertCursorCheckBox = new System.Windows.Forms.CheckBox(); this.enableClickCheckBox = new System.Windows.Forms.CheckBox(); this.controlCursorCheckBox = new System.Windows.Forms.CheckBox(); this.thresholdLabel = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.thresholdTrackBar = new System.Windows.Forms.TrackBar(); this.txtb_clientID = new System.Windows.Forms.TextBox(); this.lbl_clientID = new System.Windows.Forms.Label(); this.btn_Connect = new System.Windows.Forms.Button(); this.btn_sleep = new System.Windows.Forms.Button(); this.txtb_display = new System.Windows.Forms.TextBox(); this.cameraWindow = new motion.CameraWindow(); ((System.ComponentModel.ISupportInitialize)(this.timer)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.fpsPanel)).BeginInit(); this.panel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.resizeFactorUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.thresholdTrackBar)).BeginInit(); this.SuspendLayout(); // // mainMenu // this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.fileItem }); // // fileItem // this.fileItem.Index = 0; this.fileItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.openLocalFileItem, this.menuItem1, this.exitFileItem }); this.fileItem.Text = "&File"; // // openLocalFileItem // this.openLocalFileItem.Index = 0; this.openLocalFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlS; this.openLocalFileItem.Text = "&Start"; this.openLocalFileItem.Click += new System.EventHandler(this.openLocalFileItem_Click); // // menuItem1 // this.menuItem1.Index = 1; this.menuItem1.Text = "-"; // // exitFileItem // this.exitFileItem.Index = 2; this.exitFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlX; this.exitFileItem.Text = "E&xit"; this.exitFileItem.Click += new System.EventHandler(this.exitFileItem_Click); // // timer // this.timer.Interval = 1000D; this.timer.SynchronizingObject = this; this.timer.Elapsed += new System.Timers.ElapsedEventHandler(this.timer_Elapsed); // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 377); this.statusBar.Name = "statusBar"; this.statusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.fpsPanel }); this.statusBar.ShowPanels = true; this.statusBar.Size = new System.Drawing.Size(700, 26); this.statusBar.TabIndex = 1; // // fpsPanel // this.fpsPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.fpsPanel.Name = "fpsPanel"; this.fpsPanel.Width = 683; // // panel // this.panel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel.Controls.Add(this.txtb_display); this.panel.Controls.Add(this.btn_sleep); this.panel.Controls.Add(this.btn_Connect); this.panel.Controls.Add(this.lbl_clientID); this.panel.Controls.Add(this.txtb_clientID); this.panel.Controls.Add(this.label6); this.panel.Controls.Add(this.resizeFactorUpDown); this.panel.Controls.Add(this.invertCursorCheckBox); this.panel.Controls.Add(this.enableClickCheckBox); this.panel.Controls.Add(this.controlCursorCheckBox); this.panel.Controls.Add(this.thresholdLabel); this.panel.Controls.Add(this.label1); this.panel.Controls.Add(this.thresholdTrackBar); this.panel.Controls.Add(this.cameraWindow); this.panel.Dock = System.Windows.Forms.DockStyle.Fill; this.panel.Location = new System.Drawing.Point(0, 0); this.panel.Name = "panel"; this.panel.Size = new System.Drawing.Size(700, 377); this.panel.TabIndex = 2; // // label6 // this.label6.AutoSize = true; this.label6.BackColor = System.Drawing.SystemColors.Control; this.label6.Location = new System.Drawing.Point(7, 262); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(193, 13); this.label6.TabIndex = 24; this.label6.Text = "Image Height and Width Resize Factor:"; // // resizeFactorUpDown // this.resizeFactorUpDown.Location = new System.Drawing.Point(208, 260); this.resizeFactorUpDown.Maximum = new decimal(new int[] { 4, 0, 0, 0 }); this.resizeFactorUpDown.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.resizeFactorUpDown.Name = "resizeFactorUpDown"; this.resizeFactorUpDown.Size = new System.Drawing.Size(42, 20); this.resizeFactorUpDown.TabIndex = 1; this.resizeFactorUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.resizeFactorUpDown.Value = new decimal(new int[] { 3, 0, 0, 0 }); this.resizeFactorUpDown.ValueChanged += new System.EventHandler(this.resizeFactorUpDown_ValueChanged); // // invertCursorCheckBox // this.invertCursorCheckBox.AutoSize = true; this.invertCursorCheckBox.Enabled = false; this.invertCursorCheckBox.Location = new System.Drawing.Point(10, 311); this.invertCursorCheckBox.Name = "invertCursorCheckBox"; this.invertCursorCheckBox.Size = new System.Drawing.Size(147, 17); this.invertCursorCheckBox.TabIndex = 22; this.invertCursorCheckBox.Text = "Invert Cursor Movements"; this.invertCursorCheckBox.UseVisualStyleBackColor = true; this.invertCursorCheckBox.CheckedChanged += new System.EventHandler(this.invertCursorCheckBox_CheckedChanged); // // enableClickCheckBox // this.enableClickCheckBox.AutoSize = true; this.enableClickCheckBox.Enabled = false; this.enableClickCheckBox.Location = new System.Drawing.Point(109, 288); this.enableClickCheckBox.Name = "enableClickCheckBox"; this.enableClickCheckBox.Size = new System.Drawing.Size(85, 17); this.enableClickCheckBox.TabIndex = 21; this.enableClickCheckBox.Text = "Enable Click"; this.enableClickCheckBox.UseVisualStyleBackColor = true; this.enableClickCheckBox.CheckedChanged += new System.EventHandler(this.enableClickCheckBox_CheckedChanged); // // controlCursorCheckBox // this.controlCursorCheckBox.AutoSize = true; this.controlCursorCheckBox.Location = new System.Drawing.Point(10, 287); this.controlCursorCheckBox.Name = "controlCursorCheckBox"; this.controlCursorCheckBox.Size = new System.Drawing.Size(92, 17); this.controlCursorCheckBox.TabIndex = 20; this.controlCursorCheckBox.Text = "Control Cursor"; this.controlCursorCheckBox.UseVisualStyleBackColor = true; this.controlCursorCheckBox.CheckedChanged += new System.EventHandler(this.controlCursorCheckBox_CheckedChanged); // // thresholdLabel // this.thresholdLabel.AutoSize = true; this.thresholdLabel.Location = new System.Drawing.Point(219, 341); this.thresholdLabel.Name = "thresholdLabel"; this.thresholdLabel.Size = new System.Drawing.Size(111, 13); this.thresholdLabel.TabIndex = 4; this.thresholdLabel.Text = "Current threshold: 220"; // // label1 // this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.Location = new System.Drawing.Point(7, 341); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(105, 13); this.label1.TabIndex = 3; this.label1.Text = "Brightness threshold:"; // // thresholdTrackBar // this.thresholdTrackBar.Location = new System.Drawing.Point(10, 357); this.thresholdTrackBar.Maximum = 255; this.thresholdTrackBar.Minimum = 100; this.thresholdTrackBar.Name = "thresholdTrackBar"; this.thresholdTrackBar.Size = new System.Drawing.Size(320, 45); this.thresholdTrackBar.SmallChange = 5; this.thresholdTrackBar.TabIndex = 0; this.thresholdTrackBar.TickFrequency = 5; this.thresholdTrackBar.TickStyle = System.Windows.Forms.TickStyle.TopLeft; this.thresholdTrackBar.Value = 220; this.thresholdTrackBar.Scroll += new System.EventHandler(this.thresholdTrackBar_Scroll); // // txtb_clientID // this.txtb_clientID.Location = new System.Drawing.Point(99, 10); this.txtb_clientID.Name = "txtb_clientID"; this.txtb_clientID.Size = new System.Drawing.Size(188, 20); this.txtb_clientID.TabIndex = 25; // // lbl_clientID // this.lbl_clientID.AutoSize = true; this.lbl_clientID.Location = new System.Drawing.Point(10, 10); this.lbl_clientID.Name = "lbl_clientID"; this.lbl_clientID.Size = new System.Drawing.Size(50, 13); this.lbl_clientID.TabIndex = 26; this.lbl_clientID.Text = "Client ID:"; // // btn_Connect // this.btn_Connect.Location = new System.Drawing.Point(27, 36); this.btn_Connect.Name = "btn_Connect"; this.btn_Connect.Size = new System.Drawing.Size(75, 23); this.btn_Connect.TabIndex = 27; this.btn_Connect.Text = "Connect"; this.btn_Connect.UseVisualStyleBackColor = true; this.btn_Connect.Click += new System.EventHandler(this.btn_Connect_Click); // // btn_sleep // this.btn_sleep.Location = new System.Drawing.Point(157, 36); this.btn_sleep.Name = "btn_sleep"; this.btn_sleep.Size = new System.Drawing.Size(75, 23); this.btn_sleep.TabIndex = 28; this.btn_sleep.Text = "Wake"; this.btn_sleep.UseVisualStyleBackColor = true; this.btn_sleep.Click += new System.EventHandler(this.btn_sleep_Click_1); // // txtb_display // this.txtb_display.Location = new System.Drawing.Point(10, 71); this.txtb_display.Multiline = true; this.txtb_display.Name = "txtb_display"; this.txtb_display.Size = new System.Drawing.Size(259, 179); this.txtb_display.TabIndex = 29; // // cameraWindow // this.cameraWindow.BackColor = System.Drawing.SystemColors.AppWorkspace; this.cameraWindow.Camera = null; this.cameraWindow.Enabled = false; this.cameraWindow.Location = new System.Drawing.Point(336, -2); this.cameraWindow.Name = "cameraWindow"; this.cameraWindow.Size = new System.Drawing.Size(341, 419); this.cameraWindow.TabIndex = 0; this.cameraWindow.Click += new System.EventHandler(this.cameraWindow_Click); this.cameraWindow.MouseClick += new System.Windows.Forms.MouseEventHandler(this.cameraWindow_MouseClick); this.cameraWindow.MouseDown += new System.Windows.Forms.MouseEventHandler(this.cameraWindow_MouseDown); this.cameraWindow.MouseMove += new System.Windows.Forms.MouseEventHandler(this.cameraWindow_MouseMove); this.cameraWindow.MouseUp += new System.Windows.Forms.MouseEventHandler(this.cameraWindow_MouseUp); // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(700, 403); this.Controls.Add(this.panel); this.Controls.Add(this.statusBar); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Menu = this.mainMenu; this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Remote Mouse Application"; this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing); this.Load += new System.EventHandler(this.MainForm_Load); ((System.ComponentModel.ISupportInitialize)(this.timer)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.fpsPanel)).EndInit(); this.panel.ResumeLayout(false); this.panel.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.resizeFactorUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.thresholdTrackBar)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.button1 = new System.Windows.Forms.Button(); this.selectDbButton = new System.Windows.Forms.Button(); this.gbxUserRoles = new System.Windows.Forms.GroupBox(); this.lblRoleUsers = new System.Windows.Forms.Label(); this.lblRoles = new System.Windows.Forms.Label(); this.cbxRoles = new System.Windows.Forms.ComboBox(); this.lbxUsers = new System.Windows.Forms.ListBox(); this.lblUsers = new System.Windows.Forms.Label(); this.lbxRoleUsers = new System.Windows.Forms.ListBox(); this.editUserButton = new System.Windows.Forms.Button(); this.btnDelUser = new System.Windows.Forms.Button(); this.btnAddNewUser = new System.Windows.Forms.Button(); this.btnAdd = new System.Windows.Forms.Button(); this.btnRemove = new System.Windows.Forms.Button(); this.btnAddNewRole = new System.Windows.Forms.Button(); this.btnDelRole = new System.Windows.Forms.Button(); this.btnEditRole = new System.Windows.Forms.Button(); this.btnQuit = new System.Windows.Forms.Button(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel4 = new System.Windows.Forms.StatusBarPanel(); this.gbxUserRoles.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel4)).BeginInit(); this.SuspendLayout(); // // button1 // this.button1.Location = new System.Drawing.Point(0, 0); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 0; // // selectDbButton // this.selectDbButton.Cursor = System.Windows.Forms.Cursors.Default; this.selectDbButton.Location = new System.Drawing.Point(552, 24); this.selectDbButton.Name = "selectDbButton"; this.selectDbButton.Size = new System.Drawing.Size(75, 23); this.selectDbButton.TabIndex = 0; this.selectDbButton.Text = "Connect"; // // gbxUserRoles // this.gbxUserRoles.Controls.Add(this.lblRoleUsers); this.gbxUserRoles.Controls.Add(this.lblRoles); this.gbxUserRoles.Controls.Add(this.cbxRoles); this.gbxUserRoles.Controls.Add(this.lbxUsers); this.gbxUserRoles.Controls.Add(this.lblUsers); this.gbxUserRoles.Controls.Add(this.lbxRoleUsers); this.gbxUserRoles.Controls.Add(this.editUserButton); this.gbxUserRoles.Controls.Add(this.btnDelUser); this.gbxUserRoles.Controls.Add(this.btnAddNewUser); this.gbxUserRoles.Controls.Add(this.btnAdd); this.gbxUserRoles.Controls.Add(this.btnRemove); this.gbxUserRoles.Controls.Add(this.btnAddNewRole); this.gbxUserRoles.Controls.Add(this.btnDelRole); this.gbxUserRoles.Controls.Add(this.btnEditRole); this.gbxUserRoles.FlatStyle = System.Windows.Forms.FlatStyle.System; this.gbxUserRoles.Location = new System.Drawing.Point(12, 24); this.gbxUserRoles.Name = "gbxUserRoles"; this.gbxUserRoles.Size = new System.Drawing.Size(651, 338); this.gbxUserRoles.TabIndex = 5; this.gbxUserRoles.TabStop = false; // // lblRoleUsers // this.lblRoleUsers.Location = new System.Drawing.Point(16, 96); this.lblRoleUsers.Name = "lblRoleUsers"; this.lblRoleUsers.Size = new System.Drawing.Size(240, 23); this.lblRoleUsers.TabIndex = 8; this.lblRoleUsers.Text = "Users In Role"; // // lblRoles // this.lblRoles.Location = new System.Drawing.Point(16, 24); this.lblRoles.Name = "lblRoles"; this.lblRoles.Size = new System.Drawing.Size(100, 23); this.lblRoles.TabIndex = 10; this.lblRoles.Text = "Roles"; // // cbxRoles // this.cbxRoles.Cursor = System.Windows.Forms.Cursors.Default; this.cbxRoles.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbxRoles.Location = new System.Drawing.Point(16, 56); this.cbxRoles.Name = "cbxRoles"; this.cbxRoles.Size = new System.Drawing.Size(232, 21); this.cbxRoles.TabIndex = 7; this.cbxRoles.SelectedIndexChanged += new System.EventHandler(this.cbxRoles_SelectedIndexChanged); // // lbxUsers // this.lbxUsers.Location = new System.Drawing.Point(376, 128); this.lbxUsers.Name = "lbxUsers"; this.lbxUsers.Size = new System.Drawing.Size(248, 95); this.lbxUsers.TabIndex = 11; this.lbxUsers.DoubleClick += new System.EventHandler(this.editUserButton_Click); this.lbxUsers.SelectedIndexChanged += new System.EventHandler(this.lbxUsers_SelectedIndexChanged); // // lblUsers // this.lblUsers.Location = new System.Drawing.Point(384, 104); this.lblUsers.Name = "lblUsers"; this.lblUsers.Size = new System.Drawing.Size(240, 23); this.lblUsers.TabIndex = 12; this.lblUsers.Text = "All Users"; // // lbxRoleUsers // this.lbxRoleUsers.Location = new System.Drawing.Point(16, 128); this.lbxRoleUsers.Name = "lbxRoleUsers"; this.lbxRoleUsers.Size = new System.Drawing.Size(248, 95); this.lbxRoleUsers.TabIndex = 9; this.lbxRoleUsers.DoubleClick += new System.EventHandler(this.btnEditRole_Click); this.lbxRoleUsers.SelectedIndexChanged += new System.EventHandler(this.lbxRoleUsers_SelectedIndexChanged); // // editUserButton // this.editUserButton.Cursor = System.Windows.Forms.Cursors.Default; this.editUserButton.Location = new System.Drawing.Point(552, 232); this.editUserButton.Name = "editUserButton"; this.editUserButton.Size = new System.Drawing.Size(75, 23); this.editUserButton.TabIndex = 13; this.editUserButton.Text = "Edit User"; this.editUserButton.Click += new System.EventHandler(this.editUserButton_Click); // // btnDelUser // this.btnDelUser.Cursor = System.Windows.Forms.Cursors.Default; this.btnDelUser.Location = new System.Drawing.Point(464, 232); this.btnDelUser.Name = "btnDelUser"; this.btnDelUser.Size = new System.Drawing.Size(75, 23); this.btnDelUser.TabIndex = 3; this.btnDelUser.Text = "Delete User"; this.btnDelUser.Click += new System.EventHandler(this.btnDelUser_Click); // // btnAddNewUser // this.btnAddNewUser.Cursor = System.Windows.Forms.Cursors.Default; this.btnAddNewUser.Location = new System.Drawing.Point(376, 232); this.btnAddNewUser.Name = "btnAddNewUser"; this.btnAddNewUser.Size = new System.Drawing.Size(75, 23); this.btnAddNewUser.TabIndex = 4; this.btnAddNewUser.Text = "New User"; this.btnAddNewUser.Click += new System.EventHandler(this.btnAddNewUser_Click); // // btnAdd // this.btnAdd.Cursor = System.Windows.Forms.Cursors.Default; this.btnAdd.Location = new System.Drawing.Point(288, 136); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(64, 23); this.btnAdd.TabIndex = 2; this.btnAdd.Text = "<<<"; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // btnRemove // this.btnRemove.Cursor = System.Windows.Forms.Cursors.Default; this.btnRemove.Location = new System.Drawing.Point(288, 168); this.btnRemove.Name = "btnRemove"; this.btnRemove.Size = new System.Drawing.Size(64, 23); this.btnRemove.TabIndex = 1; this.btnRemove.Text = ">>>"; this.btnRemove.Click += new System.EventHandler(this.btnRemove_Click); // // btnAddNewRole // this.btnAddNewRole.Cursor = System.Windows.Forms.Cursors.Default; this.btnAddNewRole.Location = new System.Drawing.Point(16, 232); this.btnAddNewRole.Name = "btnAddNewRole"; this.btnAddNewRole.Size = new System.Drawing.Size(75, 23); this.btnAddNewRole.TabIndex = 5; this.btnAddNewRole.Text = "New Role"; this.btnAddNewRole.Click += new System.EventHandler(this.btnAddNewRole_Click); // // btnDelRole // this.btnDelRole.Cursor = System.Windows.Forms.Cursors.Default; this.btnDelRole.Location = new System.Drawing.Point(96, 232); this.btnDelRole.Name = "btnDelRole"; this.btnDelRole.Size = new System.Drawing.Size(75, 23); this.btnDelRole.TabIndex = 6; this.btnDelRole.Text = "Delete Role"; this.btnDelRole.Click += new System.EventHandler(this.btnDelRole_Click); // // btnEditRole // this.btnEditRole.Location = new System.Drawing.Point(176, 232); this.btnEditRole.Name = "btnEditRole"; this.btnEditRole.Size = new System.Drawing.Size(75, 23); this.btnEditRole.TabIndex = 0; this.btnEditRole.Text = "Edit Role"; this.btnEditRole.Click += new System.EventHandler(this.btnEditRole_Click); // // btnQuit // this.btnQuit.Location = new System.Drawing.Point(576, 378); this.btnQuit.Name = "btnQuit"; this.btnQuit.Size = new System.Drawing.Size(75, 23); this.btnQuit.TabIndex = 6; this.btnQuit.Text = "Close"; this.btnQuit.Click += new System.EventHandler(this.btnQuit_Click); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 416); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3, this.statusBarPanel4 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(692, 22); this.statusBar1.TabIndex = 7; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 120; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 175; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 210; // // statusBarPanel4 // this.statusBarPanel4.Name = "statusBarPanel4"; this.statusBarPanel4.Width = 175; // // MainScreen // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(692, 438); this.Controls.Add(this.gbxUserRoles); this.Controls.Add(this.statusBar1); this.Controls.Add(this.btnQuit); this.Name = "MainScreen"; this.Text = "User Administration"; this.Load += new System.EventHandler(this.MainScreen_Load); this.gbxUserRoles.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel4)).EndInit(); this.ResumeLayout(false); }