Esempio n. 1
0
        private static Form CreatePingForm()
        {
            var form = new Form() {AutoSize = true, AutoSizeMode = AutoSizeMode.GrowAndShrink, Padding = new Padding(10), Text = "Ping Command"};

            FlowLayoutPanel stack;
            form.Controls.Add(stack = new FlowLayoutPanel() {Dock = DockStyle.Fill, AutoSize = true, AutoSizeMode = AutoSizeMode.GrowAndShrink, FlowDirection = FlowDirection.TopDown});

            stack.Controls.Add(new Label() {AutoSize = true, Dock = DockStyle.Top, Text = "Running the ping command.", Padding = new Padding(5)});
            Label labelWaitOrResult;
            stack.Controls.Add(labelWaitOrResult = new Label() {AutoSize = true, Dock = DockStyle.Top, Text = "Please wait…", BackColor = Color.Yellow, Padding = new Padding(5)});

            ConEmuControl conemu;
            var sbText = new StringBuilder();
            stack.Controls.Add(conemu = new ConEmuControl() {AutoStartInfo = null, MinimumSize = new Size(800, 600), Dock = DockStyle.Top});
            ConEmuSession session = conemu.Start(new ConEmuStartInfo() {AnsiStreamChunkReceivedEventSink = (sender, args) => sbText.Append(args.GetMbcsText()), ConsoleProcessCommandLine = "ping 8.8.8.8"});
            session.ConsoleProcessExited += delegate
            {
                Match match = Regex.Match(sbText.ToString(), @"\(.*\b(?<pc>\d+)%.*?\)", RegexOptions.Multiline);
                if(!match.Success)
                {
                    labelWaitOrResult.Text = "Ping execution completed, failed to parse the result.";
                    labelWaitOrResult.BackColor = Color.PaleVioletRed;
                }
                else
                {
                    labelWaitOrResult.Text = $"Ping execution completed, lost {match.Groups["pc"].Value} per cent of packets.";
                    labelWaitOrResult.BackColor = Color.Lime;
                }
            };
            session.ConsoleEmulatorClosed += delegate { form.Close(); };

            return form;
        }
Esempio n. 2
0
        private void buttonBindSessionTokenToFacebookToken_Click(object sender, EventArgs e)
        {
            Form f = new Form();
            FlowLayoutPanel flp = new FlowLayoutPanel();
            f.Controls.Add(flp);

            Label lblSessionToken = new Label();
            lblSessionToken.Text = "Session Token:";
            flp.Controls.Add(lblSessionToken);

            TextBox txtBoxSessionToken = new TextBox();
            flp.Controls.Add(txtBoxSessionToken);

            Label lblFacebookToken = new Label();
            lblFacebookToken.Text = "Facebook Token:";
            flp.Controls.Add(lblFacebookToken);

            TextBox txtBoxFacebookSessionToken = new TextBox();
            flp.Controls.Add(txtBoxFacebookSessionToken);

            Button btnBind = new Button();
            btnBind.Text = "Bind";
            btnBind.Click += new EventHandler((x,y)=>{
                    ITokensEngine tokensEngine = TokenEngineAccessor.Get();
                    String sessionToken = txtBoxSessionToken.Text;
                    String facebookSessionToken = txtBoxFacebookSessionToken.Text;
                    tokensEngine.BindSessionTokenToFacebookToken(sessionToken, facebookSessionToken);
                    MessageBox.Show(String.Format("Tokens were binded. {0} was binded to {1}", sessionToken, facebookSessionToken));
                });
            flp.Controls.Add(btnBind);

            f.Show();
        }
 private void InitializeComponent()
 {
     this.additionalTexturesPanel = new System.Windows.Forms.FlowLayoutPanel();
     this.saveButton = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // additionalTexturesPanel
     //
     this.additionalTexturesPanel.Dock = System.Windows.Forms.DockStyle.Left;
     this.additionalTexturesPanel.Location = new System.Drawing.Point(0, 0);
     this.additionalTexturesPanel.Margin = new System.Windows.Forms.Padding(0);
     this.additionalTexturesPanel.Name = "additionalTexturesPanel";
     this.additionalTexturesPanel.Size = new System.Drawing.Size(72, 48);
     this.additionalTexturesPanel.TabIndex = 1;
     //
     // saveButton
     //
     this.saveButton.Dock = System.Windows.Forms.DockStyle.Fill;
     this.saveButton.Location = new System.Drawing.Point(72, 0);
     this.saveButton.Margin = new System.Windows.Forms.Padding(0);
     this.saveButton.Name = "saveButton";
     this.saveButton.Size = new System.Drawing.Size(56, 48);
     this.saveButton.TabIndex = 2;
     this.saveButton.Text = "Save info.pac";
     this.saveButton.UseVisualStyleBackColor = true;
     this.saveButton.Click += new System.EventHandler(this.saveButton_Click);
     //
     // InfoStockIconViewer
     //
     this.Controls.Add(this.saveButton);
     this.Controls.Add(this.additionalTexturesPanel);
     this.Name = "InfoStockIconViewer";
     this.Size = new System.Drawing.Size(128, 48);
     this.ResumeLayout(false);
 }
Esempio n. 4
0
        void DisplayCards(FlowLayoutPanel panel, List<Card> cards, bool readOnly, string cardCollectionName = "")
        {
            if (!string.IsNullOrEmpty(cardCollectionName))
            {
                CardCollectionLabel.Text = cardCollectionName;
            }
            panel.Controls.Clear();

            foreach (var card in cards)
            {
                Control controlToAdd;
                if (readOnly)
                {
                    var cardToAdd = new Panel { Width = 120, Height = 135};
                    cardToAdd.Controls.Add(new Label { Text = card.CardType.ToString() });
                    controlToAdd = cardToAdd;
                }
                else
                {
                    var button = new Button { Text = card.CardType.ToString(), Width = 120, Height = 135 };
                    button.Click += (sender, args) => _selectedCard = card;
                    controlToAdd = button;
                }
                panel.Controls.Add(controlToAdd);
            }
        }
Esempio n. 5
0
        public static Control[] GenerateControlsInFlowLaoutPanel(System.Windows.Forms.FlowLayoutPanel flowLayoutPanel, string windowTabName)
        {
            var wintabInfo = ADInfoBll.Instance.GetWindowTabInfo(windowTabName);
            IList <GridColumnInfo> infos = ADInfoBll.Instance.GetGridColumnInfos(wintabInfo.GridName);
            var controlContainers        = new List <Control>();

            for (int i = 0; i < infos.Count; ++i)
            {
                if (string.IsNullOrEmpty(infos[i].DataControlType))
                {
                    continue;
                }

                if (infos[i].GridColumnType == GridColumnType.NoColumn ||
                    infos[i].GridColumnType == GridColumnType.SplitColumn)
                {
                    continue;
                }

                var p = new Panel();
                //p.AutoSize = true;
                //p.AutoSizeMode = AutoSizeMode.GrowAndShrink;
                p.Name = "pnl" + infos[i].GridColumnName;
                p.Size = new System.Drawing.Size(112 + 52 + 16, 24);
                flowLayoutPanel.Controls.Add(p);
                //var p = flowLayoutPanel;
                //p.Name = "pnlAll";
                controlContainers.Add(p);
            }
            return(controlContainers.ToArray());
        }
Esempio n. 6
0
        //----------------------------------------------------------------------------------------------------------------------------------------------------------
        //Tests User On the TestQuestions in the LessonFile IMPROVE:(it would be good if we could do multible lesson files at once
        private void toolStripButton1_startLesson_Click(object sender, EventArgs e)
        {
            List <Lesson> lessons = new List <Lesson>();//put lesson into a list

            lessons.Add(lesson);



            System.Windows.Forms.FlowLayoutPanel MC_Input = this.flowLayoutPanel_MC_answerPanel;//configure magic constructs (which has broken my brain making me wonder how I have gotten anything to work up to this point)

            System.Windows.Forms.RichTextBox questTextPanel = this.richTextBox_questionTextPanel;

            System.Windows.Forms.ImageList questImgPanel   = this.imageList_questionImgPanel;
            System.Windows.Forms.ListView  questImgDesplay = this.listView_questionImgDesplay;



            Tester tester = new Tester(lessons, questTextPanel, questImgPanel, questImgDesplay); // get tester object

            tester.allowImgs = checkedListBox_featuresInLesson.GetItemChecked(0);                //confgure test filter
            tester.allowText = checkedListBox_featuresInLesson.GetItemChecked(1);



            tester.start(MC_Input);
        }
Esempio n. 7
0
        public c_subgrupos(int id, int idGrupo, Socket subgrupos, FlowLayoutPanel flp)
        {
            InitializeComponent();

            this.id = id;
            this.idGrupo = idGrupo;
            this.subgrupos = subgrupos;
            this.flp = flp;

            DataSourcePOI dsp = new DataSourcePOI();
            DataTable dt = dsp.getSubGrupo(id);

            DataTable dtt = dsp.getGrupo(idGrupo);

            if (dtt != null)
                lblGrupo.Text = dtt.Rows[0][0].ToString();

            if (dt != null)
            {
                for (int bc = 0; bc < dt.Rows.Count; bc++)
                {
                    lstSubgrupos.Items.Add(dt.Rows[bc][1].ToString());
                    lstSubgrupos.Items[bc].SubItems.Add(dt.Rows[bc][0].ToString());
                    lstSubgrupos.DoubleClick += new EventHandler(lstSubgrupos_DoubleClick);
                }
            }
        }
Esempio n. 8
0
        public void ShowData()
        {
            if (dataShowed) return;
            dataShowed = true;

            // timer
            timerRefresh = new Timer();
            timerRefresh.Interval = 5000;
            timerRefresh.Tick += TimerRefresh;
            timerRefresh.Start();

            for (int i = 0; i < 3; i++)
            {
                FlowLayoutPanel panel = new FlowLayoutPanel();

                panel.Dock = DockStyle.Fill;
                this.panelClient.Controls.Add(panel);
                monitorNavs[i] = panel;
            }

            // now only process Normal
            foreach (Monitor monitor in strategy.GetMonitorEnumerator())
            {
                MonitorUC uc = new MonitorUC(monitor);
                uc.Parent = this;

                flowLayoutPanel1.Controls.Add(uc);
                monitorNavs[monitor.Category].Controls.Add(uc);

            }

            // default is Observe Nav
            btnObserve_Click(this, null);
        }
Esempio n. 9
0
        /// <summary>
        /// 根据<see cref="GridColumnInfo"/>数据自动创建搜索控件
        /// </summary>
        /// <param name="gridName"></param>
        /// <param name="flowLayoutPanelNormal"></param>
        /// <param name="flowLayoutPanelHidden"></param>
        public void LoadSearchControls(string gridName, System.Windows.Forms.FlowLayoutPanel flowLayoutPanelNormal, System.Windows.Forms.FlowLayoutPanel flowLayoutPanelHidden)
        {
            m_flpNormal = flowLayoutPanelNormal;
            m_flpHidden = flowLayoutPanelHidden;
            m_gridName  = gridName;

            if (!string.IsNullOrEmpty(gridName))
            {
                IList <GridColumnInfo> infos = ADInfoBll.Instance.GetGridColumnInfos(gridName);
                foreach (GridColumnInfo info in infos)
                {
                    if (string.IsNullOrEmpty(info.SearchControlType))
                    {
                        continue;
                    }

                    ISearchControl sc = ControlFactory.GetSearchControl(info, m_sm);
                    m_sm.SearchControls.Add(sc);
                    sc.AvailableChanged += new EventHandler(sc_AvailableChanged);

                    Control c = sc as Control;
                    if (c != null)
                    {
                        flowLayoutPanelNormal.Controls.Add(c);
                    }
                    else
                    {
                        throw new ArgumentException("In SearchControlConainer only Windows.Control is permitted!");
                    }
                }
            }
        }
Esempio n. 10
0
        public CreateQuestionView(BaseController baseController, int questionlist)
        {
            bc = baseController;
            questionFlowPanel = new FlowLayoutPanel();
            questionCounter = 0;
            panelCounter = 0;
            this.questionlist = questionlist;
            // Panel settings
            questionFlowPanel.BackColor = Color.Transparent;
            questionFlowPanel.Height = Screen.PrimaryScreen.Bounds.Height;
            questionFlowPanel.Width = Screen.PrimaryScreen.Bounds.Width - 225;
            questionFlowPanel.Name = "MakeQuestion_Panel";
            questionFlowPanel.Location = new Point(225, 0);
            questionFlowPanel.AutoScroll = true;
            questionFlowPanel.Controls.Clear();
            questionFlowPanel.WrapContents = false;
            questionFlowPanel.FlowDirection = FlowDirection.TopDown;

            makeEmptyPanel(100);
            makeAddQuestionAndSave();
            foreach (Control c in questionFlowPanel.Controls)
            {
                if (c.Name == "")
                {
                    c.Controls.Clear();
                       questionFlowPanel.Controls.Remove(c);
                }
            }
        }
Esempio n. 11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.flpListingPanel = new System.Windows.Forms.FlowLayoutPanel();
     this.SuspendLayout();
     //
     // flpListingPanel
     //
     this.flpListingPanel.AutoScroll = true;
     this.flpListingPanel.BackColor  = System.Drawing.SystemColors.Control;
     this.flpListingPanel.Location   = new System.Drawing.Point(5, 9);
     this.flpListingPanel.Name       = "flpListingPanel";
     this.flpListingPanel.Size       = new System.Drawing.Size(752, 357);
     this.flpListingPanel.TabIndex   = 0;
     this.flpListingPanel.Paint     += new System.Windows.Forms.PaintEventHandler(this.flpListingPanel_Paint);
     //
     // AdsPage
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll          = true;
     this.BackColor           = System.Drawing.SystemColors.Control;
     this.Controls.Add(this.flpListingPanel);
     this.Name  = "AdsPage";
     this.Size  = new System.Drawing.Size(771, 373);
     this.Load += new System.EventHandler(this.ListingView_Load);
     this.ResumeLayout(false);
 }
Esempio n. 12
0
      // TextBox TextBox1 = new TextBox();

        public Registro(string fecha)
        {
            //InitializeComponent();
            //this.fecha = fecha;
            //this.AutoSize = true;
            //FlowLayoutPanel panel = new FlowLayoutPanel();
            //panel.AutoSize = true;
            //panel.FlowDirection = FlowDirection.TopDown;
            //panel.Controls.Add(TextBox1);
            //this.Controls.Add(panel);
            //this.KeyPreview = true;
            //this.KeyPress +=
            //new KeyPressEventHandler(Registro_KeyPress);
            //TextBox1.KeyPress +=
            //new KeyPressEventHandler(TextBox1_KeyPress);
            InitializeComponent();
            this.fecha = fecha;
            this.AutoSize = true;
            FlowLayoutPanel panel = new FlowLayoutPanel();
            panel.AutoSize = true;
            panel.FlowDirection = FlowDirection.TopDown;
            this.Controls.Add(panel);
            this.KeyPreview = true;
            this.KeyPress +=
            new KeyPressEventHandler(Registro_KeyPress);

        }
Esempio n. 13
0
 public driveBrowser(Form2 frm)
 {
     InitializeComponent();
     panel = (FlowLayoutPanel)frm.Controls.Find("panel1", true)[0];
     foreach (Control ctrl in panel.Controls)
     {
         panel1.Controls.Add(ctrl); 
        
     }
     if (DriveInformation.sdrv != "")
     {
         usbDevice device = (usbDevice)panel1.Controls.Find(DriveInformation.sdrv+":\\", true)[0];
         device.BorderStyle = BorderStyle.FixedSingle;
         label2.Text = DriveInformation.sdrv;
         checkDirectory(DriveInformation.sdrv + DriveInformation.sdrv_folder.Substring(1, DriveInformation.sdrv_folder.Length - 1));
     }
     textBox1.Text = DriveInformation.sdrv_folder.Substring(3,DriveInformation.sdrv_folder.Length-3);
     this.FormClosing += (s, a) => {
         foreach (Control ctrl in panel1.Controls)
         {
             panel.Controls.Add(ctrl);
         }
     };
     
 }
Esempio n. 14
0
        public FoodControl(List<OrderFoodData> l, FlowLayoutPanel f, FlowLayoutPanel c, string name, int price, int q, bool s, Label laa)
        {
            InitializeComponent();
            this.foodFLP = f;
            this.cartFLP = c;

            this.name = name;
            this.price = price;
            this.quantity = q;
            this.cart = s;
            this.lofd = l;
            this.LTotal = laa;

            LName.Text = name;
            LPrice.Text = price.ToString();
            FPicture.Image = Image.FromFile("200.jpg");

            if (quantity == 0)
            {
                LQuantity.Visible = false;
                LQuantity.Text = "x" + q.ToString();
                quantity = 1;
            }
            else
            {
                LQuantity.Visible = true;
                LQuantity.Text = "x" + q.ToString();
            }
            LTotal.Text = "0.00";
        }
Esempio n. 15
0
        public void Preview()
        {
            FlowLayoutPanel mainPanel = new FlowLayoutPanel() { Dock = DockStyle.Fill, FlowDirection = FlowDirection.LeftToRight };
            mainPanel.AutoScroll = true;
            mainPanel.DoubleClick += mainPanel_DoubleClick;
            mainPanel.Click += mainPanel_Click;

            int i = 0;

            foreach (string group in Table.GetUIGroups())
            {
                GroupBox gb = new GroupBox() { Text = group, AutoSize = true};
                mainPanel.Controls.Add(gb);

                FlowLayoutPanel groupPanel = new FlowLayoutPanel() { AutoSize = true, FlowDirection = FlowDirection.TopDown, Left = 16, Top = 22};
                gb.Controls.Add(groupPanel);

                foreach (string column in Table.GetUIGroupColumns(group))
                {
                    Table.Columns[column].GenerateUIMetadata().DisplayOrder = i++;
                    var c = getControl(Table.Columns[column]);
                    if (c != null)
                        groupPanel.Controls.Add(c);
                }
            }

            this.Controls.Clear();
            this.Controls.Add(mainPanel);
        }
Esempio n. 16
0
        public ZivotyMgr(Postava pos, Label mzL, NumericUpDown zrN, FlowLayoutPanel bars, Panel labels, LinkLabel postihZLink, Label postihZL)
        {
            postava = pos;
            zivotyPanel = bars;
            mezZraneniL = mzL;
            zivotyLabels = labels;
            zraneniN = zrN;
            postihLink = postihZLink;
            postihL = postihZL;

            int mez = postava.getVlastnostO("Mez zranění");
            boxes = new List<CheckBox>();
            for (int i = 0; i < mez * 3; i++)
            {
                CheckBox box = new CheckBox();
                //box.ThreeState = true;
                box.Checked = false;
                box.Margin = new Padding(0);
                box.Parent = zivotyPanel;
                box.Width = box.Height = 15;
                box.Click += new EventHandler(changeCheck);
                box.Tag = i+1;
                boxes.Add(box);
            }
        }
 /// <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(MessageForm));
     this.image_box = new System.Windows.Forms.PictureBox();
     this.message = new System.Windows.Forms.RichTextBox();
     this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
     ((System.ComponentModel.ISupportInitialize)(this.image_box)).BeginInit();
     this.SuspendLayout();
     //
     // image_box
     //
     this.image_box.InitialImage = ((System.Drawing.Image)(resources.GetObject("image_box.InitialImage")));
     this.image_box.Location = new System.Drawing.Point(12, 6);
     this.image_box.Name = "image_box";
     this.image_box.Size = new System.Drawing.Size(27, 25);
     this.image_box.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.image_box.TabIndex = 4;
     this.image_box.TabStop = false;
     //
     // message
     //
     this.message.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.message.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.message.Location = new System.Drawing.Point(54, 12);
     this.message.Name = "message";
     this.message.ReadOnly = true;
     this.message.Size = new System.Drawing.Size(325, 64);
     this.message.TabIndex = 6;
     this.message.Text = "message";
     this.message.ContentsResized += new System.Windows.Forms.ContentsResizedEventHandler(this.Message_ContentsResized);
     //
     // flowLayoutPanel1
     //
     this.flowLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.flowLayoutPanel1.AutoSize = true;
     this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
     this.flowLayoutPanel1.Location = new System.Drawing.Point(299, 82);
     this.flowLayoutPanel1.Name = "flowLayoutPanel1";
     this.flowLayoutPanel1.Size = new System.Drawing.Size(80, 30);
     this.flowLayoutPanel1.TabIndex = 7;
     //
     // MessageForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize = new System.Drawing.Size(391, 120);
     this.Controls.Add(this.flowLayoutPanel1);
     this.Controls.Add(this.message);
     this.Controls.Add(this.image_box);
     this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "MessageForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     ((System.ComponentModel.ISupportInitialize)(this.image_box)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 18
0
        public PanelGraphView()
            : base()
        {
            createCharts();

            flowlayout = new FlowLayoutPanel();

            flowlayout.Dock = DockStyle.Fill;
            flowlayout.BackColor = System.Drawing.Color.DarkGray;
            flowlayout.Location = new System.Drawing.Point(0, 0);
            flowlayout.Name = "flowlayout";
            flowlayout.Padding = new Padding(15);
            flowlayout.AutoScroll = true;
            foreach (ChartPanel chart in charts)
            {
                flowlayout.Controls.Add(chart);
            }

            List<Meting> metingen = new List<Meting>();
            metingen.Add(new Meting(0, 0, 0, 0, 0, 0, 0, 0, 0));

            updateAllCharts(metingen);
            //
            // panelGraphView
            //
            this.Dock = System.Windows.Forms.DockStyle.Fill;
            this.Controls.Add(flowlayout);

            this.Location = new System.Drawing.Point(0, 0);
            this.Name = "panelGraphView";
            this.Size = new System.Drawing.Size(400, 600);
            this.TabIndex = 1;
        }
Esempio n. 19
0
 public void Dispose()
 {
     if (this.control != null)
     {
         this.control = null;
     }
 }
Esempio n. 20
0
        public UnavaMgr(Postava pos, Label muL, NumericUpDown unN, FlowLayoutPanel bars, Panel labels, LinkLabel postihULink, Label postihUL)
        {
            postava = pos;
            unavaPanel = bars;
            mezUnavyL = muL;
            unavaLabels = labels;
            unavaN = unN;
            postihLink = postihULink;
            postihL = postihUL;

            int mez = postava.getVlastnostO("Mez únavy");
            boxes = new List<CheckBox>();
            for (int i = 0; i < mez * 3; i++)
            {
                CheckBox box = new CheckBox();
                //box.ThreeState = true;
                box.Checked = false;
                box.Margin = new Padding(0);
                box.Parent = unavaPanel;
                box.Width = box.Height = 15;
                box.Click += new EventHandler(changeCheck);
                box.Tag = i+1;
                boxes.Add(box);
            }
        }
Esempio n. 21
0
        public JetBoxOptionsPage(Lifetime lifetime, IUIApplication environment, ClientFactory clientFactory, JetBoxSettingsStorage jetBoxSettings, JetPopupMenus jetPopupMenus)
            : base(lifetime, environment, PID)
        {
            mySettingsStore = jetBoxSettings.SettingsStore.BindToContextLive(lifetime, ContextRange.ApplicationWide);
              myLifetimes = new SequentialLifetimes(lifetime);

              myClient = clientFactory.CreateClient();
              myClient.UserLogin = mySettingsStore.GetValue(JetBoxSettingsAccessor.Login);

              // init UI
              myLoggedPanel = new FlowLayoutPanel { Visible = false, AutoSize = true };
              myLoggedPanel.Controls.Add(myLoginLabel = new RichTextLabel(environment));
              myLoggedPanel.Controls.Add(new LinkLabel("Logout", Logout, jetPopupMenus));

              myNonLoggedPanel = new FlowLayoutPanel { Visible = false, AutoSize = true, FlowDirection = FlowDirection.TopDown };
              myNonLoggedPanel.Controls.Add(new LinkLabel("Login", Login, jetPopupMenus)
              {
            Image = Environment.Theming.Icons[UnnamedThemedIcons.Dropbox.Id].CurrentGdipBitmapScreenDpi,
            ImageAlign = ContentAlignment.MiddleLeft,
            Padding = new Padding(20, 0, 0, 0)
              });

              Controls.Add(myLoggedPanel);
              Controls.Add(myNonLoggedPanel);

              InitLoginState();
        }
Esempio n. 22
0
        public MultiPosShapeView()
        {
            if (IsDesigner)
                this.CellBackColor = System.Drawing.SystemColors.Control;
            else
                this.CellBackColor = DWGUtility.ModelBackgroundColor();
            mSelectedShape = string.Empty;
            mCellSize = new Size(475, 150);
            mSelectionColor = SystemColors.Highlight;

            this.Name = "MultiPosShapeView";
            this.Size = new System.Drawing.Size(900, 450);
            this.SuspendLayout();

            this.layoutPanel = new FlowLayoutPanel();
            this.layoutPanel.Dock = DockStyle.Fill;
            this.layoutPanel.FlowDirection = FlowDirection.LeftToRight;
            this.layoutPanel.AutoScroll = true;
            this.Controls.Add(layoutPanel);

            this.ResumeLayout(false);

            mSelectedShape = string.Empty;

            pieceLengths = new Dictionary<int, List<string>>();

            init = false;
            disposed = false;
        }
Esempio n. 23
0
        private void InitializeComponent()
        {
            _panel      = new FlowLayoutPanel();
            _titleLabel = new TitleLabel();

            SuspendLayout();

            _panel.Dock     = DockStyle.Bottom;
            _panel.Location = Point.Empty;
            _panel.Name     = "panel";
            _panel.Size     = new System.Drawing.Size(10, 10);
            _panel.TabIndex = 1;

            _titleLabel.Dock     = DockStyle.Top;
            _titleLabel.Font     = new Font("MS UI Gothic", 9F, FontStyle.Bold, GraphicsUnit.Point, ((byte)(128)));
            _titleLabel.Location = Point.Empty;
            _titleLabel.Name     = "titleLabel";
            _titleLabel.Size     = new Size(10, 22);
            _titleLabel.TabIndex = 2;
            _titleLabel.Text     = "Title";

            AutoSize = true;

            Controls.Add(_titleLabel);
            Controls.Add(_panel);
            Name = "ToolCategory";

            ResumeLayout(false);
        }
Esempio n. 24
0
        private GroupBox createCustomGB(String name)
        {
            GroupBox gb = new GroupBox();
            gb.AutoSize = true;
            gb.AutoSizeMode = AutoSizeMode.GrowAndShrink;
            gb.Anchor = AnchorStyles.Left | AnchorStyles.Right;

            FlowLayoutPanel p = new FlowLayoutPanel();
            p.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
            p.AutoSize = true;
            p.AutoSizeMode = AutoSizeMode.GrowAndShrink;
            p.WrapContents = true;
            p.Location = new System.Drawing.Point(6, 19);

            gb.Controls.Add(p);
            gb.Text = String.Format("Group {0}", name);

            for (int i = 0; i < 4; i++)
            {
                Button b = new Button();
                b.Text = String.Format("Button {0}", i);
                p.Controls.Add(b);
            }

            gb.MinimumSize = new Size(
                flowLayoutPanel1.Size.Width - flowLayoutPanel1.Margin.Right - 10,
                0
            );

            return gb;
        }
Esempio n. 25
0
        public ToolStripNumericUpDown()
            : base(new FlowLayoutPanel())
        {
            // Set up the FlowLayouPanel.
            this.controlPanel = (FlowLayoutPanel)Control;
            this.controlPanel.BackColor = Color.Transparent;
            this.controlPanel.WrapContents = false;
            this.controlPanel.AutoSize = true;
            this.controlPanel.AutoSizeMode = AutoSizeMode.GrowAndShrink;

            // Add child controls.
            this.num = new NumericUpDown();
            this.num.Width = 50;
            this.num.Height = this.num.PreferredHeight;
            this.num.Margin = new Padding(0, 1, 3, 1);
            this.num.Value = 0;
            this.num.Minimum = 0;
            this.num.Maximum = 100;
            this.num.DecimalPlaces = 0;
            this.num.Increment = 1;
            this.num.Hexadecimal = false;
            this.num.TextAlign = HorizontalAlignment.Center;

            this.txt = new Label();
            this.txt.Text = "NumericUpDown";
            this.txt.TextAlign = ContentAlignment.MiddleRight;
            this.txt.AutoSize = true;
            this.txt.Dock = DockStyle.Left;

            this.controlPanel.Controls.Add(this.txt);
            this.controlPanel.Controls.Add(this.num);
        }
Esempio n. 26
0
        public DataFileterControl()
        {
            pnlSatellite      = new FlowLayoutPanel();
            pnlSatellite.Dock = DockStyle.Fill;
            this.Controls.Add(pnlSatellite);

            HdDataFilter[] filters = HdDataFilter.FilterColl();
            for (int i = 0; i < filters.Length; i++)
            {
                System.Windows.Forms.RadioButton btnFy3avirr = new System.Windows.Forms.RadioButton();
                btnFy3avirr.Font     = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
                btnFy3avirr.Location = new System.Drawing.Point(3, 3);
                btnFy3avirr.Name     = "btnFy3avirr";
                btnFy3avirr.Size     = new System.Drawing.Size(147, 33);
                btnFy3avirr.TabIndex = 25;
                btnFy3avirr.TabStop  = true;
                //btnFy3avirr.Text = "FY-3A VIRR";
                btnFy3avirr.Text = filters[i].Text;
                btnFy3avirr.Tag  = filters[i];
                btnFy3avirr.UseVisualStyleBackColor = true;
                if (_checkedFilter == null)
                {
                    btnFy3avirr.Checked = true;
                    _checkedFilter      = filters[i];
                }
                btnFy3avirr.CheckedChanged += new EventHandler(btnFy3avirr_CheckedChanged);
                btns.Add(btnFy3avirr);
                this.pnlSatellite.Controls.Add(btnFy3avirr);
            }
        }
Esempio n. 27
0
        public CardView()
        {
            InitializeComponent();

              pnlCard = new Panel();
              pnlCard.BackgroundImageLayout = ImageLayout.Center;
              pnlCard.BackColor = Color.White;
              this.Controls.Add(pnlCard);
              pnlCard.Location = new Point(BORDER_SIZE, BORDER_SIZE);

              pnlTokens = new FlowLayoutPanel();
              pnlTokens.BackColor = Color.Transparent;
              pnlCard.Controls.Add(pnlTokens);

              tokensKeys = new List<string>();

              toolTip.Popup += new PopupEventHandler(toolTip_Popup);

              menu.Opening += new CancelEventHandler(menu_Opening);
              menuChangeText.Click += delegate(object sender, EventArgs e)
              {
            ShowTokenDialog((TokenView)GetMenuTarget((ToolStripMenuItem)sender));
              };
              menuRemove.Click += delegate(object sender, EventArgs e)
              {
            GameView.Controller.RemoveToken(GetMenuTarget((ToolStripMenuItem)sender).Name);
              };

              Localize();

              if(cardBackImage == null)
            cardBackImage = Program.LogicHandler.ServicesProvider.ImagesService.GetCardBack(CardStyleBehaviorsService.BEHAVIORS_SMALL);

              AttachSubControlsMouseEvents(this.Controls);
        }
Esempio n. 28
0
        private void RebuildPage(XDocument result)
        {
            // do something
            webBrowser1.Hide();

            var allPanels = new FlowLayoutPanel();
            allPanels.Dock = DockStyle.Fill;
            allPanels.AutoScroll = true;

            foreach (var node in result.Descendants("LayoutNode"))
            {
                Debug.WriteLine(node);
                if (node.Descendants("LayoutNode").Count() == 0)
                {
                    var segment = new Panel();

                    segment.Width = Int32.Parse(node.Attribute("ObjectRectWidth").Value);
                    segment.Height = Int32.Parse(node.Attribute("ObjectRectHeight").Value);
                    segment.Controls.Add(new WebBrowser() {
                        DocumentText = System.Net.WebUtility.HtmlDecode(node.Attribute("SRC").Value),
                        Dock = DockStyle.Fill
                    });
                    allPanels.Controls.Add(segment);
                }
            }
            Debug.Write("allPanels has " + allPanels.Controls.Count + " children.");

            this.Controls.Add(allPanels);
        }
Esempio n. 29
0
        public Form1()
        {
            InitializeComponent();

            //List<string> lstTest = new List<string>();
            //lstTest.Add("titi");
            //lstTest.Add("tito");
            //lstTest.Where(t => t == "titi");

            dataGridView1.Dock = DockStyle.Fill;

            reloadButton.Text = "reload";
            submitButton.Text = "submit";
            reloadButton.Click += new System.EventHandler(reloadButton_Click);
            submitButton.Click += new System.EventHandler(submitButton_Click);

            FlowLayoutPanel panel = new FlowLayoutPanel();
            panel.Dock = DockStyle.Top;
            panel.AutoSize = true;
            panel.Controls.AddRange(new Control[] { reloadButton, submitButton });

            this.Controls.AddRange(new Control[] { dataGridView1, panel });
            this.Load += new System.EventHandler(Form1_Load);
            this.Text = "DataGridView databinding and updating demo";
        }
Esempio n. 30
0
        private void InitData()
        {
            #region 生成按钮

            foreach (var m in CommonHelper.ConfigHelper.Config.CategoryConfig.CategoryList)
            {
                TabPage tab = new TabPage(m.Name);
                FlowLayoutPanel flowPanel = new FlowLayoutPanel();
                flowPanel.Dock = DockStyle.Fill;
                if (null != m.CategoryItemList && m.CategoryItemList.Count > 0)
                {
                    for (int k = 0; k < m.CategoryItemList.Count; k++)
                    {
                        var model = m.CategoryItemList[k];
                        Button bt = new Button();
                        bt.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
                        bt.Name = model.AssemblyName;
                        bt.Text = model.Name;
                        bt.AutoSize = true;
                        bt.Height = 25;
                        bt.Margin = new System.Windows.Forms.Padding(5);
                        bt.Padding = new System.Windows.Forms.Padding(3);
                        bt.Click += new EventHandler(bt_Click);
                        bt.MouseEnter += new EventHandler(bt_MouseEnter);
                        bt.MouseLeave += new EventHandler(bt_MouseLeave);
                        flowPanel.Controls.Add(bt);
                    }
                }
                tab.Controls.Add(flowPanel);
                this.tabMenu.TabPages.Add(tab);
            }

            #endregion 生成按钮
        }
Esempio n. 31
0
        //Creates a panel for each highscore and its it to panelHighscores
        public void AddHighscores(List<string> highscore)
        {
            FlowLayoutPanel scorePanel = new FlowLayoutPanel();
            scorePanel.Location = new Point(0, y);
            scorePanel.Size = new Size(163, 13);
            scorePanel.AutoScroll = true;

            //Label that shows: the ranking of a player
            Label numberLabel = new Label();
            numberLabel.Text = ranking.ToString();
            numberLabel.AutoSize = true;

            //Label that shows: the name of the player
            Label nameLabel = new Label();
            nameLabel.Text = highscore[1];
            nameLabel.AutoSize = true;

            //Label that shows: the highscore of the player
            Label highscoreLabel = new Label();
            highscoreLabel.Text = highscore[0];
            highscoreLabel.AutoSize = true;

            scorePanel.Controls.Add(numberLabel);
            scorePanel.Controls.Add(nameLabel);
            scorePanel.Controls.Add(highscoreLabel);

            panelHighscores.Controls.Add(scorePanel);
            y += 15;
            ranking ++;
        }
Esempio n. 32
0
        public TgcColorModifier(string varName, Color defaultValue)
            : base(varName)
        {
            colorPanel = new FlowLayoutPanel();
            colorPanel.Margin = new Padding(0);
            colorPanel.AutoSize = true;
            colorPanel.FlowDirection = FlowDirection.LeftToRight;
            
            colorLabel = new Label();
            colorLabel.Margin = new Padding(0);
            colorLabel.Size = new Size(80, 40);
            colorLabel.BackColor = defaultValue;
            colorLabel.BorderStyle = BorderStyle.FixedSingle;
            colorLabel.Click += new EventHandler(colorButton_click);

            colorPanel.Controls.Add(colorLabel);

            colorDialog = new ColorDialog();
            colorDialog.Color = defaultValue;
            colorDialog.AllowFullOpen = true;
            colorDialog.AnyColor = true;
            colorDialog.FullOpen = true;


            contentPanel.Controls.Add(colorPanel);
        }
Esempio n. 33
0
        public void InsertDM(FlowLayoutPanel panel, TwitterDirectMessage dm)
        {
            this.Invoke(new Action(delegate
              {
            // insert new DM in list
            TweetControl tc = new TweetControl();
            Global.DownloadImageToPictureBox(tc.picAvatar, dm.Sender.ProfileImageSecureLocation, this);
            tc.labelFollowers.Text = dm.Sender.NumberOfFollowers.Value.ToString();
            tc.labelName.Text = dm.Sender.ScreenName;
            tc.labelDate.Text = FormatDate(dm.CreatedDate);
            tc.labelVia.Text = "via Direct Message";
            tc.labelInReplyTo.Text = "";
            //tc.labelText.Text = dm.Text;
            tc.rtText.Text = dm.Text;
            FindAlternativeLinks(tc.rtText);
            tc.Width = panel.Width - 8 - panel.Padding.Right;
            tc.DM = dm;
            panel.Controls.Add(tc);
            panel.Controls.SetChildIndex(tc, 0);

            // limit amount of tweets in list
            if (panel.Controls.Count > 100) {
              // delete anything after 100
              for (int i = 101; i < panel.Controls.Count; i++) {
            panel.Controls.RemoveAt(101); // index should always be 101... o___o
            // this loop looks weird.
              }
            }
              }));
        }
Esempio n. 34
0
        public void InitializeListBox()
        {
            panel1 = new FlowLayoutPanel();
            panel1.FlowDirection = FlowDirection.TopDown;
            // panel1.Dock = DockStyle.Bottom;
            this.panel1.Location = new System.Drawing.Point(treeView1.Width, 0);
            this.panel1.Size     = new System.Drawing.Size(300, 300);

            Field last_name = new Field("Nazwisko");

            fields.Add(last_name);
            panel1.Controls.Add(last_name);

            Field first_name = new Field("Imię");

            fields.Add(first_name);
            panel1.Controls.Add(first_name);

            Field birth_date = new Field("Data urodzenia");

            fields.Add(birth_date);
            panel1.Controls.Add(birth_date);

            Field address = new Field("Adres");

            fields.Add(address);
            panel1.Controls.Add(address);

            panel1.Visible = true;

            this.Controls.Add(this.panel1);
        }
        public void CheckForExistingTabPagesBar()
        {
            foreach (IProduct page in Model.ProductList)
            {
                if (!tabControl1.TabPages.ContainsKey(page.Category))
                {
                    tabControl1.TabPages.Add(page.Category, page.Category);

                    foreach (TabPage tp in tabControl1.TabPages)
                    {
                        FlowLayoutPanel flp = new FlowLayoutPanel();
                        flp.Dock = DockStyle.Fill;

                        foreach (IProduct product in Model.ProductList)
                        {
                            if (product.Category.Equals(page.Category))
                            {
                                string buttonText = (product.Name + "\n" + product.Volume);
                                Button b = new Button() { Text = buttonText };
                                b.Font = new Font("Times New Roman", (float)18.0, FontStyle.Bold, GraphicsUnit.Pixel);
                                b.Size = new Size(135, 135);
                                b.BackColor = Color.LemonChiffon;
                                b.UseCompatibleTextRendering = true;
                                b.Tag = product;
                                b.Click += new EventHandler(UpdateBarOrderListWithBarItems);
                                flp.Controls.Add(b);
                            }//end if
                        }
                        tp.Controls.Add(flp);
                    }
                }
            }
        }
Esempio n. 36
0
        public static void AddMessage(this FlowLayoutPanel source, MessageTypeEnum messageType, string message)
        {
            var panel = new FlowLayoutPanel();
            panel.AutoSize = true;
            panel.WrapContents = false;
            panel.FlowDirection = FlowDirection.TopDown;

            var lbl = new Label();
            lbl.AutoSize = true;
            lbl.Margin = new Padding(10, 10, 10, 0);
            lbl.Text = messageType.ToString();
            lbl.ForeColor = Color.FromName("White");
            lbl.BackColor = messageType.ToColor();
            lbl.BorderStyle = BorderStyle.FixedSingle;
            lbl.Font = new Font("Microsoft Sans Serif", 10f, FontStyle.Bold);
            panel.Controls.Add(lbl);

            var lbl2 = new Label();
            lbl2.AutoSize = true;
            lbl2.Margin = new Padding(10, 5, 10, 5);
            lbl2.Text = message;
            lbl2.Font = new Font("Microsoft Sans Serif", 10f);
            panel.Controls.Add(lbl2);

            source.Controls.Add(panel);
            Application.DoEvents();
            source.Focus();
        }
Esempio n. 37
0
        public OpcodeGroup()
        {
            FlowLayoutPanel mflow = new FlowLayoutPanel();
            mflow.AutoSize = true;
            mflow.FlowDirection = FlowDirection.TopDown;
            mflow.Parent = this;
            FlowLayoutPanel f = new FlowLayoutPanel();
            this.AutoSize = true;
            f.AutoSize = true;
            f.Size = new Size(500, 300);
            f.Parent = mflow;
            mflow.Location = new Point(5, 15);
            Button but1 = new Button();
            but1.Text = "Add";
            but1.Parent = f;
            but1.Click += addBox;
            Button but2 = new Button();
            but2.Text = "Del";
            but2.Parent = f;
            but2.Click += RemoveBox;
            but2.Enabled = false;
            delButton = but2;
            panel = f;

            llabel = new Label();
            llabel.AutoSize = true;
              ;
            llabel.Parent = mflow;

            UpdateLabel();
        }
 public CheckBoxToolStripMenuItem()
     : base(new System.Windows.Forms.FlowLayoutPanel())
 {
     controlPanel           = (System.Windows.Forms.FlowLayoutPanel)base.Control;
     controlPanel.BackColor = System.Drawing.Color.Transparent;
     chk.AutoSize           = true;
     controlPanel.Controls.Add(chk);
 }
Esempio n. 39
0
        public Header(Form parent_)
        {
            parent     = parent_;
            this.Top   = 0;
            this.Left  = 0;
            this.Width = parent.Width;

            parent.Resize += Parent_Resize;
            this.BackColor = System.Drawing.Color.FromArgb(255, 255, 255);
            this.Height    = 46;

            this.TopPanel        = new Panel();
            this.TopPanel.Height = 39;
            this.TopPanel.Dock   = DockStyle.Top;

            this.Controls.Add(TopPanel);


            this.bottomPanel           = new Panel();
            this.bottomPanel.Height    = 7;
            this.bottomPanel.Dock      = DockStyle.Bottom;
            this.bottomPanel.BackColor = System.Drawing.Color.FromArgb(255, 204, 0);
            this.Controls.Add(bottomPanel);


            leftPanel               = new System.Windows.Forms.FlowLayoutPanel();
            leftPanel.Margin        = System.Windows.Forms.Padding.Empty;
            leftPanel.Dock          = System.Windows.Forms.DockStyle.Left;
            leftPanel.ControlAdded += LayoutPanel_ControlAdded;
            leftPanel.Width         = 0;
            leftPanel.BackColor     = System.Drawing.Color.Pink;
            leftPanel.FlowDirection = System.Windows.Forms.FlowDirection.LeftToRight;


            TopPanel.Controls.Add(leftPanel);

            rightPanel               = new System.Windows.Forms.FlowLayoutPanel();
            rightPanel.Margin        = System.Windows.Forms.Padding.Empty;
            rightPanel.Dock          = System.Windows.Forms.DockStyle.Right;
            rightPanel.ControlAdded += LayoutPanel_ControlAdded;
            rightPanel.Width         = 0;
            rightPanel.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
            TopPanel.Controls.Add(rightPanel);

            this.DoubleClick += Header_DoubleClick;

            //Draging
            this.TopPanel.MouseDown += Header_MouseDown;
            this.TopPanel.MouseUp   += Header_MouseUp;
            this.TopPanel.MouseMove += Header_MouseMove;
        }
Esempio n. 40
0
        protected virtual void InitPopupForm()
        {
            popupContainerControl      = new DevExpress.XtraEditors.PopupContainerControl();
            popupContainerControl.Size = new Size(336, 208);

            flowLayoutPanel      = new System.Windows.Forms.FlowLayoutPanel();
            flowLayoutPanel.Dock = DockStyle.Fill;

            popupContainerControl.Controls.Add(flowLayoutPanel);

            flowLayoutPanel.AutoScroll = true;

            this.Properties.PopupControl = popupContainerControl;
        }
Esempio n. 41
0
        public override void AppendAdditionalMenuItems(wf.ToolStripDropDown menu)
        {
            base.AppendAdditionalMenuItems(menu);
            // TODO: this uses winforms, probably won't work on Mac
            try
            {
                wf.ToolStripMenuItem asciionly = menu.Items.Add("ASCII only", null, OnAscii) as wf.ToolStripMenuItem;
                asciionly.Checked = ascii;

                wf.FlowLayoutPanel flowpanel = new wf.FlowLayoutPanel()
                {
                    FlowDirection = wf.FlowDirection.TopDown
                };
                wf.RadioButton rb1 = new wf.RadioButton()
                {
                    Text = "UI"
                };
                wf.RadioButton rb2 = new wf.RadioButton()
                {
                    Text = "Installed"
                };
                wf.RadioButton rb3 = new wf.RadioButton()
                {
                    Text = "Invariant"
                };
                if (cultr == CultureInfo.CurrentUICulture)
                {
                    rb1.Checked = true;
                }
                else if (cultr == CultureInfo.InstalledUICulture)
                {
                    rb2.Checked = true;
                }
                else if (cultr == CultureInfo.InvariantCulture)
                {
                    rb3.Checked = true;
                }
                else
                {
                    rb3.Checked = true;
                }
                flowpanel.Controls.AddRange(new wf.Control[] { rb1, rb2, rb3, });
                rb1.Click += OnCheck;
                rb2.Click += OnCheck;
                rb3.Click += OnCheck;

                menu.Items.Add(new wf.ToolStripControlHost(flowpanel));
            }
            catch { }
        }
Esempio n. 42
0
 private void CreateEditorToolbarPanel()
 {
     this.ToolbarPanel = new System.Windows.Forms.FlowLayoutPanel();
     gumEditorPanel.Controls.Add(this.ToolbarPanel);
     //
     // ToolbarPanel
     //
     //this.ToolbarPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     //| System.Windows.Forms.AnchorStyles.Right)));
     this.ToolbarPanel.Dock     = DockStyle.Top;
     this.ToolbarPanel.Location = new System.Drawing.Point(0, 22);
     this.ToolbarPanel.Name     = "ToolbarPanel";
     this.ToolbarPanel.Size     = new System.Drawing.Size(532, 31);
     this.ToolbarPanel.TabIndex = 2;
 }
 private void InitializeComponent()
 {
     this.layoutPanel = new System.Windows.Forms.FlowLayoutPanel();
     this.SuspendLayout();
     //
     // layoutPanel
     //
     this.layoutPanel.Location = new System.Drawing.Point(0, 0);
     this.layoutPanel.Name     = "layoutPanel";
     this.layoutPanel.Size     = new System.Drawing.Size(353, 259);
     this.layoutPanel.TabIndex = 0;
     //
     // TestMultyAnswer
     //
     this.Controls.Add(this.layoutPanel);
     this.Name = "TestMultyAnswer";
     this.ResumeLayout(false);
 }
Esempio n. 44
0
        public DynamicDialog(string title = null)
        {
            this.flowLayoutPanelMain = new System.Windows.Forms.FlowLayoutPanel();
            this.flowLayoutPanelMain.SuspendLayout();
            this.SuspendLayout();

            //
            // flowLayoutPanelMain
            //
            this.flowLayoutPanelMain.AutoSize      = true;
            this.flowLayoutPanelMain.AutoSizeMode  = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.flowLayoutPanelMain.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
            this.flowLayoutPanelMain.Location      = new System.Drawing.Point(0, 0);
            this.flowLayoutPanelMain.Name          = "flowLayoutPanelMain";
            this.flowLayoutPanelMain.Size          = new System.Drawing.Size(309, 93);
            this.flowLayoutPanelMain.TabIndex      = 0;

            //
            // DynamicDialog
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.AutoSize            = true;
            this.AutoSizeMode        = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.ClientSize          = new System.Drawing.Size(876, 489);
            this.ControlBox          = false;
            this.Controls.Add(this.flowLayoutPanelMain);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
            this.MaximizeBox     = false;
            this.MinimizeBox     = false;
            this.Name            = "DynamicDialog";
            this.ShowIcon        = false;
            this.ShowInTaskbar   = false;
            this.Text            = title;
            this.TopMost         = true;
            this.StartPosition   = FormStartPosition.CenterParent;

            this.flowLayoutPanelMain.ResumeLayout(false);
            this.flowLayoutPanelMain.PerformLayout();
            this.ResumeLayout(false);

            this.PerformLayout();
        }
Esempio n. 45
0
 private void InitializeComponent()
 {
     this.flpProtocols     = new System.Windows.Forms.FlowLayoutPanel();
     this.Load            += new System.EventHandler(this.QuickConnect_Load);
     this.btnCancel        = new System.Windows.Forms.Button();
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     this.SuspendLayout();
     //
     //flpProtocols
     //
     this.flpProtocols.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.flpProtocols.Location = new System.Drawing.Point(0, 0);
     this.flpProtocols.Name     = "flpProtocols";
     this.flpProtocols.Size     = new System.Drawing.Size(271, 155);
     this.flpProtocols.TabIndex = 10;
     //
     //btnCancel
     //
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
     this.btnCancel.Location                = new System.Drawing.Point(-200, -200);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex                = 20;
     this.btnCancel.TabStop                 = false;
     this.btnCancel.Text                    = Language.strButtonCancel;
     this.btnCancel.UseVisualStyleBackColor = true;
     //
     //QuickConnect
     //
     this.CancelButton = this.btnCancel;
     this.ClientSize   = new System.Drawing.Size(271, 155);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.flpProtocols);
     this.HideOnClose = true;
     this.Icon        = global::My.Resources.Resources.Play_Quick_Icon;
     this.Name        = "QuickConnect";
     this.TabText     = Language.strQuickConnect;
     this.Text        = Language.strQuickConnect;
     this.ResumeLayout(false);
 }
Esempio n. 46
0
        public ucPopupRegionEdit()
        {
            InitializeComponent();

            popupContainerControl      = new DevExpress.XtraEditors.PopupContainerControl();
            popupContainerControl.Size = new Size(336, 208);

            flowLayoutPanel      = new System.Windows.Forms.FlowLayoutPanel();
            flowLayoutPanel.Dock = DockStyle.Fill;

            popupContainerControl.Controls.Add(flowLayoutPanel);

            flowLayoutPanel.AutoScroll = true;

            this.popupContainerEdit1.Properties.PopupControl = popupContainerControl;

            this.popupContainerEdit1.QueryPopUp += new CancelEventHandler(popupContainerEdit1_QueryPopUp);

            this.Resize += new EventHandler(ucPopupRegionEdit_Resize);
            this.Layout += new LayoutEventHandler(ucPopupRegionEdit_Layout);
            //this.Load += new EventHandler(ucPopupRegionEdit_Load);
        }
Esempio n. 47
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
     this.label2           = new System.Windows.Forms.Label();
     this.dataGridView1    = new System.Windows.Forms.DataGridView();
     this.button1          = new System.Windows.Forms.Button();
     this.button2          = new System.Windows.Forms.Button();
     this.flowLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // flowLayoutPanel1
     //
     this.flowLayoutPanel1.AutoSize = true;
     this.flowLayoutPanel1.Controls.Add(this.label2);
     this.flowLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     this.flowLayoutPanel1.Name     = "flowLayoutPanel1";
     this.flowLayoutPanel1.Size     = new System.Drawing.Size(566, 51);
     this.flowLayoutPanel1.TabIndex = 13;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(3, 6);
     this.label2.Margin   = new System.Windows.Forms.Padding(3, 6, 3, 6);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(558, 39);
     this.label2.TabIndex = 0;
     this.label2.Text     = "This sample demonstrates how to implement the ITypedList interface.  Clicking on the 'Sort Columns' button will bind the DataGridView to a sub-classed BindingList<T> that implements ITypedList to provide a sorted list of columns.  Clicking on the 'Reset' button will bind the DataGridView to a normal BindingList<T>.";
     //
     // dataGridView1
     //
     this.dataGridView1.AllowUserToAddRows    = false;
     this.dataGridView1.AllowUserToDeleteRows = false;
     this.dataGridView1.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.dataGridView1.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Location          = new System.Drawing.Point(6, 57);
     this.dataGridView1.Name              = "dataGridView1";
     this.dataGridView1.ReadOnly          = true;
     this.dataGridView1.RowHeadersVisible = false;
     this.dataGridView1.Size              = new System.Drawing.Size(465, 51);
     this.dataGridView1.TabIndex          = 14;
     //
     // button1
     //
     this.button1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Location = new System.Drawing.Point(477, 57);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(82, 23);
     this.button1.TabIndex = 15;
     this.button1.Text     = "Sort Columns";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button2.Location = new System.Drawing.Point(477, 86);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(82, 23);
     this.button2.TabIndex = 16;
     this.button2.Text     = "Reset";
     this.button2.UseVisualStyleBackColor = true;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(566, 120);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.dataGridView1);
     this.Controls.Add(this.flowLayoutPanel1);
     this.Name  = "Form1";
     this.Text  = "ITypedList Sample";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.flowLayoutPanel1.ResumeLayout(false);
     this.flowLayoutPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 48
0
        private void InitializeComponent()
        {
            SuspendLayout();

            this.textInput     = new System.Windows.Forms.TextBox();
            this.buttonExecute = new System.Windows.Forms.Button();
            this.panelText     = new System.Windows.Forms.FlowLayoutPanel();
            this.labelCaption  = new System.Windows.Forms.Label();
            this.panelButtons  = new System.Windows.Forms.FlowLayoutPanel();
            this.panelText.SuspendLayout();
            this.panelButtons.SuspendLayout();
            this.SuspendLayout();
            //
            // labelCaption
            //
            this.labelCaption.Location = new System.Drawing.Point(3, 0);
            this.labelCaption.Name     = "labelCaption";
            this.labelCaption.Size     = new System.Drawing.Size(200, 23);
            this.labelCaption.TabIndex = 1;
            this.labelCaption.Text     = LABEL_CAPTION;
            //
            // textInput
            //
            this.textInput.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
            this.textInput.Location = new System.Drawing.Point(3, 26);
            this.textInput.Name     = "textInput";
            this.textInput.Size     = new System.Drawing.Size(200, 19);
            this.textInput.TabIndex = 0;
            //
            // buttonExecute
            //
            this.buttonExecute.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonExecute.Location = new System.Drawing.Point(3, 3);
            this.buttonExecute.Name     = "buttonExecute";
            this.buttonExecute.Size     = new System.Drawing.Size(120, 23);
            this.buttonExecute.TabIndex = 1;
            this.buttonExecute.Text     = BUTTON_CAPTION;
            this.buttonExecute.UseVisualStyleBackColor = true;
            this.buttonExecute.Click += new System.EventHandler(this.buttonExecute_Click);
            //
            // panelText
            //
            this.panelText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
            this.panelText.Controls.Add(this.labelCaption);
            this.panelText.Controls.Add(this.textInput);
            this.panelText.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
            this.panelText.Location      = new System.Drawing.Point(12, 12);
            this.panelText.Name          = "panelText";
            this.panelText.Size          = new System.Drawing.Size(239, 67);
            this.panelText.TabIndex      = 2;
            //
            // panelButtons
            //
            this.panelButtons.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));
            this.panelButtons.Controls.Add(this.buttonExecute);
            this.panelButtons.Location = new System.Drawing.Point(12, 85);
            this.panelButtons.Name     = "panelButtons";
            this.panelButtons.Size     = new System.Drawing.Size(239, 42);
            this.panelButtons.TabIndex = 3;

            this.panelText.Controls.AddRange(new System.Windows.Forms.Control[] { this.labelCaption, this.textInput });

            this.panelButtons.Controls.AddRange(new System.Windows.Forms.Control[] { this.buttonExecute });
            this.Controls.AddRange(new System.Windows.Forms.Control[] { this.panelText, this.panelButtons });
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Text       = WINDOW_CAPTION;
            this.ClientSize = new System.Drawing.Size(420, 131);
            ResumeLayout();
        }
 private void InitializeComponent()
 {
     this.tableLayoutPanel1         = new System.Windows.Forms.TableLayoutPanel();
     this.MLLabel                   = new System.Windows.Forms.Label();
     this.FolderSelect              = new System.Windows.Forms.ComboBox();
     this.BrowseButton              = new System.Windows.Forms.Button();
     this.AbortButton               = new System.Windows.Forms.Button();
     this.NextButton                = new System.Windows.Forms.Button();
     this.FolderBrowser             = new System.Windows.Forms.FolderBrowserDialog();
     this.ToolTip1                  = new System.Windows.Forms.ToolTip();
     this.PlatformBox               = new System.Windows.Forms.GroupBox();
     this.PlatformRadio_32          = new System.Windows.Forms.RadioButton();
     this.PlatformRadio_64          = new System.Windows.Forms.RadioButton();
     this.ArrayDimsBox              = new System.Windows.Forms.GroupBox();
     this.ArrayDimsRadio_Compatible = new System.Windows.Forms.RadioButton();
     this.ArrayDimsRadio_Large      = new System.Windows.Forms.RadioButton();
     this.ComplexBox                = new System.Windows.Forms.GroupBox();
     this.ComplexRadio_Interleaved  = new System.Windows.Forms.RadioButton();
     this.ComplexRadio_Separated    = new System.Windows.Forms.RadioButton();
     this.GraphicsBox               = new System.Windows.Forms.GroupBox();
     this.GraphicsRadio_double      = new System.Windows.Forms.RadioButton();
     this.GraphicsRadio_object      = new System.Windows.Forms.RadioButton();
     this.flowLayoutPanel1          = new System.Windows.Forms.FlowLayoutPanel();
     this.LanguageBox               = new System.Windows.Forms.GroupBox();
     this.LanguageRadio_CPP         = new System.Windows.Forms.RadioButton();
     this.LanguageRadio_C           = new System.Windows.Forms.RadioButton();
     this.APIBox          = new System.Windows.Forms.GroupBox();
     this.APIRadio_Data   = new System.Windows.Forms.RadioButton();
     this.APIRadio_Matrix = new System.Windows.Forms.RadioButton();
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 3;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 21.875F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 78.125F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 85F));
     this.tableLayoutPanel1.Controls.Add(this.MLLabel, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.FolderSelect, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.BrowseButton, 2, 0);
     this.tableLayoutPanel1.Controls.Add(this.AbortButton, 2, 1);
     this.tableLayoutPanel1.Controls.Add(this.NextButton, 1, 1);
     this.tableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.tableLayoutPanel1.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 65);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 2;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(598, 58);
     this.tableLayoutPanel1.TabIndex = 2;
     //
     // MLLabel
     //
     this.MLLabel.AutoSize  = true;
     this.MLLabel.Dock      = System.Windows.Forms.DockStyle.Right;
     this.MLLabel.Font      = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.MLLabel.Location  = new System.Drawing.Point(4, 0);
     this.MLLabel.Name      = "MLLabel";
     this.MLLabel.Size      = new System.Drawing.Size(105, 29);
     this.MLLabel.TabIndex  = 2;
     this.MLLabel.Text      = "MATLAB Location:";
     this.MLLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // FolderSelect
     //
     this.FolderSelect.AllowDrop                 = true;
     this.FolderSelect.Dock                      = System.Windows.Forms.DockStyle.Top;
     this.FolderSelect.Font                      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FolderSelect.FormattingEnabled         = true;
     this.FolderSelect.Location                  = new System.Drawing.Point(115, 3);
     this.FolderSelect.Name                      = "FolderSelect";
     this.FolderSelect.Size                      = new System.Drawing.Size(394, 21);
     this.FolderSelect.TabIndex                  = 3;
     this.FolderSelect.SelectionChangeCommitted += new System.EventHandler(this.FolderSelect_SelectionChangeCommitted);
     //
     // BrowseButton
     //
     this.BrowseButton.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.BrowseButton.Location = new System.Drawing.Point(515, 3);
     this.BrowseButton.Name     = "BrowseButton";
     this.BrowseButton.Size     = new System.Drawing.Size(80, 23);
     this.BrowseButton.TabIndex = 4;
     this.BrowseButton.Text     = "Browse";
     this.BrowseButton.UseVisualStyleBackColor = true;
     this.BrowseButton.Click += new System.EventHandler(this.BrowseButton_Click);
     //
     // AbortButton
     //
     this.AbortButton.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.AbortButton.Dock                    = System.Windows.Forms.DockStyle.Fill;
     this.AbortButton.Location                = new System.Drawing.Point(515, 32);
     this.AbortButton.Name                    = "AbortButton";
     this.AbortButton.Size                    = new System.Drawing.Size(80, 23);
     this.AbortButton.TabIndex                = 5;
     this.AbortButton.Text                    = "Cancel";
     this.AbortButton.UseVisualStyleBackColor = true;
     this.AbortButton.Click                  += new System.EventHandler(this.AbortButton_Click);
     //
     // NextButton
     //
     this.NextButton.Dock     = System.Windows.Forms.DockStyle.Right;
     this.NextButton.Location = new System.Drawing.Point(434, 32);
     this.NextButton.Name     = "NextButton";
     this.NextButton.Size     = new System.Drawing.Size(75, 23);
     this.NextButton.TabIndex = 6;
     this.NextButton.Text     = "Next";
     this.NextButton.UseVisualStyleBackColor = true;
     this.NextButton.Click += new System.EventHandler(this.NextButton_Click);
     //
     // FolderBrowser
     //
     this.FolderBrowser.Description = "Locate the folder where MATLAB is installed. You can also find this by running \'m" +
                                      "atlabroot\' at the MATLAB prompt.";
     this.FolderBrowser.ShowNewFolderButton = false;
     //
     // PlatformBox
     //
     this.PlatformBox.Controls.Add(this.PlatformRadio_32);
     this.PlatformBox.Controls.Add(this.PlatformRadio_64);
     this.PlatformBox.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.PlatformBox.Location = new System.Drawing.Point(3, 3);
     this.PlatformBox.Name     = "PlatformBox";
     this.PlatformBox.Size     = new System.Drawing.Size(64, 59);
     this.PlatformBox.TabIndex = 3;
     this.PlatformBox.TabStop  = false;
     this.PlatformBox.Text     = "Platform";
     //
     // PlatformRadio_32
     //
     this.PlatformRadio_32.AutoSize = true;
     this.PlatformRadio_32.Location = new System.Drawing.Point(7, 36);
     this.PlatformRadio_32.Name     = "PlatformRadio_32";
     this.PlatformRadio_32.Size     = new System.Drawing.Size(55, 17);
     this.PlatformRadio_32.TabIndex = 1;
     this.PlatformRadio_32.Text     = "32-bit";
     this.PlatformRadio_32.UseVisualStyleBackColor = true;
     this.PlatformRadio_32.CheckedChanged         += new System.EventHandler(this.PlatformRadio_32_CheckedChanged);
     //
     // PlatformRadio_64
     //
     this.PlatformRadio_64.AutoSize = true;
     this.PlatformRadio_64.Checked  = true;
     this.PlatformRadio_64.Location = new System.Drawing.Point(7, 18);
     this.PlatformRadio_64.Name     = "PlatformRadio_64";
     this.PlatformRadio_64.Size     = new System.Drawing.Size(55, 17);
     this.PlatformRadio_64.TabIndex = 0;
     this.PlatformRadio_64.TabStop  = true;
     this.PlatformRadio_64.Text     = "64-bit";
     this.PlatformRadio_64.UseVisualStyleBackColor = true;
     this.PlatformRadio_64.CheckedChanged         += new System.EventHandler(this.PlatformRadio_64_CheckedChanged);
     //
     // ArrayDimsBox
     //
     this.ArrayDimsBox.Controls.Add(this.ArrayDimsRadio_Compatible);
     this.ArrayDimsBox.Controls.Add(this.ArrayDimsRadio_Large);
     this.ArrayDimsBox.Location = new System.Drawing.Point(251, 3);
     this.ArrayDimsBox.Name     = "ArrayDimsBox";
     this.ArrayDimsBox.Size     = new System.Drawing.Size(111, 59);
     this.ArrayDimsBox.TabIndex = 4;
     this.ArrayDimsBox.TabStop  = false;
     this.ArrayDimsBox.Text     = "Array Dimensions";
     //
     // ArrayDimsRadio_Compatible
     //
     this.ArrayDimsRadio_Compatible.AutoSize = true;
     this.ArrayDimsRadio_Compatible.Location = new System.Drawing.Point(7, 36);
     this.ArrayDimsRadio_Compatible.Name     = "ArrayDimsRadio_Compatible";
     this.ArrayDimsRadio_Compatible.Size     = new System.Drawing.Size(84, 17);
     this.ArrayDimsRadio_Compatible.TabIndex = 1;
     this.ArrayDimsRadio_Compatible.Text     = "Compatible";
     this.ToolTip1.SetToolTip(this.ArrayDimsRadio_Compatible, "Support for variables with up to 2^31-1 elements");
     this.ArrayDimsRadio_Compatible.UseVisualStyleBackColor = true;
     this.ArrayDimsRadio_Compatible.CheckedChanged         += new System.EventHandler(this.ArrayDimsRadio_Compatible_CheckedChanged);
     //
     // ArrayDimsRadio_Large
     //
     this.ArrayDimsRadio_Large.AutoSize = true;
     this.ArrayDimsRadio_Large.Checked  = true;
     this.ArrayDimsRadio_Large.Location = new System.Drawing.Point(7, 18);
     this.ArrayDimsRadio_Large.Name     = "ArrayDimsRadio_Large";
     this.ArrayDimsRadio_Large.Size     = new System.Drawing.Size(53, 17);
     this.ArrayDimsRadio_Large.TabIndex = 0;
     this.ArrayDimsRadio_Large.TabStop  = true;
     this.ArrayDimsRadio_Large.Text     = "Large";
     this.ToolTip1.SetToolTip(this.ArrayDimsRadio_Large, "Support for variables with up to 2^48-1 elements");
     this.ArrayDimsRadio_Large.UseVisualStyleBackColor = true;
     this.ArrayDimsRadio_Large.CheckedChanged         += new System.EventHandler(this.ArrayDimsRadio_Large_CheckedChanged);
     //
     // ComplexBox
     //
     this.ComplexBox.Controls.Add(this.ComplexRadio_Interleaved);
     this.ComplexBox.Controls.Add(this.ComplexRadio_Separated);
     this.ComplexBox.Location = new System.Drawing.Point(368, 3);
     this.ComplexBox.Name     = "ComplexBox";
     this.ComplexBox.Size     = new System.Drawing.Size(114, 59);
     this.ComplexBox.TabIndex = 5;
     this.ComplexBox.TabStop  = false;
     this.ComplexBox.Text     = "Complex Numbers";
     //
     // ComplexRadio_Interleaved
     //
     this.ComplexRadio_Interleaved.AutoSize = true;
     this.ComplexRadio_Interleaved.Location = new System.Drawing.Point(6, 36);
     this.ComplexRadio_Interleaved.Name     = "ComplexRadio_Interleaved";
     this.ComplexRadio_Interleaved.Size     = new System.Drawing.Size(82, 17);
     this.ComplexRadio_Interleaved.TabIndex = 1;
     this.ComplexRadio_Interleaved.Text     = "Interleaved";
     this.ToolTip1.SetToolTip(this.ComplexRadio_Interleaved, "Store real and imaginary parts of complex numbers side-by-side in memory");
     this.ComplexRadio_Interleaved.UseVisualStyleBackColor = true;
     this.ComplexRadio_Interleaved.CheckedChanged         += new System.EventHandler(this.ComplexRadio_Interleaved_CheckedChanged);
     //
     // ComplexRadio_Separated
     //
     this.ComplexRadio_Separated.AutoSize = true;
     this.ComplexRadio_Separated.Checked  = true;
     this.ComplexRadio_Separated.Location = new System.Drawing.Point(6, 18);
     this.ComplexRadio_Separated.Name     = "ComplexRadio_Separated";
     this.ComplexRadio_Separated.Size     = new System.Drawing.Size(77, 17);
     this.ComplexRadio_Separated.TabIndex = 0;
     this.ComplexRadio_Separated.TabStop  = true;
     this.ComplexRadio_Separated.Text     = "Separated";
     this.ToolTip1.SetToolTip(this.ComplexRadio_Separated, "Store real and imaginary parts of complex numbers separately");
     this.ComplexRadio_Separated.UseVisualStyleBackColor = true;
     this.ComplexRadio_Separated.CheckedChanged         += new System.EventHandler(this.ComplexRadio_Separated_CheckedChanged);
     //
     // GraphicsBox
     //
     this.GraphicsBox.Controls.Add(this.GraphicsRadio_double);
     this.GraphicsBox.Controls.Add(this.GraphicsRadio_object);
     this.GraphicsBox.Location = new System.Drawing.Point(488, 3);
     this.GraphicsBox.Name     = "GraphicsBox";
     this.GraphicsBox.Size     = new System.Drawing.Size(102, 59);
     this.GraphicsBox.TabIndex = 6;
     this.GraphicsBox.TabStop  = false;
     this.GraphicsBox.Text     = "Graphics Class";
     //
     // GraphicsRadio_double
     //
     this.GraphicsRadio_double.AutoSize = true;
     this.GraphicsRadio_double.Font     = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.GraphicsRadio_double.Location = new System.Drawing.Point(7, 37);
     this.GraphicsRadio_double.Name     = "GraphicsRadio_double";
     this.GraphicsRadio_double.Size     = new System.Drawing.Size(61, 17);
     this.GraphicsRadio_double.TabIndex = 1;
     this.GraphicsRadio_double.Text     = "double";
     this.ToolTip1.SetToolTip(this.GraphicsRadio_double, "Use graphics object handles with class \'double\'");
     this.GraphicsRadio_double.UseVisualStyleBackColor = true;
     this.GraphicsRadio_double.CheckedChanged         += new System.EventHandler(this.GraphicsRadio_double_CheckedChanged);
     //
     // GraphicsRadio_object
     //
     this.GraphicsRadio_object.AutoSize = true;
     this.GraphicsRadio_object.Checked  = true;
     this.GraphicsRadio_object.Font     = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.GraphicsRadio_object.Location = new System.Drawing.Point(7, 18);
     this.GraphicsRadio_object.Name     = "GraphicsRadio_object";
     this.GraphicsRadio_object.Size     = new System.Drawing.Size(61, 17);
     this.GraphicsRadio_object.TabIndex = 0;
     this.GraphicsRadio_object.TabStop  = true;
     this.GraphicsRadio_object.Text     = "object";
     this.ToolTip1.SetToolTip(this.GraphicsRadio_object, "Use graphics object handles with class \'object \'");
     this.GraphicsRadio_object.UseVisualStyleBackColor = true;
     this.GraphicsRadio_object.CheckedChanged         += new System.EventHandler(this.GraphicsRadio_object_CheckedChanged);
     //
     // flowLayoutPanel1
     //
     this.flowLayoutPanel1.Controls.Add(this.PlatformBox);
     this.flowLayoutPanel1.Controls.Add(this.LanguageBox);
     this.flowLayoutPanel1.Controls.Add(this.APIBox);
     this.flowLayoutPanel1.Controls.Add(this.ArrayDimsBox);
     this.flowLayoutPanel1.Controls.Add(this.ComplexBox);
     this.flowLayoutPanel1.Controls.Add(this.GraphicsBox);
     this.flowLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.flowLayoutPanel1.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     this.flowLayoutPanel1.Name     = "flowLayoutPanel1";
     this.flowLayoutPanel1.Size     = new System.Drawing.Size(598, 65);
     this.flowLayoutPanel1.TabIndex = 7;
     //
     // LanguageBox
     //
     this.LanguageBox.Controls.Add(this.LanguageRadio_CPP);
     this.LanguageBox.Controls.Add(this.LanguageRadio_C);
     this.LanguageBox.Location = new System.Drawing.Point(73, 3);
     this.LanguageBox.Name     = "LanguageBox";
     this.LanguageBox.Size     = new System.Drawing.Size(80, 59);
     this.LanguageBox.TabIndex = 7;
     this.LanguageBox.TabStop  = false;
     this.LanguageBox.Text     = "Language";
     //
     // LanguageRadio_CPP
     //
     this.LanguageRadio_CPP.AutoSize = true;
     this.LanguageRadio_CPP.Checked  = true;
     this.LanguageRadio_CPP.Location = new System.Drawing.Point(6, 18);
     this.LanguageRadio_CPP.Name     = "LanguageRadio_CPP";
     this.LanguageRadio_CPP.Size     = new System.Drawing.Size(48, 17);
     this.LanguageRadio_CPP.TabIndex = 1;
     this.LanguageRadio_CPP.TabStop  = true;
     this.LanguageRadio_CPP.Text     = "C++";
     this.LanguageRadio_CPP.UseVisualStyleBackColor = true;
     this.LanguageRadio_CPP.CheckedChanged         += new System.EventHandler(this.LanguageRadio_CPP_CheckedChanged);
     //
     // LanguageRadio_C
     //
     this.LanguageRadio_C.AutoSize = true;
     this.LanguageRadio_C.Location = new System.Drawing.Point(6, 36);
     this.LanguageRadio_C.Name     = "LanguageRadio_C";
     this.LanguageRadio_C.Size     = new System.Drawing.Size(32, 17);
     this.LanguageRadio_C.TabIndex = 0;
     this.LanguageRadio_C.Text     = "C";
     this.LanguageRadio_C.UseVisualStyleBackColor = true;
     this.LanguageRadio_C.CheckedChanged         += new System.EventHandler(this.LanguageRadio_C_CheckedChanged);
     //
     // APIBox
     //
     this.APIBox.Controls.Add(this.APIRadio_Data);
     this.APIBox.Controls.Add(this.APIRadio_Matrix);
     this.APIBox.Location = new System.Drawing.Point(159, 3);
     this.APIBox.Name     = "APIBox";
     this.APIBox.Size     = new System.Drawing.Size(86, 59);
     this.APIBox.TabIndex = 8;
     this.APIBox.TabStop  = false;
     this.APIBox.Text     = "API";
     //
     // APIRadio_Data
     //
     this.APIRadio_Data.AutoSize = true;
     this.APIRadio_Data.Location = new System.Drawing.Point(7, 36);
     this.APIRadio_Data.Name     = "APIRadio_Data";
     this.APIRadio_Data.Size     = new System.Drawing.Size(68, 17);
     this.APIRadio_Data.TabIndex = 1;
     this.APIRadio_Data.Text     = "Data API";
     this.APIRadio_Data.UseVisualStyleBackColor = true;
     this.APIRadio_Data.CheckedChanged         += new System.EventHandler(this.APIRadio_Data_CheckedChanged);
     //
     // APIRadio_Matrix
     //
     this.APIRadio_Matrix.AutoSize = true;
     this.APIRadio_Matrix.Checked  = true;
     this.APIRadio_Matrix.Location = new System.Drawing.Point(7, 18);
     this.APIRadio_Matrix.Name     = "APIRadio_Matrix";
     this.APIRadio_Matrix.Size     = new System.Drawing.Size(76, 17);
     this.APIRadio_Matrix.TabIndex = 0;
     this.APIRadio_Matrix.TabStop  = true;
     this.APIRadio_Matrix.Text     = "Matrix API";
     this.APIRadio_Matrix.UseVisualStyleBackColor = true;
     this.APIRadio_Matrix.CheckedChanged         += new System.EventHandler(this.APIRadio_Matrix_CheckedChanged);
 }
Esempio n. 50
0
        public Lists()

        {
            this.TextboxListName  = new System.Windows.Forms.TextBox();
            this.CardListPanel    = new System.Windows.Forms.FlowLayoutPanel();
            this.ButtonAddCard    = new MyCustomControl.RoundedButton();
            this.PanelSetting     = new System.Windows.Forms.Panel();
            this.cancelButton     = new MyCustomControl.RoundedButton();
            this.saveButton       = new MyCustomControl.RoundedButton();
            this.pictureBox1      = new System.Windows.Forms.PictureBox();
            this.DeleteListButton = new MyCustomControl.CircularButton();
            this.CardListPanel.SuspendLayout();
            this.PanelSetting.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            this.SuspendLayout();
            //
            // TextboxListName
            //
            this.TextboxListName.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.TextboxListName.Location   = new System.Drawing.Point(3, 3);
            this.TextboxListName.Name       = "TextboxListName";
            this.TextboxListName.ReadOnly   = true;
            this.TextboxListName.Size       = new System.Drawing.Size(134, 29);
            this.TextboxListName.TabIndex   = 0;
            this.TextboxListName.Text       = "List Name";
            this.TextboxListName.TextAlign  = System.Windows.Forms.HorizontalAlignment.Center;
            this.TextboxListName.Click     += new System.EventHandler(this.TextboxListName_Click);
            this.TextboxListName.Validated += new System.EventHandler(this.TextboxListName_Validated);
            //
            // CardListPanel
            //
            this.CardListPanel.AllowDrop  = true;
            this.CardListPanel.AutoScroll = true;
            this.CardListPanel.Controls.Add(this.ButtonAddCard);
            this.CardListPanel.Location   = new System.Drawing.Point(0, 36);
            this.CardListPanel.Name       = "CardListPanel";
            this.CardListPanel.Size       = new System.Drawing.Size(263, 731);
            this.CardListPanel.TabIndex   = 4;
            this.CardListPanel.DragDrop  += new System.Windows.Forms.DragEventHandler(this.CardListPanel_DragDrop);
            this.CardListPanel.DragEnter += new System.Windows.Forms.DragEventHandler(this.CardListPanel_DragEnter);
            //
            // ButtonAddCard
            //
            this.ButtonAddCard.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.ButtonAddCard.BackColor    = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.ButtonAddCard.ButtonColor  = System.Drawing.Color.Transparent;
            this.ButtonAddCard.FlatAppearance.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.ButtonAddCard.FlatAppearance.BorderSize         = 0;
            this.ButtonAddCard.FlatAppearance.MouseDownBackColor = System.Drawing.Color.IndianRed;
            this.ButtonAddCard.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightCoral;
            this.ButtonAddCard.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
            this.ButtonAddCard.Font                    = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.ButtonAddCard.Image                   = global::Board.Properties.Resources.AddIcon;
            this.ButtonAddCard.Location                = new System.Drawing.Point(3, 3);
            this.ButtonAddCard.Name                    = "ButtonAddCard";
            this.ButtonAddCard.OnHoverButtonColor      = System.Drawing.Color.Transparent;
            this.ButtonAddCard.RoundedRadius           = 2;
            this.ButtonAddCard.Size                    = new System.Drawing.Size(230, 29);
            this.ButtonAddCard.TabIndex                = 9;
            this.ButtonAddCard.UseVisualStyleBackColor = false;
            this.ButtonAddCard.Click                  += new System.EventHandler(this.ButtonAddBoard_Click);
            //
            // PanelSetting
            //
            this.PanelSetting.Controls.Add(this.TextboxListName);
            this.PanelSetting.Controls.Add(this.cancelButton);
            this.PanelSetting.Controls.Add(this.saveButton);
            this.PanelSetting.Location   = new System.Drawing.Point(3, 3);
            this.PanelSetting.Name       = "PanelSetting";
            this.PanelSetting.Size       = new System.Drawing.Size(142, 32);
            this.PanelSetting.TabIndex   = 10;
            this.PanelSetting.Validated += new System.EventHandler(this.PanelSetting_Validated);
            //
            // cancelButton
            //
            this.cancelButton.BackgroundImageLayout             = System.Windows.Forms.ImageLayout.None;
            this.cancelButton.ButtonColor                       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
            this.cancelButton.FlatAppearance.BorderColor        = System.Drawing.SystemColors.Control;
            this.cancelButton.FlatAppearance.BorderSize         = 0;
            this.cancelButton.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control;
            this.cancelButton.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.Control;
            this.cancelButton.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
            this.cancelButton.Font                    = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cancelButton.ForeColor               = System.Drawing.Color.White;
            this.cancelButton.Location                = new System.Drawing.Point(60, 36);
            this.cancelButton.Margin                  = new System.Windows.Forms.Padding(1);
            this.cancelButton.Name                    = "cancelButton";
            this.cancelButton.OnHoverButtonColor      = System.Drawing.Color.Red;
            this.cancelButton.RoundedRadius           = 10;
            this.cancelButton.Size                    = new System.Drawing.Size(77, 28);
            this.cancelButton.TabIndex                = 14;
            this.cancelButton.Text                    = "Cancel";
            this.cancelButton.UseVisualStyleBackColor = true;
            this.cancelButton.Click                  += new System.EventHandler(this.cancelButton_Click);
            //
            // saveButton
            //
            this.saveButton.BackgroundImageLayout             = System.Windows.Forms.ImageLayout.None;
            this.saveButton.ButtonColor                       = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
            this.saveButton.FlatAppearance.BorderColor        = System.Drawing.SystemColors.Control;
            this.saveButton.FlatAppearance.BorderSize         = 0;
            this.saveButton.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control;
            this.saveButton.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.Control;
            this.saveButton.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
            this.saveButton.Font                    = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.saveButton.ForeColor               = System.Drawing.Color.White;
            this.saveButton.Location                = new System.Drawing.Point(3, 36);
            this.saveButton.Margin                  = new System.Windows.Forms.Padding(1);
            this.saveButton.Name                    = "saveButton";
            this.saveButton.OnHoverButtonColor      = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
            this.saveButton.RoundedRadius           = 10;
            this.saveButton.Size                    = new System.Drawing.Size(55, 28);
            this.saveButton.TabIndex                = 13;
            this.saveButton.Text                    = "Save";
            this.saveButton.UseVisualStyleBackColor = true;
            this.saveButton.Click                  += new System.EventHandler(this.saveButton_Click);
            //
            // pictureBox1
            //
            this.pictureBox1.Location = new System.Drawing.Point(146, 4);
            this.pictureBox1.Name     = "pictureBox1";
            this.pictureBox1.Size     = new System.Drawing.Size(35, 35);
            this.pictureBox1.TabIndex = 11;
            this.pictureBox1.TabStop  = false;
            this.pictureBox1.Location = new Point(160, 8);
            this.pictureBox1.Image    = Properties.Resources.ObservationIcon24;
            this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
            this.pictureBox1.Click   += new System.EventHandler(this.pictureBox1_Click);
            //
            // DeleteListButton
            //
            this.DeleteListButton.BackColor = System.Drawing.Color.Transparent;
            this.DeleteListButton.FlatAppearance.BorderColor        = System.Drawing.Color.White;
            this.DeleteListButton.FlatAppearance.BorderSize         = 0;
            this.DeleteListButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.IndianRed;
            this.DeleteListButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightCoral;
            this.DeleteListButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.DeleteListButton.Image     = global::Board.Properties.Resources.CloseIcon16;
            this.DeleteListButton.Location  = new System.Drawing.Point(229, 4);
            this.DeleteListButton.Margin    = new System.Windows.Forms.Padding(3, 3, 0, 3);
            this.DeleteListButton.Name      = "DeleteListButton";
            this.DeleteListButton.Size      = new System.Drawing.Size(34, 26);
            this.DeleteListButton.TabIndex  = 5;
            this.DeleteListButton.UseVisualStyleBackColor = true;
            this.DeleteListButton.Click += new System.EventHandler(this.DeleteListButton_Click_1);
            //
            // Lists
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.None;
            this.AutoScroll          = true;
            this.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.Controls.Add(this.PanelSetting);
            this.Controls.Add(this.pictureBox1);
            this.Controls.Add(this.DeleteListButton);
            this.Controls.Add(this.CardListPanel);
            this.Name       = "Lists";
            this.Size       = new System.Drawing.Size(266, 830);
            this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Lists_MouseDown);
            this.CardListPanel.ResumeLayout(false);
            this.PanelSetting.ResumeLayout(false);
            this.PanelSetting.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            this.ResumeLayout(false);
        }
Esempio n. 51
0
 /// <summary>
 /// Required method for Designer support - do not modify
 ///   the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.TableLayoutPanel table;
     System.Windows.Forms.FlowLayoutPanel  flowButtons;
     System.Windows.Forms.Label            seasonLabel;
     System.Windows.Forms.Label            episodeLabel;
     this.okButton      = new System.Windows.Forms.Button();
     this.cancelButton  = new System.Windows.Forms.Button();
     this.episodeNumber = new System.Windows.Forms.TextBox();
     this.seasonNumber  = new System.Windows.Forms.TextBox();
     table        = new System.Windows.Forms.TableLayoutPanel();
     flowButtons  = new System.Windows.Forms.FlowLayoutPanel();
     seasonLabel  = new System.Windows.Forms.Label();
     episodeLabel = new System.Windows.Forms.Label();
     table.SuspendLayout();
     flowButtons.SuspendLayout();
     this.SuspendLayout();
     //
     // table
     //
     table.ColumnCount = 2;
     table.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 93F));
     table.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     table.Controls.Add(flowButtons, 0, 2);
     table.Controls.Add(this.episodeNumber, 1, 1);
     table.Controls.Add(this.seasonNumber, 1, 0);
     table.Controls.Add(seasonLabel, 0, 0);
     table.Controls.Add(episodeLabel, 0, 1);
     table.Dock     = System.Windows.Forms.DockStyle.Fill;
     table.Location = new System.Drawing.Point(0, 0);
     table.Name     = "table";
     table.RowCount = 2;
     table.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
     table.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
     table.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 56F));
     table.Size     = new System.Drawing.Size(213, 81);
     table.TabIndex = 3;
     //
     // flowButtons
     //
     table.SetColumnSpan(flowButtons, 2);
     flowButtons.Controls.Add(this.okButton);
     flowButtons.Controls.Add(this.cancelButton);
     flowButtons.Dock          = System.Windows.Forms.DockStyle.Fill;
     flowButtons.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
     flowButtons.Location      = new System.Drawing.Point(0, 50);
     flowButtons.Margin        = new System.Windows.Forms.Padding(0);
     flowButtons.Name          = "flowButtons";
     flowButtons.Size          = new System.Drawing.Size(213, 56);
     flowButtons.TabIndex      = 0;
     //
     // okButton
     //
     this.okButton.Location = new System.Drawing.Point(135, 3);
     this.okButton.Name     = "okButton";
     this.okButton.Size     = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 1;
     this.okButton.Text     = "OK";
     this.okButton.UseVisualStyleBackColor = true;
     this.okButton.Click += new System.EventHandler(this.OkButtonClick);
     //
     // cancelButton
     //
     this.cancelButton.Location = new System.Drawing.Point(54, 3);
     this.cancelButton.Name     = "cancelButton";
     this.cancelButton.Size     = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex = 2;
     this.cancelButton.Text     = "Cancel";
     this.cancelButton.UseVisualStyleBackColor = true;
     this.cancelButton.Click += new System.EventHandler(this.CancelButtonClick);
     //
     // episodeNumber
     //
     this.episodeNumber.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.episodeNumber.Location = new System.Drawing.Point(96, 28);
     this.episodeNumber.Name     = "episodeNumber";
     this.episodeNumber.Size     = new System.Drawing.Size(114, 20);
     this.episodeNumber.TabIndex = 1;
     //
     // seasonNumber
     //
     this.seasonNumber.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.seasonNumber.Location = new System.Drawing.Point(96, 3);
     this.seasonNumber.Name     = "seasonNumber";
     this.seasonNumber.Size     = new System.Drawing.Size(114, 20);
     this.seasonNumber.TabIndex = 0;
     //
     // seasonLabel
     //
     seasonLabel.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     seasonLabel.AutoSize = true;
     seasonLabel.Location = new System.Drawing.Point(6, 6);
     seasonLabel.Name     = "seasonLabel";
     seasonLabel.Size     = new System.Drawing.Size(84, 13);
     seasonLabel.TabIndex = 2;
     seasonLabel.Text     = "Season number:";
     //
     // episodeLabel
     //
     episodeLabel.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     episodeLabel.AutoSize = true;
     episodeLabel.Location = new System.Drawing.Point(4, 31);
     episodeLabel.Name     = "episodeLabel";
     episodeLabel.Size     = new System.Drawing.Size(86, 13);
     episodeLabel.TabIndex = 3;
     episodeLabel.Text     = "Episode number:";
     //
     // NumberInputDialog
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(213, 81);
     this.ControlBox          = false;
     this.Controls.Add(table);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "NumberInputDialog";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Set Episode";
     table.ResumeLayout(false);
     table.PerformLayout();
     flowButtons.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 52
0
        private void InitializeComponent()
        {
            this.BoardListPanel           = new System.Windows.Forms.Panel();
            this.flowLayoutPanelBoardList = new System.Windows.Forms.FlowLayoutPanel();
            this.ButtonAddBoard           = new MyCustomControl.RoundedButton();
            this.LBBoard        = new System.Windows.Forms.Label();
            this.MinimizeButton = new System.Windows.Forms.Button();
            this.ListListPanel  = new System.Windows.Forms.Panel();
            this.ButtonAddList  = new MyCustomControl.RoundedButton();
            this.BoardListPanel.SuspendLayout();
            this.flowLayoutPanelBoardList.SuspendLayout();
            this.ListListPanel.SuspendLayout();
            this.SuspendLayout();
            //
            // BoardListPanel
            //
            this.BoardListPanel.AutoScroll = true;
            this.BoardListPanel.BackColor  = System.Drawing.SystemColors.ControlLight;
            this.BoardListPanel.Controls.Add(this.flowLayoutPanelBoardList);
            this.BoardListPanel.Controls.Add(this.LBBoard);
            this.BoardListPanel.Controls.Add(this.MinimizeButton);
            this.BoardListPanel.Location = new System.Drawing.Point(3, 2);
            this.BoardListPanel.Name     = "BoardListPanel";
            this.BoardListPanel.Size     = new System.Drawing.Size(211, 857);
            this.BoardListPanel.TabIndex = 0;
            //
            // flowLayoutPanelBoardList
            //
            this.flowLayoutPanelBoardList.AllowDrop  = true;
            this.flowLayoutPanelBoardList.AutoScroll = true;
            this.flowLayoutPanelBoardList.BackColor  = System.Drawing.SystemColors.ControlLight;
            this.flowLayoutPanelBoardList.Controls.Add(this.ButtonAddBoard);
            this.flowLayoutPanelBoardList.Location   = new System.Drawing.Point(5, 42);
            this.flowLayoutPanelBoardList.Name       = "flowLayoutPanelBoardList";
            this.flowLayoutPanelBoardList.Size       = new System.Drawing.Size(203, 812);
            this.flowLayoutPanelBoardList.TabIndex   = 3;
            this.flowLayoutPanelBoardList.DragDrop  += new System.Windows.Forms.DragEventHandler(this.flowLayoutPanelBoardList_DragDrop);
            this.flowLayoutPanelBoardList.DragEnter += new System.Windows.Forms.DragEventHandler(this.flowLayoutPanelBoardList_DragEnter);
            //
            // ButtonAddBoard
            //
            this.ButtonAddBoard.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.ButtonAddBoard.BackColor    = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.ButtonAddBoard.ButtonColor  = System.Drawing.Color.Transparent;
            this.ButtonAddBoard.FlatAppearance.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.ButtonAddBoard.FlatAppearance.BorderSize         = 0;
            this.ButtonAddBoard.FlatAppearance.MouseDownBackColor = System.Drawing.Color.IndianRed;
            this.ButtonAddBoard.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightCoral;
            this.ButtonAddBoard.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
            this.ButtonAddBoard.Font                    = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.ButtonAddBoard.Image                   = global::Board.Properties.Resources.AddIcon;
            this.ButtonAddBoard.Location                = new System.Drawing.Point(3, 3);
            this.ButtonAddBoard.Name                    = "ButtonAddBoard";
            this.ButtonAddBoard.OnHoverButtonColor      = System.Drawing.Color.Transparent;
            this.ButtonAddBoard.RoundedRadius           = 2;
            this.ButtonAddBoard.Size                    = new System.Drawing.Size(180, 29);
            this.ButtonAddBoard.TabIndex                = 8;
            this.ButtonAddBoard.UseVisualStyleBackColor = false;
            this.ButtonAddBoard.Click                  += new System.EventHandler(this.ButtonAddBoard_Click);
            //
            // LBBoard
            //
            this.LBBoard.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
            this.LBBoard.Font      = new System.Drawing.Font("Segoe UI", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.LBBoard.Location  = new System.Drawing.Point(6, 7);
            this.LBBoard.Name      = "LBBoard";
            this.LBBoard.Size      = new System.Drawing.Size(159, 32);
            this.LBBoard.TabIndex  = 0;
            this.LBBoard.Text      = "Board";
            this.LBBoard.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // MinimizeButton
            //
            this.MinimizeButton.Font     = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.MinimizeButton.Location = new System.Drawing.Point(171, 7);
            this.MinimizeButton.Name     = "MinimizeButton";
            this.MinimizeButton.Size     = new System.Drawing.Size(37, 33);
            this.MinimizeButton.TabIndex = 3;
            this.MinimizeButton.Text     = "◁";
            this.MinimizeButton.UseVisualStyleBackColor = true;
            this.MinimizeButton.Click += new System.EventHandler(this.MinimizeButton_Click);
            //
            // ListListPanel
            //
            this.ListListPanel.AllowDrop  = true;
            this.ListListPanel.AutoScroll = true;
            this.ListListPanel.BackColor  = System.Drawing.SystemColors.Control;
            this.ListListPanel.Controls.Add(this.ButtonAddList);
            this.ListListPanel.Location   = new System.Drawing.Point(220, 0);
            this.ListListPanel.Name       = "ListListPanel";
            this.ListListPanel.Size       = new System.Drawing.Size(1362, 859);
            this.ListListPanel.TabIndex   = 4;
            this.ListListPanel.DragDrop  += new System.Windows.Forms.DragEventHandler(this.ListListPanel_DragDrop);
            this.ListListPanel.DragEnter += new System.Windows.Forms.DragEventHandler(this.ListListPanel_DragEnter);
            //
            // ButtonAddList
            //
            this.ButtonAddList.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.ButtonAddList.BackColor    = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.ButtonAddList.ButtonColor  = System.Drawing.Color.Transparent;
            this.ButtonAddList.FlatAppearance.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.ButtonAddList.FlatAppearance.BorderSize         = 0;
            this.ButtonAddList.FlatAppearance.MouseDownBackColor = System.Drawing.Color.IndianRed;
            this.ButtonAddList.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightCoral;
            this.ButtonAddList.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
            this.ButtonAddList.Font                    = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.ButtonAddList.Image                   = global::Board.Properties.Resources.AddIcon;
            this.ButtonAddList.Location                = new System.Drawing.Point(13, 10);
            this.ButtonAddList.Name                    = "ButtonAddList";
            this.ButtonAddList.OnHoverButtonColor      = System.Drawing.Color.Transparent;
            this.ButtonAddList.RoundedRadius           = 2;
            this.ButtonAddList.Size                    = new System.Drawing.Size(75, 68);
            this.ButtonAddList.TabIndex                = 9;
            this.ButtonAddList.UseVisualStyleBackColor = false;
            this.ButtonAddList.Click                  += new System.EventHandler(this.ButtonAddList_Click);
            //
            // Board
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(1584, 861);
            this.Controls.Add(this.ListListPanel);
            this.Controls.Add(this.BoardListPanel);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.MaximizeBox     = false;
            this.Name            = "Board";
            this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text            = "Board";
            this.Load           += BoardForm_Load;
            this.BoardListPanel.ResumeLayout(false);
            this.flowLayoutPanelBoardList.ResumeLayout(false);
            this.ListListPanel.ResumeLayout(false);
            this.ResumeLayout(false);

            FlowBoardPanel.Size       = new Size(60, 857);
            FlowBoardPanel.Location   = new Point(0, 0);
            FlowBoardPanel.AutoScroll = true;
            ButtonAddList.Enabled     = false;
        }
Esempio n. 53
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.Windows.Forms.FlowLayoutPanel flowLayoutLaunch;
            this.flowLayoutPanelTopLevel   = new System.Windows.Forms.FlowLayoutPanel();
            this.flowLayoutPanelExclusions = new System.Windows.Forms.FlowLayoutPanel();
            this.checkBoxNoAssets          = new System.Windows.Forms.CheckBox();
            this.checkBoxNoMods            = new System.Windows.Forms.CheckBox();
            this.checkBoxNoWorkshop        = new System.Windows.Forms.CheckBox();
            this.checkBoxLHT = new System.Windows.Forms.CheckBox();
            this.tableLayoutPanelLunchMode         = new System.Windows.Forms.TableLayoutPanel();
            this.radioButtonMainMenu               = new System.Windows.Forms.RadioButton();
            this.radioButtonAssetEditor            = new System.Windows.Forms.RadioButton();
            this.radioButtonLoadSave               = new System.Windows.Forms.RadioButton();
            this.textBoxSavePath                   = new System.Windows.Forms.TextBox();
            this.buttonSavePath                    = new System.Windows.Forms.Button();
            this.radioButtonNewGame                = new System.Windows.Forms.RadioButton();
            this.textBoxMapPath                    = new System.Windows.Forms.TextBox();
            this.buttonMapPath                     = new System.Windows.Forms.Button();
            this.flowLayoutPanelAssetEditorOptions = new System.Windows.Forms.FlowLayoutPanel();
            this.checkBoxNewAsset                  = new System.Windows.Forms.CheckBox();
            this.checkBoxLSM             = new System.Windows.Forms.CheckBox();
            this.flowLayoutPanelLoadMode = new System.Windows.Forms.FlowLayoutPanel();
            this.checkBoxPoke            = new System.Windows.Forms.CheckBox();
            this.checkBoxPhased          = new System.Windows.Forms.CheckBox();
            this.flowLayoutPanelLauncher = new System.Windows.Forms.FlowLayoutPanel();
            this.labelLauncher           = new System.Windows.Forms.Label();
            this.radioButtonSteamExe     = new System.Windows.Forms.RadioButton();
            this.radioButtonCitiesExe    = new System.Windows.Forms.RadioButton();
            this.flowLayoutPanelMono     = new System.Windows.Forms.FlowLayoutPanel();
            this.labelMono = new System.Windows.Forms.Label();
            this.radioButtonReleaseMono    = new System.Windows.Forms.RadioButton();
            this.radioButtonDebugMono      = new System.Windows.Forms.RadioButton();
            this.tableLayoutPanelExtraArgs = new System.Windows.Forms.TableLayoutPanel();
            this.labelExtraArgs            = new System.Windows.Forms.Label();
            this.textBoxExtraArgs          = new System.Windows.Forms.TextBox();
            this.buttonLaunch              = new System.Windows.Forms.Button();
            this.lblNote                   = new System.Windows.Forms.Label();
            this.labelCommand              = new System.Windows.Forms.Label();
            this.btnTerminate              = new System.Windows.Forms.Button();
            flowLayoutLaunch               = new System.Windows.Forms.FlowLayoutPanel();
            this.flowLayoutPanelProfiler   = new System.Windows.Forms.FlowLayoutPanel();
            this.labelCities               = new System.Windows.Forms.Label();
            this.radioButtonReleaseCities  = new System.Windows.Forms.RadioButton();
            this.radioButtonProfilerCities = new System.Windows.Forms.RadioButton();

            this.flowLayoutPanelTopLevel.SuspendLayout();
            this.flowLayoutPanelExclusions.SuspendLayout();
            this.tableLayoutPanelLunchMode.SuspendLayout();
            this.flowLayoutPanelAssetEditorOptions.SuspendLayout();
            this.flowLayoutPanelLoadMode.SuspendLayout();
            this.flowLayoutPanelLauncher.SuspendLayout();
            this.flowLayoutPanelMono.SuspendLayout();
            this.tableLayoutPanelExtraArgs.SuspendLayout();
            flowLayoutLaunch.SuspendLayout();
            flowLayoutPanelProfiler.SuspendLayout();
            this.SuspendLayout();
            //
            // flowLayoutPanelTopLevel
            //
            this.flowLayoutPanelTopLevel.Controls.Add(this.flowLayoutPanelExclusions);
            this.flowLayoutPanelTopLevel.Controls.Add(this.checkBoxLHT);
            this.flowLayoutPanelTopLevel.Controls.Add(this.tableLayoutPanelLunchMode);
            this.flowLayoutPanelTopLevel.Controls.Add(this.flowLayoutPanelLoadMode);
            this.flowLayoutPanelTopLevel.Controls.Add(this.flowLayoutPanelLauncher);
            this.flowLayoutPanelTopLevel.Controls.Add(this.flowLayoutPanelMono);
            this.flowLayoutPanelTopLevel.Controls.Add(this.flowLayoutPanelProfiler);
            this.flowLayoutPanelTopLevel.Controls.Add(this.tableLayoutPanelExtraArgs);
            this.flowLayoutPanelTopLevel.Controls.Add(flowLayoutLaunch);
            this.flowLayoutPanelTopLevel.Controls.Add(this.lblNote);
            this.flowLayoutPanelTopLevel.Dock          = System.Windows.Forms.DockStyle.Fill;
            this.flowLayoutPanelTopLevel.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
            this.flowLayoutPanelTopLevel.Location      = new System.Drawing.Point(0, 0);
            this.flowLayoutPanelTopLevel.Name          = "flowLayoutPanelTopLevel";
            this.flowLayoutPanelTopLevel.Size          = new System.Drawing.Size(508, 440);
            this.flowLayoutPanelTopLevel.TabIndex      = 0;
            this.flowLayoutPanelTopLevel.WrapContents  = false;
            //
            // flowLayoutPanelExclusions
            //
            this.flowLayoutPanelExclusions.AutoSize     = true;
            this.flowLayoutPanelExclusions.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.flowLayoutPanelExclusions.Controls.Add(this.checkBoxNoAssets);
            this.flowLayoutPanelExclusions.Controls.Add(this.checkBoxNoMods);
            this.flowLayoutPanelExclusions.Controls.Add(this.checkBoxNoWorkshop);
            this.flowLayoutPanelExclusions.Location     = new System.Drawing.Point(3, 3);
            this.flowLayoutPanelExclusions.Margin       = new System.Windows.Forms.Padding(3, 3, 3, 13);
            this.flowLayoutPanelExclusions.Name         = "flowLayoutPanelExclusions";
            this.flowLayoutPanelExclusions.Size         = new System.Drawing.Size(270, 25);
            this.flowLayoutPanelExclusions.TabIndex     = 0;
            this.flowLayoutPanelExclusions.WrapContents = false;
            //
            // checkBoxNoAssets
            //
            this.checkBoxNoAssets.AutoSize = true;
            this.checkBoxNoAssets.Location = new System.Drawing.Point(3, 3);
            this.checkBoxNoAssets.Name     = "checkBoxNoAssets";
            this.checkBoxNoAssets.Size     = new System.Drawing.Size(78, 19);
            this.checkBoxNoAssets.TabIndex = 0;
            this.checkBoxNoAssets.Text     = "No Assets";
            this.checkBoxNoAssets.UseVisualStyleBackColor = true;
            //
            // checkBoxNoMods
            //
            this.checkBoxNoMods.AutoSize = true;
            this.checkBoxNoMods.Location = new System.Drawing.Point(87, 3);
            this.checkBoxNoMods.Name     = "checkBoxNoMods";
            this.checkBoxNoMods.Size     = new System.Drawing.Size(75, 19);
            this.checkBoxNoMods.TabIndex = 1;
            this.checkBoxNoMods.Text     = "No Mods";
            this.checkBoxNoMods.UseVisualStyleBackColor = true;
            //
            // checkBoxNoWorkshop
            //
            this.checkBoxNoWorkshop.AutoSize = true;
            this.checkBoxNoWorkshop.Location = new System.Drawing.Point(168, 3);
            this.checkBoxNoWorkshop.Name     = "checkBoxNoWorkshop";
            this.checkBoxNoWorkshop.Size     = new System.Drawing.Size(99, 19);
            this.checkBoxNoWorkshop.TabIndex = 2;
            this.checkBoxNoWorkshop.Text     = "No Workshop";
            this.checkBoxNoWorkshop.UseVisualStyleBackColor = true;
            //
            // checkBoxLHT
            //
            this.checkBoxLHT.AutoSize = true;
            this.checkBoxLHT.Location = new System.Drawing.Point(3, 44);
            this.checkBoxLHT.Margin   = new System.Windows.Forms.Padding(3, 3, 3, 13);
            this.checkBoxLHT.Name     = "checkBoxLHT";
            this.checkBoxLHT.Padding  = new System.Windows.Forms.Padding(3);
            this.checkBoxLHT.Size     = new System.Drawing.Size(119, 25);
            this.checkBoxLHT.TabIndex = 1;
            this.checkBoxLHT.Text     = "Left Hand Traffic";
            this.checkBoxLHT.UseVisualStyleBackColor = true;
            //
            // tableLayoutPanelLunchMode
            //
            this.tableLayoutPanelLunchMode.AutoSize     = true;
            this.tableLayoutPanelLunchMode.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.tableLayoutPanelLunchMode.ColumnCount  = 3;
            this.tableLayoutPanelLunchMode.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tableLayoutPanelLunchMode.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanelLunchMode.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tableLayoutPanelLunchMode.Controls.Add(this.radioButtonMainMenu, 0, 0);
            this.tableLayoutPanelLunchMode.Controls.Add(this.radioButtonAssetEditor, 0, 1);
            this.tableLayoutPanelLunchMode.Controls.Add(this.radioButtonLoadSave, 0, 2);
            this.tableLayoutPanelLunchMode.Controls.Add(this.textBoxSavePath, 1, 2);
            this.tableLayoutPanelLunchMode.Controls.Add(this.buttonSavePath, 2, 2);
            this.tableLayoutPanelLunchMode.Controls.Add(this.radioButtonNewGame, 0, 3);
            this.tableLayoutPanelLunchMode.Controls.Add(this.textBoxMapPath, 1, 3);
            this.tableLayoutPanelLunchMode.Controls.Add(this.buttonMapPath, 2, 3);
            this.tableLayoutPanelLunchMode.Controls.Add(this.flowLayoutPanelAssetEditorOptions, 1, 1);
            this.tableLayoutPanelLunchMode.Dock     = System.Windows.Forms.DockStyle.Top;
            this.tableLayoutPanelLunchMode.Location = new System.Drawing.Point(3, 85);
            this.tableLayoutPanelLunchMode.Margin   = new System.Windows.Forms.Padding(3, 3, 3, 13);
            this.tableLayoutPanelLunchMode.Name     = "tableLayoutPanelLunchMode";
            this.tableLayoutPanelLunchMode.RowCount = 4;
            this.tableLayoutPanelLunchMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanelLunchMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanelLunchMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanelLunchMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanelLunchMode.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 18F));
            this.tableLayoutPanelLunchMode.Size     = new System.Drawing.Size(413, 118);
            this.tableLayoutPanelLunchMode.TabIndex = 2;
            //
            // radioButtonMainMenu
            //
            this.radioButtonMainMenu.AutoSize = true;
            this.radioButtonMainMenu.Location = new System.Drawing.Point(3, 3);
            this.radioButtonMainMenu.Name     = "radioButtonMainMenu";
            this.radioButtonMainMenu.Size     = new System.Drawing.Size(86, 19);
            this.radioButtonMainMenu.TabIndex = 5;
            this.radioButtonMainMenu.TabStop  = true;
            this.radioButtonMainMenu.Text     = "Main Menu";
            this.radioButtonMainMenu.UseVisualStyleBackColor = true;
            //
            // radioButtonAssetEditor
            //
            this.radioButtonAssetEditor.AutoSize = true;
            this.radioButtonAssetEditor.Location = new System.Drawing.Point(3, 28);
            this.radioButtonAssetEditor.Name     = "radioButtonAssetEditor";
            this.radioButtonAssetEditor.Size     = new System.Drawing.Size(87, 19);
            this.radioButtonAssetEditor.TabIndex = 5;
            this.radioButtonAssetEditor.TabStop  = true;
            this.radioButtonAssetEditor.Text     = "Asset Editor";
            this.radioButtonAssetEditor.UseVisualStyleBackColor = true;
            //
            // radioButtonLoadSave
            //
            this.radioButtonLoadSave.AutoSize = true;
            this.radioButtonLoadSave.Location = new System.Drawing.Point(3, 59);
            this.radioButtonLoadSave.Name     = "radioButtonLoadSave";
            this.radioButtonLoadSave.Size     = new System.Drawing.Size(78, 19);
            this.radioButtonLoadSave.TabIndex = 5;
            this.radioButtonLoadSave.TabStop  = true;
            this.radioButtonLoadSave.Text     = "Load Save";
            this.radioButtonLoadSave.UseVisualStyleBackColor = true;
            //
            // textBoxSavePath
            //
            this.textBoxSavePath.Dock     = System.Windows.Forms.DockStyle.Top;
            this.textBoxSavePath.Location = new System.Drawing.Point(96, 59);
            this.textBoxSavePath.Name     = "textBoxSavePath";
            this.textBoxSavePath.Size     = new System.Drawing.Size(282, 23);
            this.textBoxSavePath.TabIndex = 0;
            //
            // buttonSavePath
            //
            this.buttonSavePath.AutoSize                = true;
            this.buttonSavePath.AutoSizeMode            = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.buttonSavePath.Location                = new System.Drawing.Point(384, 59);
            this.buttonSavePath.Name                    = "buttonSavePath";
            this.buttonSavePath.Size                    = new System.Drawing.Size(26, 25);
            this.buttonSavePath.TabIndex                = 3;
            this.buttonSavePath.Text                    = "…";
            this.buttonSavePath.UseVisualStyleBackColor = true;
            this.buttonSavePath.Click                  += new System.EventHandler(this.buttonSavePath_Click);
            //
            // radioButtonNewGame
            //
            this.radioButtonNewGame.AutoSize = true;
            this.radioButtonNewGame.Location = new System.Drawing.Point(3, 90);
            this.radioButtonNewGame.Name     = "radioButtonNewGame";
            this.radioButtonNewGame.Size     = new System.Drawing.Size(83, 19);
            this.radioButtonNewGame.TabIndex = 5;
            this.radioButtonNewGame.TabStop  = true;
            this.radioButtonNewGame.Text     = "New Game";
            this.radioButtonNewGame.UseVisualStyleBackColor = true;
            //
            // textBoxMapPath
            //
            this.textBoxMapPath.Dock     = System.Windows.Forms.DockStyle.Top;
            this.textBoxMapPath.Location = new System.Drawing.Point(96, 90);
            this.textBoxMapPath.Name     = "textBoxMapPath";
            this.textBoxMapPath.Size     = new System.Drawing.Size(282, 23);
            this.textBoxMapPath.TabIndex = 0;
            //
            // buttonMapPath
            //
            this.buttonMapPath.AutoSize                = true;
            this.buttonMapPath.AutoSizeMode            = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.buttonMapPath.Location                = new System.Drawing.Point(384, 90);
            this.buttonMapPath.Name                    = "buttonMapPath";
            this.buttonMapPath.Size                    = new System.Drawing.Size(26, 25);
            this.buttonMapPath.TabIndex                = 4;
            this.buttonMapPath.Text                    = "…";
            this.buttonMapPath.UseVisualStyleBackColor = true;
            this.buttonMapPath.Click                  += new System.EventHandler(this.buttonMapPath_Click);
            //
            // flowLayoutPanelAssetEditorOptions
            //
            this.flowLayoutPanelAssetEditorOptions.AutoSize     = true;
            this.flowLayoutPanelAssetEditorOptions.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.flowLayoutPanelAssetEditorOptions.Controls.Add(this.checkBoxNewAsset);
            this.flowLayoutPanelAssetEditorOptions.Controls.Add(this.checkBoxLSM);
            this.flowLayoutPanelAssetEditorOptions.Location = new System.Drawing.Point(96, 28);
            this.flowLayoutPanelAssetEditorOptions.Name     = "flowLayoutPanelAssetEditorOptions";
            this.flowLayoutPanelAssetEditorOptions.Size     = new System.Drawing.Size(111, 25);
            this.flowLayoutPanelAssetEditorOptions.TabIndex = 6;
            //
            // checkBoxNewAsset
            //
            this.checkBoxNewAsset.AutoSize = true;
            this.checkBoxNewAsset.Location = new System.Drawing.Point(3, 3);
            this.checkBoxNewAsset.Name     = "checkBoxNewAsset";
            this.checkBoxNewAsset.Size     = new System.Drawing.Size(50, 19);
            this.checkBoxNewAsset.TabIndex = 0;
            this.checkBoxNewAsset.Text     = "New";
            this.checkBoxNewAsset.UseVisualStyleBackColor = true;
            //
            // checkBoxLSM
            //
            this.checkBoxLSM.AutoSize = true;
            this.checkBoxLSM.Location = new System.Drawing.Point(59, 3);
            this.checkBoxLSM.Name     = "checkBoxLSM";
            this.checkBoxLSM.Size     = new System.Drawing.Size(49, 19);
            this.checkBoxLSM.TabIndex = 1;
            this.checkBoxLSM.Text     = "LSM";
            this.checkBoxLSM.UseVisualStyleBackColor = true;
            //
            // flowLayoutPanelLoadMode
            //
            this.flowLayoutPanelLoadMode.AutoSize     = true;
            this.flowLayoutPanelLoadMode.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.flowLayoutPanelLoadMode.Controls.Add(this.checkBoxPoke);
            this.flowLayoutPanelLoadMode.Controls.Add(this.checkBoxPhased);
            this.flowLayoutPanelLoadMode.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
            this.flowLayoutPanelLoadMode.Location      = new System.Drawing.Point(3, 219);
            this.flowLayoutPanelLoadMode.Name          = "flowLayoutPanelLoadMode";
            this.flowLayoutPanelLoadMode.Size          = new System.Drawing.Size(128, 25);
            this.flowLayoutPanelLoadMode.TabIndex      = 6;
            //
            // checkBoxPoke
            //
            this.checkBoxPoke.AutoSize = true;
            this.checkBoxPoke.Location = new System.Drawing.Point(73, 3);
            this.checkBoxPoke.Name     = "checkBoxPoke";
            this.checkBoxPoke.Size     = new System.Drawing.Size(52, 19);
            this.checkBoxPoke.TabIndex = 3;
            this.checkBoxPoke.Text     = "Poke";
            this.checkBoxPoke.UseVisualStyleBackColor = true;
            //
            // checkBoxPhased
            //
            this.checkBoxPhased.AutoSize = true;
            this.checkBoxPhased.Location = new System.Drawing.Point(3, 3);
            this.checkBoxPhased.Name     = "checkBoxPhased";
            this.checkBoxPhased.Size     = new System.Drawing.Size(64, 19);
            this.checkBoxPhased.TabIndex = 4;
            this.checkBoxPhased.Text     = "Phased";
            this.checkBoxPhased.UseVisualStyleBackColor = true;
            //
            // flowLayoutPanelLauncher
            //
            this.flowLayoutPanelLauncher.AutoSize     = true;
            this.flowLayoutPanelLauncher.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.flowLayoutPanelLauncher.Controls.Add(this.labelLauncher);
            this.flowLayoutPanelLauncher.Controls.Add(this.radioButtonSteamExe);
            this.flowLayoutPanelLauncher.Controls.Add(this.radioButtonCitiesExe);
            this.flowLayoutPanelLauncher.Location     = new System.Drawing.Point(3, 260);
            this.flowLayoutPanelLauncher.Margin       = new System.Windows.Forms.Padding(3, 13, 3, 3);
            this.flowLayoutPanelLauncher.Name         = "flowLayoutPanelLauncher";
            this.flowLayoutPanelLauncher.Size         = new System.Drawing.Size(234, 25);
            this.flowLayoutPanelLauncher.TabIndex     = 7;
            this.flowLayoutPanelLauncher.WrapContents = false;
            //
            // labelLauncher
            //
            this.labelLauncher.Anchor   = System.Windows.Forms.AnchorStyles.Left;
            this.labelLauncher.AutoSize = true;
            this.labelLauncher.Location = new System.Drawing.Point(3, 5);
            this.labelLauncher.Name     = "labelLauncher";
            this.labelLauncher.Size     = new System.Drawing.Size(62, 15);
            this.labelLauncher.TabIndex = 2;
            this.labelLauncher.Text     = "Launcher: ";
            //
            // radioButtonSteamExe
            //
            this.radioButtonSteamExe.AutoSize = true;
            this.radioButtonSteamExe.Location = new System.Drawing.Point(71, 3);
            this.radioButtonSteamExe.Name     = "radioButtonSteamExe";
            this.radioButtonSteamExe.Size     = new System.Drawing.Size(79, 19);
            this.radioButtonSteamExe.TabIndex = 1;
            this.radioButtonSteamExe.TabStop  = true;
            this.radioButtonSteamExe.Text     = DataLocation.SteamExe;
            this.radioButtonSteamExe.UseVisualStyleBackColor = true;
            //
            // radioButtonCitiesExe
            //
            this.radioButtonCitiesExe.AutoSize = true;
            this.radioButtonCitiesExe.Location = new System.Drawing.Point(156, 3);
            this.radioButtonCitiesExe.Name     = "radioButtonCitiesExe";
            this.radioButtonCitiesExe.Size     = new System.Drawing.Size(75, 19);
            this.radioButtonCitiesExe.TabIndex = 0;
            this.radioButtonCitiesExe.TabStop  = true;
            this.radioButtonCitiesExe.Text     = DataLocation.CitiesExe;
            this.radioButtonCitiesExe.UseVisualStyleBackColor = true;
            //
            // flowLayoutPanelMono
            //
            this.flowLayoutPanelMono.AutoSize     = true;
            this.flowLayoutPanelMono.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.flowLayoutPanelMono.Controls.Add(this.labelMono);
            this.flowLayoutPanelMono.Controls.Add(this.radioButtonReleaseMono);
            this.flowLayoutPanelMono.Controls.Add(this.radioButtonDebugMono);
            this.flowLayoutPanelMono.Margin       = new System.Windows.Forms.Padding(3, 0, 3, 3);
            this.flowLayoutPanelMono.Name         = "flowLayoutPanelMono";
            this.flowLayoutPanelMono.TabIndex     = 8;
            this.flowLayoutPanelMono.WrapContents = false;
            //
            // labelMono
            //
            this.labelMono.Anchor   = System.Windows.Forms.AnchorStyles.Left;
            this.labelMono.AutoSize = true;
            this.labelMono.Name     = "labelMono";
            this.labelMono.TabIndex = 2;
            this.labelMono.Text     = "Mono: ";
            //
            // radioButtonReleaseMono
            //
            this.radioButtonReleaseMono.AutoSize = true;
            this.radioButtonReleaseMono.Name     = "radioButtonReleaseMono";
            this.radioButtonReleaseMono.TabIndex = 0;
            this.radioButtonReleaseMono.TabStop  = true;
            this.radioButtonReleaseMono.Text     = "Release Mode (faster)";
            this.radioButtonReleaseMono.UseVisualStyleBackColor = true;
            //
            // radioButtonDebugMono
            //
            this.radioButtonDebugMono.AutoSize = true;
            this.radioButtonDebugMono.Name     = "radioButtonDebugMono";
            this.radioButtonDebugMono.TabIndex = 1;
            this.radioButtonDebugMono.TabStop  = true;
            this.radioButtonDebugMono.Text     = "Debug Mode (better logs)";
            this.radioButtonDebugMono.UseVisualStyleBackColor = true;
            //
            // flowLayoutPanelProfiler
            //
            this.flowLayoutPanelProfiler.AutoSize     = true;
            this.flowLayoutPanelProfiler.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.flowLayoutPanelProfiler.Controls.Add(this.labelCities);
            this.flowLayoutPanelProfiler.Controls.Add(this.radioButtonReleaseCities);
            this.flowLayoutPanelProfiler.Controls.Add(this.radioButtonProfilerCities);
            this.flowLayoutPanelProfiler.Margin       = new System.Windows.Forms.Padding(3, 0, 3, 3);
            this.flowLayoutPanelProfiler.Name         = "flowLayoutPanelProfiler";
            this.flowLayoutPanelProfiler.TabIndex     = 9;
            this.flowLayoutPanelProfiler.WrapContents = false;
            //
            // labelCities
            //
            this.labelCities.Anchor   = System.Windows.Forms.AnchorStyles.Left;
            this.labelCities.AutoSize = true;
            this.labelCities.Name     = "labelCities";
            this.labelCities.TabIndex = 2;
            this.labelCities.Text     = "Cities.exe";
            //
            // radioButtonReleaseCities
            //
            this.radioButtonReleaseCities.AutoSize = true;
            this.radioButtonReleaseCities.Name     = "radioButtonReleaseCities";
            this.radioButtonReleaseCities.TabIndex = 0;
            this.radioButtonReleaseCities.TabStop  = true;
            this.radioButtonReleaseCities.Text     = "Release Mode (faster)";
            this.radioButtonReleaseCities.UseVisualStyleBackColor = true;
            //
            // radioButtonProfilerCities
            //
            this.radioButtonProfilerCities.AutoSize = true;
            this.radioButtonProfilerCities.Name     = "radioButtonProfilerCities";
            this.radioButtonProfilerCities.TabIndex = 1;
            this.radioButtonProfilerCities.TabStop  = true;
            this.radioButtonProfilerCities.Text     = "Unity Profiler Mode";
            this.radioButtonProfilerCities.UseVisualStyleBackColor = true;
            //
            // tableLayoutPanelExtraArgs
            //
            this.tableLayoutPanelExtraArgs.AutoSize    = true;
            this.tableLayoutPanelExtraArgs.ColumnCount = 2;
            this.tableLayoutPanelExtraArgs.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tableLayoutPanelExtraArgs.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanelExtraArgs.Controls.Add(this.labelExtraArgs, 0, 0);
            this.tableLayoutPanelExtraArgs.Controls.Add(this.textBoxExtraArgs, 1, 0);
            this.tableLayoutPanelExtraArgs.Dock     = System.Windows.Forms.DockStyle.Top;
            this.tableLayoutPanelExtraArgs.Location = new System.Drawing.Point(3, 319);
            this.tableLayoutPanelExtraArgs.Name     = "tableLayoutPanelExtraArgs";
            this.tableLayoutPanelExtraArgs.RowCount = 1;
            this.tableLayoutPanelExtraArgs.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanelExtraArgs.Size     = new System.Drawing.Size(413, 29);
            this.tableLayoutPanelExtraArgs.TabIndex = 10;
            //
            // labelExtraArgs
            //
            this.labelExtraArgs.Anchor   = System.Windows.Forms.AnchorStyles.Left;
            this.labelExtraArgs.AutoSize = true;
            this.labelExtraArgs.Location = new System.Drawing.Point(3, 7);
            this.labelExtraArgs.Name     = "labelExtraArgs";
            this.labelExtraArgs.Size     = new System.Drawing.Size(95, 15);
            this.labelExtraArgs.TabIndex = 0;
            this.labelExtraArgs.Text     = "Extra Arguments";
            //
            // textBoxExtraArgs
            //
            this.textBoxExtraArgs.Dock     = System.Windows.Forms.DockStyle.Top;
            this.textBoxExtraArgs.Location = new System.Drawing.Point(104, 3);
            this.textBoxExtraArgs.Name     = "textBoxExtraArgs";
            this.textBoxExtraArgs.Size     = new System.Drawing.Size(306, 23);
            this.textBoxExtraArgs.TabIndex = 1;
            //
            // buttonLaunch
            //
            this.buttonLaunch.AutoSize                = true;
            this.buttonLaunch.AutoSizeMode            = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.buttonLaunch.Location                = new System.Drawing.Point(3, 4);
            this.buttonLaunch.Margin                  = new System.Windows.Forms.Padding(3, 4, 3, 3);
            this.buttonLaunch.Name                    = "buttonLaunch";
            this.buttonLaunch.Size                    = new System.Drawing.Size(133, 25);
            this.buttonLaunch.TabIndex                = 5;
            this.buttonLaunch.Text                    = "Launch Cities Skylines";
            this.buttonLaunch.UseVisualStyleBackColor = true;
            this.buttonLaunch.Click                  += new System.EventHandler(this.buttonLaunch_Click);
            //
            // lblNote
            //
            this.lblNote.AutoSize = true;
            this.lblNote.Location = new System.Drawing.Point(3, 389);
            this.lblNote.Name     = "lblNote";
            this.lblNote.Size     = new System.Drawing.Size(220, 15);
            this.lblNote.TabIndex = 9;
            this.lblNote.Text     = "?: hover over components for more info.";
            //
            // labelCommand
            //
            this.labelCommand.Dock     = System.Windows.Forms.DockStyle.Bottom;
            this.labelCommand.Location = new System.Drawing.Point(0, 425);
            this.labelCommand.Name     = "labelCommand";
            this.labelCommand.Size     = new System.Drawing.Size(508, 15);
            this.labelCommand.TabIndex = 6;
            this.labelCommand.Text     = "command";
            //
            // flowLayoutLaunch
            //
            flowLayoutLaunch.AutoSize     = true;
            flowLayoutLaunch.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            flowLayoutLaunch.Controls.Add(this.buttonLaunch);
            flowLayoutLaunch.Controls.Add(this.btnTerminate);
            flowLayoutLaunch.Location     = new System.Drawing.Point(3, 354);
            flowLayoutLaunch.Name         = "flowLayoutLaunch";
            flowLayoutLaunch.Size         = new System.Drawing.Size(291, 32);
            flowLayoutLaunch.TabIndex     = 11;
            flowLayoutLaunch.WrapContents = false;
            //
            // btnTerminate
            //
            this.btnTerminate.AutoSize                = true;
            this.btnTerminate.AutoSizeMode            = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.btnTerminate.Location                = new System.Drawing.Point(142, 4);
            this.btnTerminate.Margin                  = new System.Windows.Forms.Padding(3, 4, 3, 3);
            this.btnTerminate.Name                    = "btnTerminate";
            this.btnTerminate.Size                    = new System.Drawing.Size(146, 25);
            this.btnTerminate.TabIndex                = 6;
            this.btnTerminate.Text                    = "Terminate Cities Skylines";
            this.btnTerminate.UseVisualStyleBackColor = true;
            this.btnTerminate.Click                  += new System.EventHandler(this.btnTerminate_Click);
            //
            // LaunchControl
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.labelCommand);
            this.Controls.Add(this.flowLayoutPanelTopLevel);
            this.Name = "LaunchControl";
            this.Size = new System.Drawing.Size(508, 440);
            this.flowLayoutPanelTopLevel.ResumeLayout(false);
            this.flowLayoutPanelTopLevel.PerformLayout();
            this.flowLayoutPanelExclusions.ResumeLayout(false);
            this.flowLayoutPanelExclusions.PerformLayout();
            this.tableLayoutPanelLunchMode.ResumeLayout(false);
            this.tableLayoutPanelLunchMode.PerformLayout();
            this.flowLayoutPanelAssetEditorOptions.ResumeLayout(false);
            this.flowLayoutPanelAssetEditorOptions.PerformLayout();
            this.flowLayoutPanelLoadMode.ResumeLayout(false);
            this.flowLayoutPanelLoadMode.PerformLayout();
            this.flowLayoutPanelLauncher.ResumeLayout(false);
            this.flowLayoutPanelLauncher.PerformLayout();
            this.flowLayoutPanelMono.ResumeLayout(false);
            this.flowLayoutPanelMono.PerformLayout();
            this.flowLayoutPanelProfiler.ResumeLayout(false);
            this.flowLayoutPanelProfiler.PerformLayout();
            this.tableLayoutPanelExtraArgs.ResumeLayout(false);
            this.tableLayoutPanelExtraArgs.PerformLayout();
            flowLayoutLaunch.ResumeLayout(false);
            flowLayoutLaunch.PerformLayout();
            this.ResumeLayout(false);
        }
Esempio n. 54
0
 //NOTE: The following procedure is required by the Windows Form Designer
 //It can be modified using the Windows Form Designer.
 //Do not modify it using the code editor.
 [System.Diagnostics.DebuggerStepThrough()] private void InitializeComponent()
 {
     System.Windows.Forms.TableLayoutPanel TableLayoutPanel1;
     System.Windows.Forms.ColumnHeader     ColumnHeader1;
     System.Windows.Forms.ColumnHeader     ColumnHeader2;
     System.Windows.Forms.ColumnHeader     ColumnHeader3;
     System.Windows.Forms.ColumnHeader     ColumnHeader4;
     System.Windows.Forms.FlowLayoutPanel  FlowLayoutPanel1;
     this.lstDeltas           = new System.Windows.Forms.ListBox();
     this.lstValues           = new System.Windows.Forms.ListView();
     this.chkDisplayUnchanged = new System.Windows.Forms.CheckBox();
     this.btnCancel           = new System.Windows.Forms.Button();
     this.btnDelete           = new System.Windows.Forms.Button();
     this.btnSave             = new System.Windows.Forms.Button();
     this.lblID        = new System.Windows.Forms.Label();
     this.dlgSave      = new System.Windows.Forms.SaveFileDialog();
     TableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     ColumnHeader1     = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     ColumnHeader2     = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     ColumnHeader3     = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     ColumnHeader4     = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     FlowLayoutPanel1  = new System.Windows.Forms.FlowLayoutPanel();
     TableLayoutPanel1.SuspendLayout();
     FlowLayoutPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // TableLayoutPanel1
     //
     TableLayoutPanel1.ColumnCount = 1;
     TableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     TableLayoutPanel1.Controls.Add(this.lstDeltas, 0, 0);
     TableLayoutPanel1.Controls.Add(this.lstValues, 0, 2);
     TableLayoutPanel1.Controls.Add(this.chkDisplayUnchanged, 0, 3);
     TableLayoutPanel1.Controls.Add(FlowLayoutPanel1, 0, 4);
     TableLayoutPanel1.Controls.Add(this.lblID, 0, 1);
     TableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     TableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     TableLayoutPanel1.Name     = "TableLayoutPanel1";
     TableLayoutPanel1.RowCount = 6;
     TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     TableLayoutPanel1.Size     = new System.Drawing.Size(600, 534);
     TableLayoutPanel1.TabIndex = 1;
     //
     // lstDeltas
     //
     this.lstDeltas.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lstDeltas.FormattingEnabled = true;
     this.lstDeltas.Location          = new System.Drawing.Point(3, 3);
     this.lstDeltas.Name                  = "lstDeltas";
     this.lstDeltas.Size                  = new System.Drawing.Size(594, 222);
     this.lstDeltas.TabIndex              = 1;
     this.lstDeltas.SelectedIndexChanged += new System.EventHandler(this.lstDeltas_SelectedIndexChanged);
     //
     // lstValues
     //
     this.lstValues.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         ColumnHeader1,
         ColumnHeader2,
         ColumnHeader3,
         ColumnHeader4
     });
     this.lstValues.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.lstValues.FullRowSelect = true;
     this.lstValues.HeaderStyle   = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.lstValues.HideSelection = false;
     this.lstValues.Location      = new System.Drawing.Point(3, 251);
     this.lstValues.MultiSelect   = false;
     this.lstValues.Name          = "lstValues";
     this.lstValues.Size          = new System.Drawing.Size(594, 222);
     this.lstValues.TabIndex      = 2;
     this.lstValues.UseCompatibleStateImageBehavior = false;
     this.lstValues.View = System.Windows.Forms.View.Details;
     this.lstValues.SelectedIndexChanged += new System.EventHandler(this.lstValues_SelectedIndexChanged);
     //
     // ColumnHeader1
     //
     ColumnHeader1.Text  = "Key";
     ColumnHeader1.Width = 150;
     //
     // ColumnHeader2
     //
     ColumnHeader2.Text  = "Old value";
     ColumnHeader2.Width = 100;
     //
     // ColumnHeader3
     //
     ColumnHeader3.Text  = "New value";
     ColumnHeader3.Width = 100;
     //
     // ColumnHeader4
     //
     ColumnHeader4.Text = "Descriptor";
     //
     // chkDisplayUnchanged
     //
     this.chkDisplayUnchanged.AutoSize = true;
     this.chkDisplayUnchanged.Location = new System.Drawing.Point(3, 479);
     this.chkDisplayUnchanged.Name     = "chkDisplayUnchanged";
     this.chkDisplayUnchanged.Size     = new System.Drawing.Size(290, 17);
     this.chkDisplayUnchanged.TabIndex = 3;
     this.chkDisplayUnchanged.Text     = "List all values (including those which have not changed)";
     this.chkDisplayUnchanged.UseVisualStyleBackColor = true;
     this.chkDisplayUnchanged.CheckedChanged         += new System.EventHandler(this.lstDeltas_SelectedIndexChanged);
     //
     // FlowLayoutPanel1
     //
     FlowLayoutPanel1.AutoSize = true;
     FlowLayoutPanel1.Controls.Add(this.btnCancel);
     FlowLayoutPanel1.Controls.Add(this.btnDelete);
     FlowLayoutPanel1.Controls.Add(this.btnSave);
     FlowLayoutPanel1.Dock        = System.Windows.Forms.DockStyle.Fill;
     FlowLayoutPanel1.Location    = new System.Drawing.Point(0, 499);
     FlowLayoutPanel1.Margin      = new System.Windows.Forms.Padding(0);
     FlowLayoutPanel1.Name        = "FlowLayoutPanel1";
     FlowLayoutPanel1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     FlowLayoutPanel1.Size        = new System.Drawing.Size(600, 35);
     FlowLayoutPanel1.TabIndex    = 4;
     //
     // btnCancel
     //
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Font                    = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnCancel.Location                = new System.Drawing.Point(503, 3);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(94, 29);
     this.btnCancel.TabIndex                = 0;
     this.btnCancel.Text                    = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     //
     // btnDelete
     //
     this.btnDelete.Enabled  = false;
     this.btnDelete.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnDelete.Location = new System.Drawing.Point(359, 3);
     this.btnDelete.Margin   = new System.Windows.Forms.Padding(20, 3, 3, 3);
     this.btnDelete.Name     = "btnDelete";
     this.btnDelete.Size     = new System.Drawing.Size(121, 29);
     this.btnDelete.TabIndex = 1;
     this.btnDelete.Text     = "Delete value";
     this.btnDelete.UseVisualStyleBackColor = true;
     this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
     //
     // btnSave
     //
     this.btnSave.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnSave.Location = new System.Drawing.Point(216, 3);
     this.btnSave.Margin   = new System.Windows.Forms.Padding(12, 3, 3, 3);
     this.btnSave.Name     = "btnSave";
     this.btnSave.Size     = new System.Drawing.Size(128, 29);
     this.btnSave.TabIndex = 2;
     this.btnSave.Text     = "Save delta file";
     this.btnSave.UseVisualStyleBackColor = true;
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // lblID
     //
     this.lblID.AutoSize = true;
     this.lblID.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.lblID.Location = new System.Drawing.Point(3, 228);
     this.lblID.Name     = "lblID";
     this.lblID.Size     = new System.Drawing.Size(594, 20);
     this.lblID.TabIndex = 6;
     //
     // dlgSave
     //
     this.dlgSave.DefaultExt       = "delta";
     this.dlgSave.Filter           = "*.delta|*.delta";
     this.dlgSave.RestoreDirectory = true;
     //
     // frmDeltas
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(600, 534);
     this.Controls.Add(TableLayoutPanel1);
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.MinimumSize   = new System.Drawing.Size(500, 400);
     this.Name          = "frmDeltas";
     this.ShowIcon      = false;
     this.ShowInTaskbar = false;
     this.Text          = "Configuration deltas";
     TableLayoutPanel1.ResumeLayout(false);
     TableLayoutPanel1.PerformLayout();
     FlowLayoutPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 55
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.bottomPanel  = new System.Windows.Forms.Panel();
     this.cancelButton = new System.Windows.Forms.Button();
     this.okButton     = new System.Windows.Forms.Button();
     this.argsPanel    = new System.Windows.Forms.FlowLayoutPanel();
     this.bottomPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // bottomPanel
     //
     this.bottomPanel.Controls.Add(this.cancelButton);
     this.bottomPanel.Controls.Add(this.okButton);
     this.bottomPanel.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.bottomPanel.Location = new System.Drawing.Point(0, 25);
     this.bottomPanel.Name     = "bottomPanel";
     this.bottomPanel.Size     = new System.Drawing.Size(282, 32);
     this.bottomPanel.TabIndex = 1;
     //
     // cancelButton
     //
     this.cancelButton.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.FlatStyle               = System.Windows.Forms.FlatStyle.System;
     this.cancelButton.Location                = new System.Drawing.Point(147, 1);
     this.cancelButton.Name                    = "cancelButton";
     this.cancelButton.Size                    = new System.Drawing.Size(75, 21);
     this.cancelButton.TabIndex                = 1;
     this.cancelButton.Text                    = "&Cancel";
     this.cancelButton.UseVisualStyleBackColor = true;
     this.cancelButton.Click                  += new System.EventHandler(this.CancelButtonClick);
     //
     // okButton
     //
     this.okButton.DialogResult            = System.Windows.Forms.DialogResult.OK;
     this.okButton.FlatStyle               = System.Windows.Forms.FlatStyle.System;
     this.okButton.Location                = new System.Drawing.Point(61, 1);
     this.okButton.Name                    = "okButton";
     this.okButton.Size                    = new System.Drawing.Size(75, 21);
     this.okButton.TabIndex                = 0;
     this.okButton.Text                    = "&OK";
     this.okButton.UseVisualStyleBackColor = true;
     this.okButton.Click                  += new System.EventHandler(this.OkButtonClick);
     //
     // argsPanel
     //
     this.argsPanel.AutoSize      = true;
     this.argsPanel.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.argsPanel.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
     this.argsPanel.Location      = new System.Drawing.Point(0, 0);
     this.argsPanel.Name          = "argsPanel";
     this.argsPanel.Padding       = new System.Windows.Forms.Padding(2, 9, 7, 5);
     this.argsPanel.Size          = new System.Drawing.Size(282, 25);
     this.argsPanel.TabIndex      = 2;
     //
     // ArgReplaceDialog
     //
     this.AcceptButton        = this.okButton;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll          = true;
     this.AutoSize            = true;
     this.CancelButton        = this.cancelButton;
     this.ClientSize          = new System.Drawing.Size(282, 57);
     this.Controls.Add(this.argsPanel);
     this.Controls.Add(this.bottomPanel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "ArgReplaceDialog";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = " Replace Variables";
     this.Activated      += new System.EventHandler(this.OnDialogActivated);
     this.bottomPanel.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 56
0
        void LoadItems()
        {
            itvs.Profile.Config obj_Config = new  itvs.Profile.Config(@"Resources\Plugins.config");
            obj_Config.GroupName = "Plugins";
            //find all plugin name in appconfig
            string[] pluginNames = obj_Config.GetSectionNames();
            ipi = new IPlugin[pluginNames.Length];

            for (int i = 0; i < pluginNames.Length; i++)
            {
                //get file assembly from each entry in app config
                string pluginFile = "" + obj_Config.GetValue(pluginNames[i], "Assembly");
                //namespace
                string args = pluginFile.Substring(
                    pluginFile.LastIndexOf("\\") + 1,
                    pluginFile.IndexOf(".dll") -
                    pluginFile.LastIndexOf("\\") - 1);

                Type ObjType = null;
                //IPlugin ipi;
                // load the dll
                // load it
                Assembly ass = null;
                try
                {
                    ass = Assembly.Load(args);
                    if (ass != null)
                    {
                        ObjType = ass.GetType("" + obj_Config.GetValue(pluginNames[i], "PluginType"));
                    }
                    else
                    {
                        MessageBox.Show("CannotFindAssembly: " + ass.FullName);
                    }
                }
                catch (Exception ex)
                {
                    itvs.Windows.Forms.MessageDialog.Show(ex.Message + ex.Message + ex.Message, ex.ToString(), "LoadPlugin");
                    //ExceptionLogger.LogException1(ex);
                    continue;
                }

                try
                {
                    // OK Lets create the object as we have the Report Type
                    if (ObjType != null)
                    {
                        if (!Convert.ToBoolean(obj_Config.GetValue(pluginNames[i], "LoadModule")))
                        {
                            continue;
                        }

                        ipi[i] = (IPlugin)Activator.CreateInstance(ObjType);
                        //assign plugin name
                        ipi[i].Name = pluginNames[i];
                        //PluginItemConfig path
                        ipi[i].PluginItemConfig = "" + obj_Config.GetValue(pluginNames[i], "PluginItemConfig");

                        ipi[i].SetMdiParent(this.MdiParent);
                        itvs.Profile.Config obj_ItemConfig = new  itvs.Profile.Config(ipi[i].PluginItemConfig);
                        obj_ItemConfig.GroupName = "PluginItems";
                        string[] sections = obj_ItemConfig.GetSectionNames();
                        if (sections != null && sections.Length > 0)
                        {
                            foreach (string section in sections)
                            {
                                try
                                {
                                    string tabpane     = "" + obj_ItemConfig.GetValue(section, "TabPane");
                                    string text        = "" + obj_ItemConfig.GetValue(section, "Text");
                                    string description = "" + obj_ItemConfig.GetValue(section, "Description");
                                    string type        = "" + obj_ItemConfig.GetValue(section, "Type");
                                    string iconPath    = "" + obj_ItemConfig.GetValue(section, "Icon");

                                    DevExpress.XtraEditors.LabelControl labelControl = new LabelControl();

                                    labelControl.Appearance.Image                  = Image.FromFile(iconPath);
                                    labelControl.Appearance.ImageAlign             = System.Drawing.ContentAlignment.TopCenter;
                                    labelControl.Appearance.Options.UseImage       = true;
                                    labelControl.Appearance.Options.UseTextOptions = true;
                                    labelControl.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Bottom;
                                    labelControl.ImageAlignToText                  = DevExpress.XtraEditors.ImageAlignToText.TopCenter;
                                    labelControl.Name = section;
                                    labelControl.Size = new System.Drawing.Size(63, 61);
                                    labelControl.Text = text;
                                    labelControl.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
                                    labelControl.AutoSizeMode = LabelAutoSizeMode.Vertical;
                                    labelControl.Cursor       = Cursors.Hand;

                                    labelControl.Click += new EventHandler(ipi[i].BarManager_ItemClick);

                                    int tabindex = Convert.ToInt32("" + htTabIndex[tabpane]);
                                    System.Windows.Forms.FlowLayoutPanel flowLayoutPanel = (System.Windows.Forms.FlowLayoutPanel)xtraTabPanes.TabPages[tabindex].Controls["flow_" + tabpane];
                                    flowLayoutPanel.Controls.Add(labelControl);
                                }
                                catch (Exception ex)
                                {
                                    //MessageBox.Show(ex.Message);
                                    continue;
                                }
                            }
                        }
                    }
                    else
                    {
                        MessageBox.Show("CannotFindPlugin"
                                        + obj_Config.GetValue(pluginNames[i], "PluginType") + " / " + ass.FullName);
                    }
                }
                catch (Exception ex)
                {
                    itvs.Windows.Forms.MessageDialog.Show(ex.Message, ex.ToString(), "LoadPlugin");
                    //ExceptionLogger.LogException1(ex);
                    continue;
                }
            }
        }
Esempio n. 57
0
 /// <summary>
 /// Required method for Designer support - do not modify
 ///   the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.FlowLayoutPanel           buttonsFlow;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ShowSelectDialog));
     this.selectButton = new System.Windows.Forms.Button();
     this.closeButton  = new System.Windows.Forms.Button();
     this.showList     = new System.Windows.Forms.ListBox();
     buttonsFlow       = new System.Windows.Forms.FlowLayoutPanel();
     buttonsFlow.SuspendLayout();
     this.SuspendLayout();
     //
     // buttonsFlow
     //
     buttonsFlow.Controls.Add(this.selectButton);
     buttonsFlow.Controls.Add(this.closeButton);
     buttonsFlow.Dock          = System.Windows.Forms.DockStyle.Bottom;
     buttonsFlow.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
     buttonsFlow.Location      = new System.Drawing.Point(0, 312);
     buttonsFlow.Name          = "buttonsFlow";
     buttonsFlow.Size          = new System.Drawing.Size(221, 30);
     buttonsFlow.TabIndex      = 1;
     //
     // selectButton
     //
     this.selectButton.Location = new System.Drawing.Point(143, 3);
     this.selectButton.Name     = "selectButton";
     this.selectButton.Size     = new System.Drawing.Size(75, 23);
     this.selectButton.TabIndex = 0;
     this.selectButton.Text     = "Select";
     this.selectButton.UseVisualStyleBackColor = true;
     this.selectButton.Click += new System.EventHandler(this.SelectButtonClick);
     //
     // closeButton
     //
     this.closeButton.Location = new System.Drawing.Point(62, 3);
     this.closeButton.Name     = "closeButton";
     this.closeButton.Size     = new System.Drawing.Size(75, 23);
     this.closeButton.TabIndex = 1;
     this.closeButton.Text     = "Close";
     this.closeButton.UseVisualStyleBackColor = true;
     this.closeButton.Click += new System.EventHandler(this.CloseButtonClick);
     //
     // showList
     //
     this.showList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.showList.FormattingEnabled = true;
     this.showList.Location          = new System.Drawing.Point(0, 0);
     this.showList.Name     = "showList";
     this.showList.Size     = new System.Drawing.Size(221, 342);
     this.showList.TabIndex = 0;
     //
     // ShowSelectDialog
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(221, 342);
     this.Controls.Add(buttonsFlow);
     this.Controls.Add(this.showList);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "ShowSelectDialog";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Select Show";
     this.Load         += new System.EventHandler(this.ShowSelectDialogLoad);
     buttonsFlow.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 58
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TopPForm));
     this.nameForm     = new System.Windows.Forms.Label();
     this.playersPanel = new System.Windows.Forms.FlowLayoutPanel();
     this.panel1       = new System.Windows.Forms.Panel();
     this.button4      = new System.Windows.Forms.Button();
     this.button3      = new System.Windows.Forms.Button();
     this.button2      = new System.Windows.Forms.Button();
     this.button1      = new System.Windows.Forms.Button();
     this.button5      = new System.Windows.Forms.Button();
     this.button6      = new System.Windows.Forms.Button();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // nameForm
     //
     this.nameForm.Anchor    = System.Windows.Forms.AnchorStyles.Top;
     this.nameForm.Font      = new System.Drawing.Font("Microsoft Sans Serif", 20F);
     this.nameForm.Location  = new System.Drawing.Point(300, 0);
     this.nameForm.Name      = "nameForm";
     this.nameForm.Size      = new System.Drawing.Size(300, 50);
     this.nameForm.TabIndex  = 0;
     this.nameForm.Text      = "Топ игроков";
     this.nameForm.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // playersPanel
     //
     this.playersPanel.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.playersPanel.AutoScroll = true;
     this.playersPanel.Location   = new System.Drawing.Point(0, 100);
     this.playersPanel.Name       = "playersPanel";
     this.playersPanel.Size       = new System.Drawing.Size(900, 446);
     this.playersPanel.TabIndex   = 0;
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.Controls.Add(this.button4);
     this.panel1.Controls.Add(this.button3);
     this.panel1.Controls.Add(this.button2);
     this.panel1.Controls.Add(this.button1);
     this.panel1.Location = new System.Drawing.Point(500, 53);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(400, 50);
     this.panel1.TabIndex = 1;
     //
     // button4
     //
     this.button4.Location = new System.Drawing.Point(191, 0);
     this.button4.Name     = "button4";
     this.button4.Size     = new System.Drawing.Size(100, 50);
     this.button4.TabIndex = 3;
     this.button4.Text     = "Желтые карточки";
     this.button4.UseVisualStyleBackColor = true;
     this.button4.Click += new System.EventHandler(this.button4_Click);
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(288, 0);
     this.button3.Name     = "button3";
     this.button3.Size     = new System.Drawing.Size(100, 50);
     this.button3.TabIndex = 2;
     this.button3.Text     = "Красные карточки";
     this.button3.UseVisualStyleBackColor = true;
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(96, 0);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(100, 50);
     this.button2.TabIndex = 1;
     this.button2.Text     = "Ассисты";
     this.button2.UseVisualStyleBackColor = true;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(0, 0);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(100, 50);
     this.button1.TabIndex = 0;
     this.button1.Text     = "Голы";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // button5
     //
     this.button5.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.button5.Location = new System.Drawing.Point(0, 546);
     this.button5.Name     = "button5";
     this.button5.Size     = new System.Drawing.Size(138, 54);
     this.button5.TabIndex = 2;
     this.button5.Text     = "Главное меню";
     this.button5.UseVisualStyleBackColor = true;
     this.button5.Click += new System.EventHandler(this.button5_Click);
     //
     // button6
     //
     this.button6.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("button6.BackgroundImage")));
     this.button6.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.button6.Location = new System.Drawing.Point(144, 546);
     this.button6.Name     = "button6";
     this.button6.Size     = new System.Drawing.Size(54, 54);
     this.button6.TabIndex = 3;
     this.button6.UseVisualStyleBackColor = true;
     //
     // TopPForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.MediumSeaGreen;
     this.ClientSize          = new System.Drawing.Size(900, 600);
     this.Controls.Add(this.button6);
     this.Controls.Add(this.button5);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.nameForm);
     this.Controls.Add(this.playersPanel);
     this.Icon  = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name  = "TopPForm";
     this.Text  = "TopPlayers";
     this.Load += new System.EventHandler(this.TopPForm_Load);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 59
0
        public DateControl()
        {
            CanGoBackward         = true;
            CanGoForward          = false;
            this.ParentChanged   += DateControl_ParentChanged;
            Wrapper               = new System.Windows.Forms.FlowLayoutPanel();
            Wrapper.FlowDirection = System.Windows.Forms.FlowDirection.LeftToRight;
            Wrapper.Margin        = System.Windows.Forms.Padding.Empty;
            Wrapper.Dock          = System.Windows.Forms.DockStyle.Fill;
            Year        = new NumericTextBox();
            YearMonth   = new System.Windows.Forms.Label();
            Month       = new NumericTextBox();
            MonthDay    = new System.Windows.Forms.Label();
            Day         = new NumericTextBox();
            this.Enter += Atiran2DateControl_Enter;

            //set Today values

            string today = TodayFullChar();

            Year.Text = today.Substring(0, 4);

            Month.Text = today.Substring(5, 2);

            Day.Text = today.Substring(8, 2);

            Day.TextChanged   += Day_TextChanged;
            Month.TextChanged += Month_TextChanged;

            Day.Leave   += Day_Leave;
            Month.Leave += Month_Leave;
            Year.Leave  += Year_Leave;
            //Year
            Year.TabIndex  = 2;
            Year.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            SetTextBoxWidthAndHeight(Year, 4);
            RemoveMargin(Year);
            RemoveBorder(Year);
            Wrapper.Controls.Add(Year);

            RemoveMargin(YearMonth);
            YearMonth.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            YearMonth.Text      = "/";
            YearMonth.BackColor = Color.White;
            YearMonth.AutoSize  = true;
            Wrapper.Controls.Add(YearMonth);
            Month.TabIndex  = 1;
            Month.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            SetTextBoxWidthAndHeight(Month, 2);
            RemoveBorder(Month);
            RemoveMargin(Month);
            Wrapper.Controls.Add(Month);

            RemoveMargin(MonthDay);
            MonthDay.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            MonthDay.Height    = this.Height;
            MonthDay.Text      = "/";
            MonthDay.BackColor = Color.White;
            MonthDay.AutoSize  = true;

            Wrapper.Controls.Add(MonthDay);
            Day.TabIndex  = 0;
            Day.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            SetTextBoxWidthAndHeight(Day, 2);
            RemoveBorder(Day);
            RemoveMargin(Day);
            Day.Height = this.Height;
            Wrapper.Controls.Add(Day);
            this.Controls.Add(Wrapper);
            this.FontChanged   += DateControl_FontChanged;
            Day.KeyDown        += Day_KeyDown;
            Month.KeyDown      += Month_KeyDown;
            Year.KeyDown       += Year_KeyDown;
            YearMonth.BackColor = Year.LeaveBaCkColor;
            MonthDay.BackColor  = Year.LeaveBaCkColor;
            YearMonth.ForeColor = Year.LeaveForColor;
            MonthDay.ForeColor  = Year.LeaveForColor;
        }
 /// <summary>s
 /// 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.Windows.Forms.Label                     OpacityLabel;
     System.Windows.Forms.ToolStripMenuItem         RestoreWindowMenuItem;
     System.Windows.Forms.ToolStripMenuItem         ExitMenuItem;
     System.Windows.Forms.FlowLayoutPanel           ContentFlowLayoutPanel;
     System.Windows.Forms.Panel                     OpacityPanel;
     System.Windows.Forms.Panel                     ResizeOptionsPanel;
     System.Windows.Forms.Label                     HeigthLabel;
     System.Windows.Forms.Label                     WidthLabel;
     System.Windows.Forms.Panel                     ZoomOptionsPanel;
     System.Windows.Forms.Label                     ZoomFactorLabel;
     System.Windows.Forms.Label                     ZoomAnchorLabel;
     System.Windows.Forms.Panel                     ThumbnailsListPanel;
     System.Windows.Forms.Label                     ThumbnailsListLabel;
     System.Windows.Forms.ToolStripMenuItem         TitleMenuItem;
     System.Windows.Forms.ToolStripSeparator        SeparatorMenuItem;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     this.MinimizeToTrayCheckBox                   = new System.Windows.Forms.CheckBox();
     this.ThumbnailsOpacityScrollBar               = new System.Windows.Forms.HScrollBar();
     this.EnableClientLayoutTrackingCheckBox       = new System.Windows.Forms.CheckBox();
     this.HideActiveClientThumbnailCheckBox        = new System.Windows.Forms.CheckBox();
     this.ShowThumbnailsAlwaysOnTopCheckBox        = new System.Windows.Forms.CheckBox();
     this.HideThumbnailsOnLostFocusCheckBox        = new System.Windows.Forms.CheckBox();
     this.EnablePerClientThumbnailsLayoutsCheckBox = new System.Windows.Forms.CheckBox();
     this.ThumbnailsWidthNumericEdit               = new System.Windows.Forms.NumericUpDown();
     this.ThumbnailsHeightNumericEdit              = new System.Windows.Forms.NumericUpDown();
     this.ZoomAnchorPanel                = new System.Windows.Forms.Panel();
     this.ZoomAanchorNWRadioButton       = new System.Windows.Forms.RadioButton();
     this.ZoomAanchorNRadioButton        = new System.Windows.Forms.RadioButton();
     this.ZoomAanchorNERadioButton       = new System.Windows.Forms.RadioButton();
     this.ZoomAanchorWRadioButton        = new System.Windows.Forms.RadioButton();
     this.ZoomAanchorSERadioButton       = new System.Windows.Forms.RadioButton();
     this.ZoomAanchorCRadioButton        = new System.Windows.Forms.RadioButton();
     this.ZoomAanchorSRadioButton        = new System.Windows.Forms.RadioButton();
     this.ZoomAanchorERadioButton        = new System.Windows.Forms.RadioButton();
     this.ZoomAanchorSWRadioButton       = new System.Windows.Forms.RadioButton();
     this.EnableThumbnailZoomCheckBox    = new System.Windows.Forms.CheckBox();
     this.ThumbnailZoomFactorNumericEdit = new System.Windows.Forms.NumericUpDown();
     this.ShowThumbnailOverlaysCheckBox  = new System.Windows.Forms.CheckBox();
     this.ShowThumbnailFramesCheckBox    = new System.Windows.Forms.CheckBox();
     this.ThumbnailsList    = new System.Windows.Forms.CheckedListBox();
     this.ForumLinkLabel    = new System.Windows.Forms.LinkLabel();
     this.NotifyIcon        = new System.Windows.Forms.NotifyIcon(this.components);
     this.TrayMenu          = new System.Windows.Forms.ContextMenuStrip(this.components);
     OpacityLabel           = new System.Windows.Forms.Label();
     RestoreWindowMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     ExitMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     ContentFlowLayoutPanel = new System.Windows.Forms.FlowLayoutPanel();
     OpacityPanel           = new System.Windows.Forms.Panel();
     ResizeOptionsPanel     = new System.Windows.Forms.Panel();
     HeigthLabel            = new System.Windows.Forms.Label();
     WidthLabel             = new System.Windows.Forms.Label();
     ZoomOptionsPanel       = new System.Windows.Forms.Panel();
     ZoomFactorLabel        = new System.Windows.Forms.Label();
     ZoomAnchorLabel        = new System.Windows.Forms.Label();
     ThumbnailsListPanel    = new System.Windows.Forms.Panel();
     ThumbnailsListLabel    = new System.Windows.Forms.Label();
     TitleMenuItem          = new System.Windows.Forms.ToolStripMenuItem();
     SeparatorMenuItem      = new System.Windows.Forms.ToolStripSeparator();
     ContentFlowLayoutPanel.SuspendLayout();
     OpacityPanel.SuspendLayout();
     ResizeOptionsPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ThumbnailsWidthNumericEdit)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ThumbnailsHeightNumericEdit)).BeginInit();
     ZoomOptionsPanel.SuspendLayout();
     this.ZoomAnchorPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ThumbnailZoomFactorNumericEdit)).BeginInit();
     ThumbnailsListPanel.SuspendLayout();
     this.TrayMenu.SuspendLayout();
     this.SuspendLayout();
     //
     // OpacityLabel
     //
     OpacityLabel.AutoSize = true;
     OpacityLabel.Location = new System.Drawing.Point(2, 5);
     OpacityLabel.Name     = "OpacityLabel";
     OpacityLabel.Size     = new System.Drawing.Size(43, 13);
     OpacityLabel.TabIndex = 0;
     OpacityLabel.Text     = "Opacity";
     //
     // RestoreWindowMenuItem
     //
     RestoreWindowMenuItem.Name   = "RestoreWindowMenuItem";
     RestoreWindowMenuItem.Size   = new System.Drawing.Size(151, 22);
     RestoreWindowMenuItem.Text   = "Restore";
     RestoreWindowMenuItem.Click += new System.EventHandler(this.RestoreMainForm_Handler);
     //
     // ExitMenuItem
     //
     ExitMenuItem.Name   = "ExitMenuItem";
     ExitMenuItem.Size   = new System.Drawing.Size(151, 22);
     ExitMenuItem.Text   = "Exit";
     ExitMenuItem.Click += new System.EventHandler(this.ExitMenuItemClick_Handler);
     //
     // ContentFlowLayoutPanel
     //
     ContentFlowLayoutPanel.BackColor = System.Drawing.SystemColors.Control;
     ContentFlowLayoutPanel.Controls.Add(this.MinimizeToTrayCheckBox);
     ContentFlowLayoutPanel.Controls.Add(OpacityPanel);
     ContentFlowLayoutPanel.Controls.Add(this.EnableClientLayoutTrackingCheckBox);
     ContentFlowLayoutPanel.Controls.Add(this.HideActiveClientThumbnailCheckBox);
     ContentFlowLayoutPanel.Controls.Add(this.ShowThumbnailsAlwaysOnTopCheckBox);
     ContentFlowLayoutPanel.Controls.Add(this.HideThumbnailsOnLostFocusCheckBox);
     ContentFlowLayoutPanel.Controls.Add(this.EnablePerClientThumbnailsLayoutsCheckBox);
     ContentFlowLayoutPanel.Controls.Add(ResizeOptionsPanel);
     ContentFlowLayoutPanel.Controls.Add(ZoomOptionsPanel);
     ContentFlowLayoutPanel.Controls.Add(this.ShowThumbnailOverlaysCheckBox);
     ContentFlowLayoutPanel.Controls.Add(this.ShowThumbnailFramesCheckBox);
     ContentFlowLayoutPanel.Controls.Add(ThumbnailsListPanel);
     ContentFlowLayoutPanel.Controls.Add(this.ForumLinkLabel);
     ContentFlowLayoutPanel.Dock     = System.Windows.Forms.DockStyle.Fill;
     ContentFlowLayoutPanel.Location = new System.Drawing.Point(0, 0);
     ContentFlowLayoutPanel.Name     = "ContentFlowLayoutPanel";
     ContentFlowLayoutPanel.Size     = new System.Drawing.Size(252, 481);
     ContentFlowLayoutPanel.TabIndex = 25;
     //
     // MinimizeToTrayCheckBox
     //
     this.MinimizeToTrayCheckBox.AutoSize = true;
     this.MinimizeToTrayCheckBox.Location = new System.Drawing.Point(3, 3);
     this.MinimizeToTrayCheckBox.Name     = "MinimizeToTrayCheckBox";
     this.MinimizeToTrayCheckBox.Size     = new System.Drawing.Size(139, 17);
     this.MinimizeToTrayCheckBox.TabIndex = 34;
     this.MinimizeToTrayCheckBox.Text     = "Minimize to System Tray";
     this.MinimizeToTrayCheckBox.UseVisualStyleBackColor = true;
     this.MinimizeToTrayCheckBox.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // OpacityPanel
     //
     OpacityPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     OpacityPanel.Controls.Add(this.ThumbnailsOpacityScrollBar);
     OpacityPanel.Controls.Add(OpacityLabel);
     OpacityPanel.Location = new System.Drawing.Point(3, 26);
     OpacityPanel.Name     = "OpacityPanel";
     OpacityPanel.Size     = new System.Drawing.Size(246, 26);
     OpacityPanel.TabIndex = 33;
     //
     // ThumbnailsOpacityScrollBar
     //
     this.ThumbnailsOpacityScrollBar.Location = new System.Drawing.Point(48, 1);
     this.ThumbnailsOpacityScrollBar.Maximum  = 120;
     this.ThumbnailsOpacityScrollBar.Name     = "ThumbnailsOpacityScrollBar";
     this.ThumbnailsOpacityScrollBar.Size     = new System.Drawing.Size(195, 23);
     this.ThumbnailsOpacityScrollBar.TabIndex = 1;
     this.ThumbnailsOpacityScrollBar.Scroll  += new System.Windows.Forms.ScrollEventHandler(this.OptionChanged_Handler);
     //
     // EnableClientLayoutTrackingCheckBox
     //
     this.EnableClientLayoutTrackingCheckBox.AutoSize = true;
     this.EnableClientLayoutTrackingCheckBox.Location = new System.Drawing.Point(3, 58);
     this.EnableClientLayoutTrackingCheckBox.Name     = "EnableClientLayoutTrackingCheckBox";
     this.EnableClientLayoutTrackingCheckBox.Size     = new System.Drawing.Size(127, 17);
     this.EnableClientLayoutTrackingCheckBox.TabIndex = 32;
     this.EnableClientLayoutTrackingCheckBox.Text     = "Track client locations";
     this.EnableClientLayoutTrackingCheckBox.UseVisualStyleBackColor = true;
     this.EnableClientLayoutTrackingCheckBox.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // HideActiveClientThumbnailCheckBox
     //
     this.HideActiveClientThumbnailCheckBox.AutoSize   = true;
     this.HideActiveClientThumbnailCheckBox.Checked    = true;
     this.HideActiveClientThumbnailCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
     this.HideActiveClientThumbnailCheckBox.Location   = new System.Drawing.Point(3, 81);
     this.HideActiveClientThumbnailCheckBox.Name       = "HideActiveClientThumbnailCheckBox";
     this.HideActiveClientThumbnailCheckBox.Size       = new System.Drawing.Size(184, 17);
     this.HideActiveClientThumbnailCheckBox.TabIndex   = 1;
     this.HideActiveClientThumbnailCheckBox.Text       = "Hide preview of active EVE client";
     this.HideActiveClientThumbnailCheckBox.UseVisualStyleBackColor = true;
     this.HideActiveClientThumbnailCheckBox.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ShowThumbnailsAlwaysOnTopCheckBox
     //
     this.ShowThumbnailsAlwaysOnTopCheckBox.AutoSize                = true;
     this.ShowThumbnailsAlwaysOnTopCheckBox.Checked                 = true;
     this.ShowThumbnailsAlwaysOnTopCheckBox.CheckState              = System.Windows.Forms.CheckState.Checked;
     this.ShowThumbnailsAlwaysOnTopCheckBox.Location                = new System.Drawing.Point(3, 104);
     this.ShowThumbnailsAlwaysOnTopCheckBox.Name                    = "ShowThumbnailsAlwaysOnTopCheckBox";
     this.ShowThumbnailsAlwaysOnTopCheckBox.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.ShowThumbnailsAlwaysOnTopCheckBox.Size                    = new System.Drawing.Size(137, 17);
     this.ShowThumbnailsAlwaysOnTopCheckBox.TabIndex                = 8;
     this.ShowThumbnailsAlwaysOnTopCheckBox.Text                    = "Previews always on top";
     this.ShowThumbnailsAlwaysOnTopCheckBox.UseVisualStyleBackColor = true;
     this.ShowThumbnailsAlwaysOnTopCheckBox.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // HideThumbnailsOnLostFocusCheckBox
     //
     this.HideThumbnailsOnLostFocusCheckBox.AutoSize   = true;
     this.HideThumbnailsOnLostFocusCheckBox.Checked    = true;
     this.HideThumbnailsOnLostFocusCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
     this.HideThumbnailsOnLostFocusCheckBox.Location   = new System.Drawing.Point(3, 127);
     this.HideThumbnailsOnLostFocusCheckBox.Name       = "HideThumbnailsOnLostFocusCheckBox";
     this.HideThumbnailsOnLostFocusCheckBox.Size       = new System.Drawing.Size(234, 17);
     this.HideThumbnailsOnLostFocusCheckBox.TabIndex   = 2;
     this.HideThumbnailsOnLostFocusCheckBox.Text       = "Hide previews when EVE client is not active";
     this.HideThumbnailsOnLostFocusCheckBox.UseVisualStyleBackColor = true;
     this.HideThumbnailsOnLostFocusCheckBox.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // EnablePerClientThumbnailsLayoutsCheckBox
     //
     this.EnablePerClientThumbnailsLayoutsCheckBox.AutoSize   = true;
     this.EnablePerClientThumbnailsLayoutsCheckBox.Checked    = true;
     this.EnablePerClientThumbnailsLayoutsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
     this.EnablePerClientThumbnailsLayoutsCheckBox.Location   = new System.Drawing.Point(3, 150);
     this.EnablePerClientThumbnailsLayoutsCheckBox.Name       = "EnablePerClientThumbnailsLayoutsCheckBox";
     this.EnablePerClientThumbnailsLayoutsCheckBox.Size       = new System.Drawing.Size(185, 17);
     this.EnablePerClientThumbnailsLayoutsCheckBox.TabIndex   = 3;
     this.EnablePerClientThumbnailsLayoutsCheckBox.Text       = "Unique layout for each EVE client";
     this.EnablePerClientThumbnailsLayoutsCheckBox.UseVisualStyleBackColor = true;
     this.EnablePerClientThumbnailsLayoutsCheckBox.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ResizeOptionsPanel
     //
     ResizeOptionsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     ResizeOptionsPanel.Controls.Add(HeigthLabel);
     ResizeOptionsPanel.Controls.Add(WidthLabel);
     ResizeOptionsPanel.Controls.Add(this.ThumbnailsWidthNumericEdit);
     ResizeOptionsPanel.Controls.Add(this.ThumbnailsHeightNumericEdit);
     ResizeOptionsPanel.Location = new System.Drawing.Point(3, 173);
     ResizeOptionsPanel.Name     = "ResizeOptionsPanel";
     ResizeOptionsPanel.Size     = new System.Drawing.Size(246, 28);
     ResizeOptionsPanel.TabIndex = 26;
     //
     // HeigthLabel
     //
     HeigthLabel.AutoSize = true;
     HeigthLabel.Location = new System.Drawing.Point(152, 5);
     HeigthLabel.Name     = "HeigthLabel";
     HeigthLabel.Size     = new System.Drawing.Size(38, 13);
     HeigthLabel.TabIndex = 14;
     HeigthLabel.Text     = "Heigth";
     //
     // WidthLabel
     //
     WidthLabel.AutoSize = true;
     WidthLabel.Location = new System.Drawing.Point(2, 5);
     WidthLabel.Name     = "WidthLabel";
     WidthLabel.Size     = new System.Drawing.Size(87, 13);
     WidthLabel.TabIndex = 13;
     WidthLabel.Text     = "Thumbnail Width";
     //
     // ThumbnailsWidthNumericEdit
     //
     this.ThumbnailsWidthNumericEdit.BackColor        = System.Drawing.SystemColors.Window;
     this.ThumbnailsWidthNumericEdit.BorderStyle      = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ThumbnailsWidthNumericEdit.CausesValidation = false;
     this.ThumbnailsWidthNumericEdit.Increment        = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.ThumbnailsWidthNumericEdit.Location = new System.Drawing.Point(95, 3);
     this.ThumbnailsWidthNumericEdit.Maximum  = new decimal(new int[] {
         999999,
         0,
         0,
         0
     });
     this.ThumbnailsWidthNumericEdit.Name     = "ThumbnailsWidthNumericEdit";
     this.ThumbnailsWidthNumericEdit.Size     = new System.Drawing.Size(48, 20);
     this.ThumbnailsWidthNumericEdit.TabIndex = 11;
     this.ThumbnailsWidthNumericEdit.Value    = new decimal(new int[] {
         100,
         0,
         0,
         0
     });
     this.ThumbnailsWidthNumericEdit.ValueChanged += new System.EventHandler(this.ThumbnailSizeChanged_Handler);
     //
     // ThumbnailsHeightNumericEdit
     //
     this.ThumbnailsHeightNumericEdit.BackColor        = System.Drawing.SystemColors.Window;
     this.ThumbnailsHeightNumericEdit.BorderStyle      = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ThumbnailsHeightNumericEdit.CausesValidation = false;
     this.ThumbnailsHeightNumericEdit.Increment        = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.ThumbnailsHeightNumericEdit.Location = new System.Drawing.Point(196, 3);
     this.ThumbnailsHeightNumericEdit.Maximum  = new decimal(new int[] {
         99999999,
         0,
         0,
         0
     });
     this.ThumbnailsHeightNumericEdit.Name     = "ThumbnailsHeightNumericEdit";
     this.ThumbnailsHeightNumericEdit.Size     = new System.Drawing.Size(42, 20);
     this.ThumbnailsHeightNumericEdit.TabIndex = 12;
     this.ThumbnailsHeightNumericEdit.Value    = new decimal(new int[] {
         70,
         0,
         0,
         0
     });
     this.ThumbnailsHeightNumericEdit.ValueChanged += new System.EventHandler(this.ThumbnailSizeChanged_Handler);
     //
     // ZoomOptionsPanel
     //
     ZoomOptionsPanel.BackColor   = System.Drawing.SystemColors.Control;
     ZoomOptionsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     ZoomOptionsPanel.Controls.Add(ZoomFactorLabel);
     ZoomOptionsPanel.Controls.Add(this.ZoomAnchorPanel);
     ZoomOptionsPanel.Controls.Add(ZoomAnchorLabel);
     ZoomOptionsPanel.Controls.Add(this.EnableThumbnailZoomCheckBox);
     ZoomOptionsPanel.Controls.Add(this.ThumbnailZoomFactorNumericEdit);
     ZoomOptionsPanel.Location = new System.Drawing.Point(3, 207);
     ZoomOptionsPanel.Name     = "ZoomOptionsPanel";
     ZoomOptionsPanel.Size     = new System.Drawing.Size(246, 82);
     ZoomOptionsPanel.TabIndex = 27;
     //
     // ZoomFactorLabel
     //
     ZoomFactorLabel.AutoSize = true;
     ZoomFactorLabel.Location = new System.Drawing.Point(8, 43);
     ZoomFactorLabel.Name     = "ZoomFactorLabel";
     ZoomFactorLabel.Size     = new System.Drawing.Size(67, 13);
     ZoomFactorLabel.TabIndex = 29;
     ZoomFactorLabel.Text     = "Zoom Factor";
     //
     // ZoomAnchorPanel
     //
     this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorNWRadioButton);
     this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorNRadioButton);
     this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorNERadioButton);
     this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorWRadioButton);
     this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorSERadioButton);
     this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorCRadioButton);
     this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorSRadioButton);
     this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorERadioButton);
     this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorSWRadioButton);
     this.ZoomAnchorPanel.Location = new System.Drawing.Point(182, 21);
     this.ZoomAnchorPanel.Name     = "ZoomAnchorPanel";
     this.ZoomAnchorPanel.Size     = new System.Drawing.Size(60, 57);
     this.ZoomAnchorPanel.TabIndex = 28;
     //
     // ZoomAanchorNWRadioButton
     //
     this.ZoomAanchorNWRadioButton.AutoSize = true;
     this.ZoomAanchorNWRadioButton.Location = new System.Drawing.Point(3, 3);
     this.ZoomAanchorNWRadioButton.Name     = "ZoomAanchorNWRadioButton";
     this.ZoomAanchorNWRadioButton.Size     = new System.Drawing.Size(14, 13);
     this.ZoomAanchorNWRadioButton.TabIndex = 15;
     this.ZoomAanchorNWRadioButton.TabStop  = true;
     this.ZoomAanchorNWRadioButton.UseVisualStyleBackColor = true;
     this.ZoomAanchorNWRadioButton.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ZoomAanchorNRadioButton
     //
     this.ZoomAanchorNRadioButton.AutoSize = true;
     this.ZoomAanchorNRadioButton.Location = new System.Drawing.Point(23, 3);
     this.ZoomAanchorNRadioButton.Name     = "ZoomAanchorNRadioButton";
     this.ZoomAanchorNRadioButton.Size     = new System.Drawing.Size(14, 13);
     this.ZoomAanchorNRadioButton.TabIndex = 16;
     this.ZoomAanchorNRadioButton.TabStop  = true;
     this.ZoomAanchorNRadioButton.UseVisualStyleBackColor = true;
     this.ZoomAanchorNRadioButton.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ZoomAanchorNERadioButton
     //
     this.ZoomAanchorNERadioButton.AutoSize = true;
     this.ZoomAanchorNERadioButton.Location = new System.Drawing.Point(43, 3);
     this.ZoomAanchorNERadioButton.Name     = "ZoomAanchorNERadioButton";
     this.ZoomAanchorNERadioButton.Size     = new System.Drawing.Size(14, 13);
     this.ZoomAanchorNERadioButton.TabIndex = 17;
     this.ZoomAanchorNERadioButton.TabStop  = true;
     this.ZoomAanchorNERadioButton.UseVisualStyleBackColor = true;
     this.ZoomAanchorNERadioButton.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ZoomAanchorWRadioButton
     //
     this.ZoomAanchorWRadioButton.AutoSize = true;
     this.ZoomAanchorWRadioButton.Location = new System.Drawing.Point(3, 22);
     this.ZoomAanchorWRadioButton.Name     = "ZoomAanchorWRadioButton";
     this.ZoomAanchorWRadioButton.Size     = new System.Drawing.Size(14, 13);
     this.ZoomAanchorWRadioButton.TabIndex = 18;
     this.ZoomAanchorWRadioButton.TabStop  = true;
     this.ZoomAanchorWRadioButton.UseVisualStyleBackColor = true;
     this.ZoomAanchorWRadioButton.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ZoomAanchorSERadioButton
     //
     this.ZoomAanchorSERadioButton.AutoSize = true;
     this.ZoomAanchorSERadioButton.Location = new System.Drawing.Point(43, 41);
     this.ZoomAanchorSERadioButton.Name     = "ZoomAanchorSERadioButton";
     this.ZoomAanchorSERadioButton.Size     = new System.Drawing.Size(14, 13);
     this.ZoomAanchorSERadioButton.TabIndex = 23;
     this.ZoomAanchorSERadioButton.TabStop  = true;
     this.ZoomAanchorSERadioButton.UseVisualStyleBackColor = true;
     this.ZoomAanchorSERadioButton.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ZoomAanchorCRadioButton
     //
     this.ZoomAanchorCRadioButton.AutoSize = true;
     this.ZoomAanchorCRadioButton.Location = new System.Drawing.Point(23, 22);
     this.ZoomAanchorCRadioButton.Name     = "ZoomAanchorCRadioButton";
     this.ZoomAanchorCRadioButton.Size     = new System.Drawing.Size(14, 13);
     this.ZoomAanchorCRadioButton.TabIndex = 19;
     this.ZoomAanchorCRadioButton.TabStop  = true;
     this.ZoomAanchorCRadioButton.UseVisualStyleBackColor = true;
     this.ZoomAanchorCRadioButton.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ZoomAanchorSRadioButton
     //
     this.ZoomAanchorSRadioButton.AutoSize = true;
     this.ZoomAanchorSRadioButton.Location = new System.Drawing.Point(23, 41);
     this.ZoomAanchorSRadioButton.Name     = "ZoomAanchorSRadioButton";
     this.ZoomAanchorSRadioButton.Size     = new System.Drawing.Size(14, 13);
     this.ZoomAanchorSRadioButton.TabIndex = 22;
     this.ZoomAanchorSRadioButton.TabStop  = true;
     this.ZoomAanchorSRadioButton.UseVisualStyleBackColor = true;
     this.ZoomAanchorSRadioButton.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ZoomAanchorERadioButton
     //
     this.ZoomAanchorERadioButton.AutoSize = true;
     this.ZoomAanchorERadioButton.Location = new System.Drawing.Point(43, 22);
     this.ZoomAanchorERadioButton.Name     = "ZoomAanchorERadioButton";
     this.ZoomAanchorERadioButton.Size     = new System.Drawing.Size(14, 13);
     this.ZoomAanchorERadioButton.TabIndex = 20;
     this.ZoomAanchorERadioButton.TabStop  = true;
     this.ZoomAanchorERadioButton.UseVisualStyleBackColor = true;
     this.ZoomAanchorERadioButton.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ZoomAanchorSWRadioButton
     //
     this.ZoomAanchorSWRadioButton.AutoSize = true;
     this.ZoomAanchorSWRadioButton.Location = new System.Drawing.Point(3, 41);
     this.ZoomAanchorSWRadioButton.Name     = "ZoomAanchorSWRadioButton";
     this.ZoomAanchorSWRadioButton.Size     = new System.Drawing.Size(14, 13);
     this.ZoomAanchorSWRadioButton.TabIndex = 21;
     this.ZoomAanchorSWRadioButton.TabStop  = true;
     this.ZoomAanchorSWRadioButton.UseVisualStyleBackColor = true;
     this.ZoomAanchorSWRadioButton.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ZoomAnchorLabel
     //
     ZoomAnchorLabel.AutoSize = true;
     ZoomAnchorLabel.Location = new System.Drawing.Point(138, 43);
     ZoomAnchorLabel.Name     = "ZoomAnchorLabel";
     ZoomAnchorLabel.Size     = new System.Drawing.Size(41, 13);
     ZoomAnchorLabel.TabIndex = 30;
     ZoomAnchorLabel.Text     = "Anchor";
     //
     // EnableThumbnailZoomCheckBox
     //
     this.EnableThumbnailZoomCheckBox.AutoSize                = true;
     this.EnableThumbnailZoomCheckBox.Checked                 = true;
     this.EnableThumbnailZoomCheckBox.CheckState              = System.Windows.Forms.CheckState.Checked;
     this.EnableThumbnailZoomCheckBox.Location                = new System.Drawing.Point(1, 5);
     this.EnableThumbnailZoomCheckBox.Name                    = "EnableThumbnailZoomCheckBox";
     this.EnableThumbnailZoomCheckBox.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.EnableThumbnailZoomCheckBox.Size                    = new System.Drawing.Size(98, 17);
     this.EnableThumbnailZoomCheckBox.TabIndex                = 13;
     this.EnableThumbnailZoomCheckBox.Text                    = "Zoom on hover";
     this.EnableThumbnailZoomCheckBox.UseVisualStyleBackColor = true;
     this.EnableThumbnailZoomCheckBox.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ThumbnailZoomFactorNumericEdit
     //
     this.ThumbnailZoomFactorNumericEdit.BackColor   = System.Drawing.SystemColors.Window;
     this.ThumbnailZoomFactorNumericEdit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ThumbnailZoomFactorNumericEdit.Location    = new System.Drawing.Point(81, 41);
     this.ThumbnailZoomFactorNumericEdit.Maximum     = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.ThumbnailZoomFactorNumericEdit.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.ThumbnailZoomFactorNumericEdit.Name     = "ThumbnailZoomFactorNumericEdit";
     this.ThumbnailZoomFactorNumericEdit.Size     = new System.Drawing.Size(34, 20);
     this.ThumbnailZoomFactorNumericEdit.TabIndex = 24;
     this.ThumbnailZoomFactorNumericEdit.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.ThumbnailZoomFactorNumericEdit.ValueChanged += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ShowThumbnailOverlaysCheckBox
     //
     this.ShowThumbnailOverlaysCheckBox.AutoSize                = true;
     this.ShowThumbnailOverlaysCheckBox.Checked                 = true;
     this.ShowThumbnailOverlaysCheckBox.CheckState              = System.Windows.Forms.CheckState.Checked;
     this.ShowThumbnailOverlaysCheckBox.Location                = new System.Drawing.Point(3, 295);
     this.ShowThumbnailOverlaysCheckBox.Name                    = "ShowThumbnailOverlaysCheckBox";
     this.ShowThumbnailOverlaysCheckBox.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.ShowThumbnailOverlaysCheckBox.Size                    = new System.Drawing.Size(90, 17);
     this.ShowThumbnailOverlaysCheckBox.TabIndex                = 14;
     this.ShowThumbnailOverlaysCheckBox.Text                    = "Show overlay";
     this.ShowThumbnailOverlaysCheckBox.UseVisualStyleBackColor = true;
     this.ShowThumbnailOverlaysCheckBox.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ShowThumbnailFramesCheckBox
     //
     this.ShowThumbnailFramesCheckBox.AutoSize                = true;
     this.ShowThumbnailFramesCheckBox.Checked                 = true;
     this.ShowThumbnailFramesCheckBox.CheckState              = System.Windows.Forms.CheckState.Checked;
     this.ShowThumbnailFramesCheckBox.Location                = new System.Drawing.Point(99, 295);
     this.ShowThumbnailFramesCheckBox.Name                    = "ShowThumbnailFramesCheckBox";
     this.ShowThumbnailFramesCheckBox.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.ShowThumbnailFramesCheckBox.Size                    = new System.Drawing.Size(127, 17);
     this.ShowThumbnailFramesCheckBox.TabIndex                = 9;
     this.ShowThumbnailFramesCheckBox.Text                    = "Show preview frames";
     this.ShowThumbnailFramesCheckBox.UseVisualStyleBackColor = true;
     this.ShowThumbnailFramesCheckBox.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ThumbnailsListPanel
     //
     ThumbnailsListPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     ThumbnailsListPanel.Controls.Add(this.ThumbnailsList);
     ThumbnailsListPanel.Controls.Add(ThumbnailsListLabel);
     ThumbnailsListPanel.Location = new System.Drawing.Point(3, 318);
     ThumbnailsListPanel.Name     = "ThumbnailsListPanel";
     ThumbnailsListPanel.Size     = new System.Drawing.Size(246, 125);
     ThumbnailsListPanel.TabIndex = 31;
     //
     // ThumbnailsList
     //
     this.ThumbnailsList.BackColor         = System.Drawing.SystemColors.Window;
     this.ThumbnailsList.BorderStyle       = System.Windows.Forms.BorderStyle.None;
     this.ThumbnailsList.FormattingEnabled = true;
     this.ThumbnailsList.IntegralHeight    = false;
     this.ThumbnailsList.Location          = new System.Drawing.Point(3, 18);
     this.ThumbnailsList.Name       = "ThumbnailsList";
     this.ThumbnailsList.Size       = new System.Drawing.Size(240, 100);
     this.ThumbnailsList.TabIndex   = 28;
     this.ThumbnailsList.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.ThumbnailsList_ItemCheck_Handler);
     //
     // ThumbnailsListLabel
     //
     ThumbnailsListLabel.AutoSize = true;
     ThumbnailsListLabel.Location = new System.Drawing.Point(3, 0);
     ThumbnailsListLabel.Name     = "ThumbnailsListLabel";
     ThumbnailsListLabel.Size     = new System.Drawing.Size(162, 13);
     ThumbnailsListLabel.TabIndex = 29;
     ThumbnailsListLabel.Text     = "Thumbnails (check to force hide)";
     //
     // ForumLinkLabel
     //
     this.ForumLinkLabel.AutoSize = true;
     this.ForumLinkLabel.Location = new System.Drawing.Point(3, 446);
     this.ForumLinkLabel.Name     = "ForumLinkLabel";
     this.ForumLinkLabel.Size     = new System.Drawing.Size(241, 26);
     this.ForumLinkLabel.TabIndex = 10;
     this.ForumLinkLabel.TabStop  = true;
     this.ForumLinkLabel.Text     = "to be set from prresenter to be set from prresenter to be set from prresenter to " +
                                    "be set from prresenter";
     this.ForumLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.ForumLinkLabelClicked_Handler);
     //
     // TitleMenuItem
     //
     TitleMenuItem.Enabled = false;
     TitleMenuItem.Name    = "TitleMenuItem";
     TitleMenuItem.Size    = new System.Drawing.Size(151, 22);
     TitleMenuItem.Text    = "EVE-O Preview";
     //
     // SeparatorMenuItem
     //
     SeparatorMenuItem.Name = "SeparatorMenuItem";
     SeparatorMenuItem.Size = new System.Drawing.Size(148, 6);
     //
     // NotifyIcon
     //
     this.NotifyIcon.ContextMenuStrip  = this.TrayMenu;
     this.NotifyIcon.Icon              = ((System.Drawing.Icon)(resources.GetObject("NotifyIcon.Icon")));
     this.NotifyIcon.Text              = "EVE-O Preview";
     this.NotifyIcon.Visible           = true;
     this.NotifyIcon.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.RestoreMainForm_Handler);
     //
     // TrayMenu
     //
     this.TrayMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         TitleMenuItem,
         RestoreWindowMenuItem,
         SeparatorMenuItem,
         ExitMenuItem
     });
     this.TrayMenu.Name = "contextMenuStrip1";
     this.TrayMenu.Size = new System.Drawing.Size(152, 76);
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.ControlDarkDark;
     this.ClientSize          = new System.Drawing.Size(252, 481);
     this.Controls.Add(ContentFlowLayoutPanel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin          = new System.Windows.Forms.Padding(0);
     this.MaximizeBox     = false;
     this.Name            = "MainForm";
     this.Text            = "EVE-O Preview";
     this.TopMost         = true;
     this.FormClosing    += new System.Windows.Forms.FormClosingEventHandler(this.MainFormClosing_Handler);
     this.Load           += new System.EventHandler(this.MainFormResize_Handler);
     this.Resize         += new System.EventHandler(this.MainFormResize_Handler);
     ContentFlowLayoutPanel.ResumeLayout(false);
     ContentFlowLayoutPanel.PerformLayout();
     OpacityPanel.ResumeLayout(false);
     OpacityPanel.PerformLayout();
     ResizeOptionsPanel.ResumeLayout(false);
     ResizeOptionsPanel.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ThumbnailsWidthNumericEdit)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ThumbnailsHeightNumericEdit)).EndInit();
     ZoomOptionsPanel.ResumeLayout(false);
     ZoomOptionsPanel.PerformLayout();
     this.ZoomAnchorPanel.ResumeLayout(false);
     this.ZoomAnchorPanel.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ThumbnailZoomFactorNumericEdit)).EndInit();
     ThumbnailsListPanel.ResumeLayout(false);
     ThumbnailsListPanel.PerformLayout();
     this.TrayMenu.ResumeLayout(false);
     this.ResumeLayout(false);
 }