Inheritance: ToolStripLabel
        public StatusService(Form mainForm)
        {
            m_mainForm = mainForm;

            m_statusStrip = new StatusStrip();
            m_statusStrip.Name = "StatusBar";
            m_statusStrip.Dock = DockStyle.Bottom;
            // statusStrip items  are laid out horizontally and overflow as necessary.
            m_statusStrip.LayoutStyle = ToolStripLayoutStyle.HorizontalStackWithOverflow;
            m_statusStrip.ShowItemToolTips = false;

            // main status text
            m_mainPanel = new ToolStripStatusLabel();
            m_mainPanel.Width = 256;
            m_mainPanel.AutoSize = true;
            m_mainPanel.Spring = true;
            m_mainPanel.TextAlign = ContentAlignment.MiddleLeft;
            m_statusStrip.Items.Add(m_mainPanel);

            m_progressTimer = new Timer(
                progressCallback, this, Timeout.Infinite, ProgressInterval);

            m_progressDialog = new ThreadSafeProgressDialog(false, true);
            m_progressDialog.Cancelled += progressDialog_Cancelled;
        }
Exemple #2
0
 public FrmOutEarth(GSOGlobeControl globeControl, DevComponents.DotNetBar.Controls.DataGridViewX dataGridViewX11, ToolStripStatusLabel toolStripNumbers1)
 {
     InitializeComponent();
     globeControl1 = globeControl;
     dataGridViewX1 = dataGridViewX11;
     toolStripNumbers = toolStripNumbers1;
 }
        //Инициализация класса с получением рабочей формы
        public LayoutOrder(Panel Panel, System.Windows.Forms.ToolStripStatusLabel ToolStripStatusLabel1)
        {
            ParentPanel = Panel;
            ParentToolStripStatusLabel = ToolStripStatusLabel1;

            Data.ElemsAfterEditingAss = new Data.MyEventDict(writeElems);
        }
 public RepoResultsActor(DataGridView userDg, ToolStripStatusLabel statusLabel, ToolStripProgressBar progressBar)
 {
     _userDg = userDg;
     _statusLabel = statusLabel;
     _progressBar = progressBar;
     InitialReceives();
 }
Exemple #5
0
            public HResult CreateProgress(out INiStatusBarProgress progress)
            {
                progress = null;

                try
                {
                    var label = new ToolStripStatusLabel
                    {
                        Visible = false
                    };
                    var progressBar = new ToolStripProgressBar
                    {
                        Visible = false
                    };

                    int index = _mainForm._statusStrip.Items.IndexOf(_mainForm._statusStripText);

                    _mainForm._statusStrip.Items.Insert(
                        index + 1,
                        label
                    );
                    _mainForm._statusStrip.Items.Insert(
                        index + 2,
                        progressBar
                    );

                    progress = new NiStatusBarProgress(label, progressBar);

                    return HResult.OK;
                }
                catch (Exception ex)
                {
                    return ErrorUtil.GetHResult(ex);
                }
            }
        /// <summary>
        /// Constructor
        /// </summary>
        public MedusaStatusBar()
        {
            InitializeComponent();

            //Agrego el item de cargando
            ToolStripItem item1 = new ToolStripStatusLabel();
            Image loadingImage = Properties.Resources.ajax_loader_4;
            item1.DisplayStyle = ToolStripItemDisplayStyle.ImageAndText;
            item1.Name = "loading";
            item1.Image = loadingImage;
            item1.ImageScaling = ToolStripItemImageScaling.None;
            item1.Text = "Cargando...";
            this.Items.Add(item1);
            //Agrego el item de informacion
            ToolStripItem item2 = new ToolStripStatusLabel();
            Image infoImage = Properties.Resources.emblem_important;
            item2.Name = "information";
            item2.DisplayStyle = ToolStripItemDisplayStyle.ImageAndText;
            item2.Image = infoImage;
            item2.ImageScaling = ToolStripItemImageScaling.None;
            item2.Text = "";
            item2.Visible = false;
            this.Items.Add(item2);

            //Timer
            aTimer.Elapsed += new ElapsedEventHandler(OnTimedEvent);
            aTimer.Interval = 10000;
        }
Exemple #7
0
 /// <summary>
 /// Initialize a status writer.
 /// </summary>
 /// <param name="strip">Status strip holding the messages.</param>
 /// <param name="parent">Parent which contains the status writer.  
 /// (May be invoked recursively across threads).</param>
 /// <param name="crossInvoke">Delegate to invoke cross-threads in parent.</param>
 public StatusWriter(ToolStripStatusLabel strip, Control parent, StatusDelegate crossInvoke)
 {
     this.label = strip;
     this.parentControl = parent;
     this.defaultStatusStripBackColor = strip.BackColor;
     this.crossInvoke = crossInvoke;
 }
Exemple #8
0
 public Animation(Control panel, int interval, ToolStripStatusLabel label)
 {
     surface = panel;
     this.interval = interval;
     IsStarted = false;
     this.label = label;
 }
Exemple #9
0
        public QueryStatusBar()
        {
            SizingGrip = false;
            Stretch = true;
            DockPadding.All = 0;
            
            _connectionLabel = new ToolStripStatusLabel();
            _connectionLabel.Spring = true;

            _serverLabel = new ToolStripStatusLabel();
            _userLabel = new ToolStripStatusLabel();
            _queryTimeLabel = new ToolStripStatusLabel();
            _rowCountLabel = new ToolStripStatusLabel();

            //		    statusLabel.BorderSides = ToolStripStatusLabelBorderSides.All;
            //statusLabel.BorderStyle = Border3DStyle.Sunken;

            foreach (var label in AllLabels)
            {
                label.BorderSides = ToolStripStatusLabelBorderSides.All;
                label.Alignment = ToolStripItemAlignment.Right;
                label.BorderStyle = Border3DStyle.SunkenOuter;
                label.Padding = new Padding(-1, 5, -1, 5);
                label.TextAlign = ContentAlignment.MiddleLeft;
            }

        }
Exemple #10
0
 public void UpdateStatusBar(string message)
 {
     statusBar.Items.Clear();
     ToolStripStatusLabel label = new ToolStripStatusLabel(message);
     statusBar.Items.Add(label);
     ScreenReader.sayString(label.Text, false);
 }
Exemple #11
0
 public ProcessLayer(ToolStripStatusLabel ProcStatus, TextBox TxtLog)
 {
     m_lb_Status = ProcStatus;
     m_txt_Log = TxtLog;
     bIsRun = false;
     bIsShow = true;
 }
Exemple #12
0
 public ChatClient(string[] args, TextBox output, ToolStripStatusLabel messageToolStripSatusLbl)
 {
     this._outputTxtBx = output;
     this._messageStatus = messageToolStripSatusLbl;
     this._roomVersion = RoomVersion.Base;
     this.Initialize(args);
 }
Exemple #13
0
 //分離された領域を作成
 private static ToolStripStatusLabel CreateDefaultStipStatusLabel() {
     ToolStripStatusLabel l = new ToolStripStatusLabel();
     l.AutoSize = false;
     l.BorderSides = ToolStripStatusLabelBorderSides.All;
     l.BorderStyle = Border3DStyle.SunkenInner;
     return l;
 }
        private void InitializeComponent()
        {
            this.m_statusStripMain = new System.Windows.Forms.StatusStrip();
            this.m_lblMainState    = new System.Windows.Forms.ToolStripStatusLabel();
            this.m_lblDateMessage  = new System.Windows.Forms.ToolStripStatusLabel();
            this.m_lblDescMessage  = new System.Windows.Forms.ToolStripStatusLabel();

            this.m_statusStripMain.SuspendLayout();

            //
            // m_statusStripMain
            //
            this.m_statusStripMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.m_lblMainState,
                this.m_lblDateMessage,
                this.m_lblDescMessage
            });
            //this.m_statusStripMain.Location = new System.Drawing.Point(0, 762);
            this.m_statusStripMain.Name = "m_statusStripMain";
            //this.m_statusStripMain.Size = new System.Drawing.Size(982, 22);
            this.m_statusStripMain.TabIndex = 4;
            //
            // m_lblMainState
            //
            this.m_lblMainState.AutoSize    = false;
            this.m_lblMainState.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top)
                                                                                                        | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
                                                                                                       | System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
            this.m_lblMainState.BorderStyle = System.Windows.Forms.Border3DStyle.SunkenOuter;
            this.m_lblMainState.Font        = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
            //this.m_lblMainState.ForeColor = System.Drawing.Color.Red;
            this.m_lblMainState.Name = "m_lblMainState";
            //this.m_lblMainState.Size = new System.Drawing.Size(150, 17);
            //
            // m_lblDateMessage
            //
            this.m_lblDateMessage.AutoSize    = false;
            this.m_lblDateMessage.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top)
                                                                                                          | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
                                                                                                         | System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
            this.m_lblDateMessage.BorderStyle = System.Windows.Forms.Border3DStyle.SunkenOuter;
            this.m_lblDateMessage.Name        = "m_lblDateMessage";
            //this.m_lblDateMessage.Size = new System.Drawing.Size(150, 17);
            //
            // m_lblDescMessage
            //
            this.m_lblDescMessage.AutoSize    = false;
            this.m_lblDescMessage.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top)
                                                                                                          | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
                                                                                                         | System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
            this.m_lblDescMessage.BorderStyle = System.Windows.Forms.Border3DStyle.SunkenOuter;
            this.m_lblDescMessage.Name        = "m_lblDescMessage";
            //this.m_lblDescMessage.Size = new System.Drawing.Size(667, 17);
            this.m_lblDescMessage.Spring = true;

            this.Controls.Add(this.m_statusStripMain);

            this.m_statusStripMain.ResumeLayout(false);
            this.m_statusStripMain.PerformLayout();
        }
Exemple #15
0
        public NewDoctor(DataGridViewRow clinic,ToolStripStatusLabel lbl )
        {
            InitializeComponent();
            Hospital_cb.Text = Convert.ToString(clinic.Cells[3].Value);
            Name_tb.Text = Convert.ToString(clinic.Cells[1].Value);
            Surname_tb.Text = Convert.ToString(clinic.Cells[0].Value);
            Patro_tb.Text = Convert.ToString(clinic.Cells[2].Value);
            Specialization_cb.Text = Convert.ToString(clinic.Cells[4].Value);

            hospital = Convert.ToString(clinic.Cells[3].Value);
            name = Convert.ToString(clinic.Cells[1].Value);
            surname = Convert.ToString(clinic.Cells[0].Value);
            patro = Convert.ToString(clinic.Cells[2].Value);
            spec = Convert.ToString(clinic.Cells[4].Value);

            DBProcedure proc = new DBProcedure();
            proc.search_id_doctor(name, surname, patro, hospital, spec);
            id_doctor = proc.id_doctor;
            status = lbl;

            if (!iIdRecord)
            {
                SaveDoctor_btn.Visible = false;
            }
        }
Exemple #16
0
        /// <summary>
        /// 添加一个panel到状态栏,但是这个功能被去掉了。
        /// 可以用AddPanel()覆盖
        /// </summary>
        /// <param name="insertAt">插入位置</param>
        /// <returns> 被添加的panel</returns>
        public MapWinGIS.Interfaces.StatusBarItem AddPanel(int insertAt)
        {
            try
            {
                if (insertAt <= 0)
                {
                    insertAt = 0;
                }
                if (insertAt > this.StatusBar1.Items.Count)
                {
                    insertAt = this.StatusBar1.Items.Count;
                }

                System.Windows.Forms.ToolStripStatusLabel newPanel = new System.Windows.Forms.ToolStripStatusLabel();

                StatusBar1.Items.Insert(insertAt, newPanel);

                MapWinGIS.MainProgram.StatusBarItem newItem = new MapWinGIS.MainProgram.StatusBarItem(newPanel);
                return(newItem);
            }
            catch (Exception ex)
            {
                throw (new Exception("添加StatusBar Panel失败." + "\r\n" + ex.ToString()));
            }
        }
        /// <summary>
        /// Initializes a new instance of class CrmConnectionStatusBar
        /// </summary>
        public CrmConnectionStatusBar(FormHelper formHelper)
        {
            resources = new System.ComponentModel.ComponentResourceManager(typeof(CrmConnectionStatusBar));

            ConnectionManager.Instance.ConnectionListUpdated += cManager_ConnectionListUpdated;
            _formHelper = formHelper;

            // Build connection control
            this.BuildConnectionControl();

            // Add label that will display information about connection
            ToolStripStatusLabel informationLabel = new ToolStripStatusLabel
            {
                Spring = true,
                TextAlign = ContentAlignment.MiddleRight
            };

            this.Items.Add(informationLabel);

            ToolStripProgressBar progress = new ToolStripProgressBar
            {
                Minimum = 0,
                Maximum = 100,
                Visible = false
            };
            this.Items.Add(progress);

            base.RenderMode = ToolStripRenderMode.Professional;
        }
Exemple #18
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        /// <param name="parentForm">The connection form that will display the PowerShell console.</param>
        /// <param name="terminal">Terminal control that will display the PowerShell console.</param>
        /// <param name="executeHelper">Method used to execute PowerShell commands within the current session.</param>
        /// <param name="progressBar">Progress bar UI element to update when writing progress records.</param>
        /// <param name="progressLabel">Label UI element to update when writing progress records.</param>
        public PowerShellHost(
			PowerShellConnectionForm parentForm, TerminalControl terminal, Func<string, Collection<PSObject>> executeHelper, ToolStripProgressBar progressBar,
			ToolStripStatusLabel progressLabel)
        {
            _parentForm = parentForm;
            _powerShellHostUi = new PowerShellHostUi(terminal, executeHelper, progressBar, progressLabel);
        }
        public void draw(ToolStripStatusLabel label)
        {
            _ctx.translate(280, 200);
            _ctx.scale(0.4, 0.4);

            fly(_ctx, 1, label);
        }
Exemple #20
0
        /// <summary> 
        /// 初始化任务栏
        /// </summary>
        private void InitStatus()
        {
            this.stsStatus.SuspendLayout();
            // Timer
            ToolStripStatusLabel tsslblTimer = new ToolStripStatusLabel();
            tsslblTimer.Name = "tsslblTimer";
            tsslblTimer.Text = Utility.GetLongSysDateTimeString();

            ToolStripSeparator tssp1 = new ToolStripSeparator();

            ToolStripStatusLabel tsslblUser = new ToolStripStatusLabel();
            tsslblUser.Name = "tsslblUser";
            tsslblUser.Text = "登录人员:";

            ToolStripSeparator tssp2 = new ToolStripSeparator();

            ToolStripStatusLabel tsslblABName = new ToolStripStatusLabel();
            tsslblABName.Name = "tsslblABName";
            tsslblABName.Text = "当前账本:";

            ToolStripSeparator tssp3 = new ToolStripSeparator();

            ToolStripStatusLabel tsslblIP = new ToolStripStatusLabel();
            tsslblIP.Name = "tsslblIP";
            tsslblIP.Text = "IP:";

            this.stsStatus.Items.AddRange(new ToolStripItem[] { tsslblTimer, tssp1, tsslblUser, tssp2, tsslblABName, tssp3, tsslblIP});

            this.stsStatus.ResumeLayout(false);
            this.stsStatus.PerformLayout();
        }
Exemple #21
0
 public ProcessLayer()
 {
     m_lb_Status = null;
     m_txt_Log = null;
     bIsRun = false;
     bIsShow = false;
 }
  public static void openFile( Form plcType,
                               Form main,
                               ComboBox height,
                               ToolStripProgressBar mLoad,
                               ToolStripStatusLabel mStatus )
  {
   bool noFile = true, cancel = false;
   OpenFileDialog openDiag;
   DialogResult res;
   String filename;

   mnuHeight = height;
   mnuLoad = mLoad;
   mnuStatus = mStatus;
   init = true;

   plcType.Hide();

   while( noFile ^ cancel )
   {
    openDiag              = new OpenFileDialog();
    openDiag.Multiselect  = false;
    openDiag.AddExtension = true;
    openDiag.DefaultExt   = "dat";
    openDiag.Filter       = "Minecraft Levels (*.dat)|*.dat|" + 
                            "All Files (*.*)|*.*";

    res = openDiag.ShowDialog();

    plcType.Show();

    if( res == DialogResult.Cancel )
     cancel = true;

    else
    {
     filename  = openDiag.FileName;
     
     noFile   = false;
     openDiag.Dispose();

     lvl = AnvilWorld.Open( filename );

     if( lvl == null )
      MessageBox.Show( "That file was not a compatible Minecraft level.",
                       "Open File Error",
                       MessageBoxButtons.OK,
                       MessageBoxIcon.Error );
     
     else
     {
      regDiag = new SelectRegion( lvl.GetRegionManager(), main );
      loadLimits();
      selectRegion( true );

     }     
    }
   }
  }
Exemple #23
0
 public Form1()
 {
     InitializeComponent();
     toolStripStatusLabel = new ToolStripStatusLabelCrossThread();
     saveFileDlg = new SaveFileDialog();
     this.statusStrip1.Items.Add(toolStripStatusLabel);
     this.falseTabEnter = false;
 }
 public NewSpecialization(string name, ToolStripStatusLabel lbl)
 {
     InitializeComponent();
     NameSpecialization_tb.Text = name;
     nameString = name;
     SaveSpecialization_btn.Visible = false;
     status = lbl;
 }
        public MainHostHandler(frmMain form)
        {
            _form = form;
            statusInfo = _form.StatusInfo;
            statusProgress = _form.StatusProgressBar;

            SetStatusVersion();
        }
Exemple #26
0
        /*
         * http://ichart.finance.yahoo.com/table.csv?s=WIPRO.NS&a=10&b=25&c=2005&d=11&e=26&f=2009&g=d&ignore=.csv
         * http://ichart.finance.yahoo.com/table.csv?s=WIPRO.NS&a=07&b=12&c=2002&d=09&e=21&f=2009&g=w&ignore=.csv
         * http://ichart.finance.yahoo.com/table.csv?s=WIPRO.NS&a=07&b=12&c=2002&d=09&e=21&f=2009&g=m&ignore=.csv
         * http://ichart.finance.yahoo.com/table.csv?s=WIPRO.NS&a=07&b=12&c=2002&d=09&e=21&f=2009&g=v&ignore=.csv
         */

        public frmYahoo(object pdalStockAc,
                        System.Windows.Forms.ToolStripStatusLabel plbl,
                        System.Windows.Forms.ToolStripProgressBar pBar)
        {
            InitializeComponent();
            _pdalYahoo     = (DoubleM.DALDoubleM)pdalStockAc;
            _lblMsgDoubleM = plbl;
            _pBar          = pBar;
        }
        public static ToolStripStatusLabel GetToolStripStatusLabel(Controller.Id id,
		                                                           string s)
        {
            ToolStripStatusLabel label = new ToolStripStatusLabel();
            label.Text = s;
            label.Dock = DockStyle.Fill;
            Controller.RegisterControl(id, label);	// register control
            return label;
        }
        public static void StartAsync(string strVersionUrl, ToolStripStatusLabel tsResultsViewer)
        {
            m_strVersionURL = strVersionUrl;
            m_tsResultsViewer = tsResultsViewer;

            // Local, but thread will continue to run anyway
            Thread th = new Thread(new ThreadStart(CheckForUpdate.OnStartCheck));
            th.Start();
        }
 public P007_P008_ucTracking(ToolStripProgressBar _pb1, ToolStripStatusLabel _stt1, ToolStripStatusLabel _stt2)
 {
     InitializeComponent();
     dtpFrom.Value = DateTime.Now;
     dtpTo.Value = DateTime.Now;
     ProgressBar1 = _pb1;
     Status_1 = _stt1;
     Status_2 = _stt2;
 }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.statusStrip = new System.Windows.Forms.StatusStrip();
            this.toolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
            this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
            this.welcomePage = new Microsoft.Tools.WindowsInstallerXml.Tools.ClickThrough.WelcomePage();
            this.statusStrip.SuspendLayout();
            this.SuspendLayout();
            // 
            // statusStrip
            // 
            this.statusStrip.BackColor = System.Drawing.SystemColors.GradientActiveCaption;
            this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripStatusLabel});
            this.statusStrip.Location = new System.Drawing.Point(0, 664);
            this.statusStrip.Name = "statusStrip";
            this.statusStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
            this.statusStrip.Size = new System.Drawing.Size(812, 22);
            this.statusStrip.TabIndex = 1;
            // 
            // toolStripStatusLabel
            // 
            this.toolStripStatusLabel.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
            this.toolStripStatusLabel.Name = "toolStripStatusLabel";
            this.toolStripStatusLabel.Size = new System.Drawing.Size(0, 17);
            // 
            // openFileDialog
            // 
            this.openFileDialog.DefaultExt = "ctd";
            this.openFileDialog.Filter = "ClickThrough data (*.ctd)|*.ctd|All files (*.*)|*.*";
            // 
            // welcomePage
            // 
            this.welcomePage.AutoScroll = true;
            this.welcomePage.BackColor = System.Drawing.Color.Transparent;
            this.welcomePage.Dock = System.Windows.Forms.DockStyle.Fill;
            this.welcomePage.Location = new System.Drawing.Point(0, 0);
            this.welcomePage.Name = "welcomePage";
            this.welcomePage.Size = new System.Drawing.Size(812, 664);
            this.welcomePage.TabIndex = 2;
            // 
            // ClickThroughForm
            // 
            this.BackColor = System.Drawing.SystemColors.Window;
            this.ClientSize = new System.Drawing.Size(812, 686);
            this.Controls.Add(this.welcomePage);
            this.Controls.Add(this.statusStrip);
            this.MinimumSize = new System.Drawing.Size(420, 200);
            this.Name = "ClickThroughForm";
            this.Text = "WiX - ClickThrough UI";
            this.statusStrip.ResumeLayout(false);
            this.statusStrip.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
Exemple #31
0
        /**
         * Deszyfrowanie pliku
         */
        public void DecryptFile(string inputFileName, string outputFileName, UInt64 key1, UInt64 key2, UInt64 key3,
                                System.Windows.Forms.ToolStripStatusLabel statusLabel, StatusStrip statusStrip)
        {
            // sprawdzenie czy plik istnieje
            if (!File.Exists(inputFileName))
            {
                statusLabel.Text = "Plik nie istnieje";
                return;
            }
            FileStream fileStreamRead = new FileStream(inputFileName, FileMode.Open);

            // sprawdzenie rozmiaru pliku, wymagana wieloktorność 8 bajtów (64 bity)
            if (fileStreamRead.Length % 8 != 0)
            {
                statusLabel.Text = "Rozmiar pliku musi być wielokrotnością 8 bajtów";
                return;
            }

            FileStream fileStreamWrite = new FileStream(outputFileName, FileMode.Create, FileAccess.Write);

            int    block_count = (int)(fileStreamRead.Length / 8);
            UInt64 block       = 0;

            for (int i = 0; i < fileStreamRead.Length; i += 8)
            {
                // tworzenie bloku
                block = (UInt64)fileStreamRead.ReadByte();  // pierwszy bajt
                for (int j = 1; j < 8; j++)
                {
                    UInt64 blockByte = (UInt64)fileStreamRead.ReadByte();
                    blockByte <<= (j * 8);
                    block      |= blockByte;
                }

                // deszyfrowanie bloku
                UInt64 result = DecryptBlock(block, key1, key2, key3);

                // zapisywanie bloku w pliku
                byte resultByte = (byte)(result & (UInt64)0xff);
                fileStreamWrite.WriteByte(resultByte);
                for (int j = 1; j < 8; j++)
                {
                    resultByte = (byte)((result >> (8 * j)) & 0x00000000000000ff);
                    fileStreamWrite.WriteByte(resultByte);
                }
                if ((i % 16000) == 0)
                {
                    statusLabel.Text = "Deszyfrowano " + ((i + 8) / 8).ToString() + " / " + block_count.ToString() + " bloków";
                    statusStrip.Refresh();
                    Application.DoEvents();
                }
            }
            statusLabel.Text = "Deszyfrowano " + block_count.ToString() + " / " + block_count.ToString() + " bloków";
            fileStreamWrite.Close();
            fileStreamRead.Close();
        }
        public CoordinateLabel(ToolStripStatusLabel label, Viewport viewport, Diagram diagram)
        {
            this.label = label;
            this.viewport = viewport;
            this.diagram = diagram;

            this.viewport.MouseEnter += viewport_MouseEnter;
            this.viewport.MouseLeave += viewport_MouseLeave;
            this.viewport.MouseMove += viewport_MouseMove;
        }
Exemple #33
0
 public StatusBarEx()
 {
     InitializeComponent();
     m_msgLabel = new ToolStripStatusLabel();
     m_msgLabel.Size = new System.Drawing.Size(0, 17);
     m_msgLabel.AutoSize = false;
     m_msgLabel.TextAlign = ContentAlignment.MiddleLeft;
     m_msgLabel.Text = "";
     this.Items.Add(m_msgLabel);
 }
        public StatusManager(WindowManager windowManager, StatusStrip statusStrip)
        {
            _windowManager = windowManager;
            _statusStrip = statusStrip;

            _leftLabel = new ToolStripStatusLabel();
            _leftLabel.Alignment = ToolStripItemAlignment.Right;

            _statusStrip.Items.Add(_leftLabel);
        }
Exemple #35
0
        //Método AjustaStartADM:
        public void AjustaStartADM(//Parametros
            System.Windows.Forms.ToolStripStatusLabel lblStatus,
            MetroFramework.Controls.MetroGrid dataGridViewProdutos,
            MetroFramework.Controls.MetroGrid dataGridViewConsultas)
        {
            //Exibe o nome do Usuário em uma label no menu Status Strip:
            lblStatus.Text = "Olá, " + Environment.UserName;

            //Método Carregar:
            Carregar(dataGridViewProdutos, dataGridViewConsultas);
        }
Exemple #36
0
 /// <summary>
 /// Adds the user tool strip status label.
 /// </summary>
 /// <param name="label">The label.</param>
 public void addUserToolStripStatusLabel(System.Windows.Forms.ToolStripStatusLabel label)
 {
     //statusUserIDLabelDic
     if (statusUserIDLabelDic.ContainsKey(label.Name))
     {
         statusUserIDLabelDic[label.Name] = label;
     }
     else
     {
         statusUserIDLabelDic.Add(label.Name, label);
     }
     refreshLoginUserInfo();
 }
        public MyTrainingProgressComponent()
        {
            this.tdbMyTrainings        = new System.Windows.Forms.ToolStripDropDownButton();
            this.slCurrentTraining     = new System.Windows.Forms.ToolStripStatusLabel();
            this.tpbMyTrainingProgress = new System.Windows.Forms.ToolStripProgressBar();

            this.tdbMyTrainings.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;



            slCurrentTraining.Visible     = false;
            tpbMyTrainingProgress.Visible = false;
        }
Exemple #38
0
 private void InitializeComponent()
 {
     this.contextStatusLabel      = new ToolStripStatusLabel();
     this.progressStatusSeparator = new ToolStripSeparator();
     this.progressStatusBar       = new ToolStripProgressBar();
     this.imageInfoStatusLabel    = new ToolStripStatusLabel();
     this.cursorInfoStatusLabel   = new ToolStripStatusLabel();
     SuspendLayout();
     //
     // contextStatusLabel
     //
     this.contextStatusLabel.Name       = "contextStatusLabel";
     this.contextStatusLabel.Width      = UI.ScaleWidth(436);
     this.contextStatusLabel.Spring     = true;
     this.contextStatusLabel.TextAlign  = ContentAlignment.MiddleLeft;
     this.contextStatusLabel.ImageAlign = ContentAlignment.MiddleLeft;
     //
     // progressStatusBar
     //
     this.progressStatusBar.Name     = "progressStatusBar";
     this.progressStatusBar.Width    = 130;
     this.progressStatusBar.AutoSize = false;
     //
     // imageInfoStatusLabel
     //
     this.imageInfoStatusLabel.Name       = "imageInfoStatusLabel";
     this.imageInfoStatusLabel.Width      = UI.ScaleWidth(130);
     this.imageInfoStatusLabel.TextAlign  = ContentAlignment.MiddleLeft;
     this.imageInfoStatusLabel.ImageAlign = ContentAlignment.MiddleLeft;
     this.imageInfoStatusLabel.AutoSize   = false;
     //
     // cursorInfoStatusLabel
     //
     this.cursorInfoStatusLabel.Name       = "cursorInfoStatusLabel";
     this.cursorInfoStatusLabel.Width      = UI.ScaleWidth(130);
     this.cursorInfoStatusLabel.TextAlign  = ContentAlignment.MiddleLeft;
     this.cursorInfoStatusLabel.ImageAlign = ContentAlignment.MiddleLeft;
     this.cursorInfoStatusLabel.AutoSize   = false;
     //
     // PdnStatusBar
     //
     this.Name = "PdnStatusBar";
     this.Items.Add(this.contextStatusLabel);
     this.Items.Add(this.progressStatusSeparator);
     this.Items.Add(this.progressStatusBar);
     this.Items.Add(new ToolStripSeparator());
     this.Items.Add(this.imageInfoStatusLabel);
     this.Items.Add(new ToolStripSeparator());
     this.Items.Add(this.cursorInfoStatusLabel);
     ResumeLayout(false);
 }
Exemple #39
0
        public CtlTree()
        {
            this.StatusBar = new System.Windows.Forms.StatusStrip();
            this.stCount   = new System.Windows.Forms.ToolStripStatusLabel();
            this.stComment = new System.Windows.Forms.ToolStripStatusLabel();
            //
            // StatusBar
            //
            this.StatusBar.GripMargin = new System.Windows.Forms.Padding(0);
            this.StatusBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.stCount,
                this.stComment
            });
            this.StatusBar.Location = new System.Drawing.Point(0, 314);
            this.StatusBar.Name     = "StatusBar";
            this.StatusBar.Size     = new System.Drawing.Size(309, 22);
            this.StatusBar.TabIndex = 2;
            this.StatusBar.Text     = "StatusBar";
            //
            // stCount
            //
            this.stCount.BackColor   = System.Drawing.Color.Transparent;
            this.stCount.BorderStyle = System.Windows.Forms.Border3DStyle.SunkenOuter;
            this.stCount.Name        = "stCount";
            this.stCount.Size        = new System.Drawing.Size(23, 17);
            this.stCount.Text        = "0/0";
            //
            // stComment
            //
            this.stComment.BackColor = System.Drawing.Color.Transparent;
            this.stComment.Name      = "stComment";
            this.stComment.Size      = new System.Drawing.Size(240, 17);
            this.stComment.Spring    = true;
            this.stComment.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.Controls.Add(this.StatusBar);

            this.AfterSelect         += new TreeViewEventHandler(CtlTree_AfterSelect);
            this.DoubleClick         += new EventHandler(CtlTree_DoubleClick);
            this.BorderStyle          = BorderStyle.None;
            this.FullRowSelect        = true;
            this.HideSelection        = false;
            this.ImageList            = new ImageList();
            this.ImageList.ColorDepth = ColorDepth.Depth32Bit;
            this.ImageList.Images.Add(global::BOF.Properties.Resources.Folder);
            this.ImageList.Images.Add(global::BOF.Properties.Resources.textdoc);
            SetStyle(ControlStyles.ResizeRedraw, true);
            SetStyle(ControlStyles.DoubleBuffer, true);
        }
Exemple #40
0
        /// <summary>
        /// constructor
        /// </summary>
        public TExtStatusBarHelp()
        {
            this.FStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
            this.SuspendLayout();

            this.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.FStatusLabel
            });

            this.FStatusLabel.Name      = "FStatusLabel";
            this.FStatusLabel.AutoSize  = true;
            this.FStatusLabel.Spring    = true;
            this.FStatusLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

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

            FControlTexts = new Hashtable();
        }
Exemple #41
0
        /// <summary>
        /// Adds a <see cref="ToolStripStatusLabel"/> to the right hand side of the usual Status Label, or to the right of
        /// any already added extra <see cref="ToolStripStatusLabel"/> instances.
        /// A text that should get displayed in that new Label can get passed in with the <paramref name="ALabelText"/>
        /// Argument.
        /// </summary>
        /// <remarks>If this Method gets called repeatedly then extra Labels will get added to the right!</remarks>
        /// <param name="ALabelText">Text that should be displayed in the Label.</param>
        /// <returns>Reference to the added extra <see cref="ToolStripStatusLabel"/>.</returns>
        public ToolStripStatusLabel AddExtraLabelOnTheRight(string ALabelText)
        {
            var ExtraLabelOnTheRight = new System.Windows.Forms.ToolStripStatusLabel();

            this.SuspendLayout();

            this.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                ExtraLabelOnTheRight
            });

            ExtraLabelOnTheRight.Name      = "ExtraLabelOnTheRight";
            ExtraLabelOnTheRight.AutoSize  = true;
            ExtraLabelOnTheRight.TextAlign = System.Drawing.ContentAlignment.MiddleRight;

            ExtraLabelOnTheRight.Text = ALabelText;

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

            return(ExtraLabelOnTheRight);
        }
Exemple #42
0
        /// <summary>
        /// This method initialize the components contained on the form.
        /// </summary>
        public void InitializeComponent()
        {
            this.components    = new System.ComponentModel.Container();
            this.Panel1        = new System.Windows.Forms.Panel();
            this.sclviewertree = new SclViewerTree();
            // Legacy Tree initialization
            this.Panel2 = new System.Windows.Forms.Panel();
            this.PropertyGridAttributes = new System.Windows.Forms.PropertyGrid();
            this.splitContainer1        = new System.Windows.Forms.SplitContainer();

            this.mainMenu1       = new System.Windows.Forms.MainMenu(this.components);
            this.fileMenu        = new System.Windows.Forms.MenuItem();
            this.openItem        = new System.Windows.Forms.MenuItem();
            this.exitItem        = new System.Windows.Forms.MenuItem();
            this.editMenu        = new System.Windows.Forms.MenuItem();
            this.preferencesItem = new System.Windows.Forms.MenuItem();
            this.helpMenu        = new System.Windows.Forms.MenuItem();
            this.aboutItem       = new System.Windows.Forms.MenuItem();
            this.menuStrip1      = new System.Windows.Forms.MenuStrip();

            this.fileToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
            this.newToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
            this.openToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
            this.saveToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
            this.saveasToolStripMenuItem = new ToolStripMenuItem();
            this.exitToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
            this.helpToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
            this.aboutToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
            this.toolsToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();

            this.validateSCLFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();

            this.importIEDConfigToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();

            this.Exit       = new System.Windows.Forms.ToolBarButton();
            this.toolBar1   = new System.Windows.Forms.ToolBar();
            this.Separator1 = new System.Windows.Forms.ToolBarButton();

            this.New  = new System.Windows.Forms.ToolBarButton();
            this.Open = new System.Windows.Forms.ToolBarButton();
            this.save = new System.Windows.Forms.ToolBarButton();

            this.Separator2            = new System.Windows.Forms.ToolBarButton();
            this.statusStrip1          = new System.Windows.Forms.StatusStrip();
            this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();

            this.Panel1.SuspendLayout();

            this.Panel2.SuspendLayout();

            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();

            this.menuStrip1.SuspendLayout();
            this.statusStrip1.SuspendLayout();

            this.SuspendLayout();
            //
            // Panel1
            //
            this.Panel1.Controls.Add(this.sclviewertree);
            this.Panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.Panel1.Location = new System.Drawing.Point(0, 0);
            this.Panel1.Name     = "Panel1";
            //this.Panel1.Size = new System.Drawing.Size(347, 670);
            this.Panel1.TabIndex      = 0;
            this.Panel1.AutoSize      = true;
            this.sclviewertree.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.sclviewertree.Location     = new System.Drawing.Point(0, 0);
            this.sclviewertree.Name         = "SclTreeViewer";
            this.sclviewertree.Dock         = DockStyle.Fill;
            this.sclviewertree.TabIndex     = 0;
            this.sclviewertree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.sclviewertreeAfterSelect);
            //
            // Panel2
            //
            this.Panel2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.Panel2.Controls.Add(this.PropertyGridAttributes);

            this.Panel2.Location = new System.Drawing.Point(0, 0);
            this.Panel2.Name     = "Panel2";
            //this.Panel2.Size = new System.Drawing.Size(583, 670);
            this.Panel2.TabIndex = 2;
            //this.Panel2.AutoScroll = true;
            this.Panel2.AutoSize = true;

            //
            // PropertyGridAttributes
            //
            this.PropertyGridAttributes.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
            this.PropertyGridAttributes.Location = new System.Drawing.Point(1, 1);
            this.PropertyGridAttributes.Name     = "PropertyGridAttributes";
            this.PropertyGridAttributes.Dock     = DockStyle.Fill;
            //this.PropertyGridAttributes.Size = new System.Drawing.Size(580, 465);
            //this.PropertyGridAttributes.AutoScroll = true;
            //this.PropertyGridAttributes.AutoSize = true;
            this.PropertyGridAttributes.TabIndex              = 3;
            this.PropertyGridAttributes.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.PropertyGridAttributesPropertyValueChanged);
            //
            // splitContainer1
            //
            this.splitContainer1.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.splitContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.splitContainer1.Location    = new System.Drawing.Point(0, 52);
            this.splitContainer1.Name        = "splitContainer1";
            this.splitContainer1.Dock        = DockStyle.Fill;
            //this.splitContainer1.Size = new System.Drawing.Size(943, 672);
            //this.splitContainer1.MinimumSize = new System.Drawing.Size(300, 200);
            //this.splitContainer1.AutoSize = true;
            //this.splitContainer1.AutoScroll = true;
            //this.splitContainer1.SplitterDistance = 349;

            //
            // splitContainer1.Panel1
            //
            this.splitContainer1.Panel1.AutoScroll = true;

            this.splitContainer1.Panel1.Controls.Add(this.Panel1);
            //this.splitContainer1.AutoScrollMinSize = new System.Drawing.Size(943, 672);

            //
            // splitContainer1.Panel2
            //
            this.splitContainer1.Panel2.Controls.Add(this.Panel2);
            this.splitContainer1.Panel2.AutoScroll = true;
            this.splitContainer1.TabIndex          = 5;

            //
            // mainMenu1
            //
            this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                this.fileMenu,
                this.helpMenu
            });
            //
            // File Menu
            //
            this.fileMenu.Index = 0;
            this.fileMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                this.openItem,
                this.exitItem
            });
            this.fileMenu.OwnerDraw = true;
            this.fileMenu.Text      = "File";
            //
            // Open SCL File
            //
            this.openItem.Index     = 0;
            this.openItem.OwnerDraw = true;
            this.openItem.Text      = "Open";
            //
            // Exit Application
            //
            this.exitItem.Index     = 1;
            this.exitItem.OwnerDraw = true;
            this.exitItem.Text      = "Exit";
            this.exitItem.Click    += new System.EventHandler(this.exitApp);

            //
            // Preferences
            //
            this.preferencesItem.Index     = 1;
            this.preferencesItem.OwnerDraw = true;
            this.preferencesItem.Text      = "Preferences";
            this.preferencesItem.Click    += new System.EventHandler(this.OpenPreferencesDialog);

            //
            // Edit
            //
            this.editMenu.Index = 1;
            this.editMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                this.aboutItem
            });
            this.helpMenu.OwnerDraw = true;
            this.helpMenu.Text      = "Help";

            //
            // Help
            //
            this.helpMenu.Index = 1;
            this.helpMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                this.aboutItem
            });
            this.helpMenu.OwnerDraw = true;
            this.helpMenu.Text      = "Help";
            //
            // About
            //
            this.aboutItem.Index     = 0;
            this.aboutItem.OwnerDraw = true;
            this.aboutItem.Text      = "About";
            //
            // menuStrip1
            //
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.fileToolStripMenuItem,
                this.toolsToolStripMenuItem,
                this.helpToolStripMenuItem
            });
            this.menuStrip1.Location = new System.Drawing.Point(0, 0);
            this.menuStrip1.Name     = "menuStrip1";
            //this.menuStrip1.Size = new System.Drawing.Size(943, 24);
            //this.menuStrip1.AutoSize = true;
            this.menuStrip1.TabIndex = 0;
            this.menuStrip1.Text     = "menuStrip1";
            //
            // fileToolStripMenuItem
            //
            this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.newToolStripMenuItem,
                this.openToolStripMenuItem,
                this.saveToolStripMenuItem,
                this.saveasToolStripMenuItem,
                this.exitToolStripMenuItem
            });
            this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
            //this.fileToolStripMenuItem.Size = new System.Drawing.Size(53, 20);
            //this.fileToolStripMenuItem.AutoSize = true;
            this.fileToolStripMenuItem.Text = "Project";
            //
            // newToolStripMenuItem
            //
            this.newToolStripMenuItem.Name = "newToolStripMenuItem";
            //this.newToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
            //this.newToolStripMenuItem.AutoSize = true;
            this.newToolStripMenuItem.Text   = "New";
            this.newToolStripMenuItem.Click += new System.EventHandler(this.NewFile);
            //
            // openToolStripMenuItem
            //
            this.openToolStripMenuItem.Name = "openToolStripMenuItem";
            //this.openToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
            //this.openToolStripMenuItem.AutoSize = true;
            this.openToolStripMenuItem.Text   = "Open";
            this.openToolStripMenuItem.Click += new System.EventHandler(this.OpenFile);
            //
            // saveToolStripMenuItem
            //
            this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
            //this.saveToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
            //this.saveToolStripMenuItem.AutoSize = true;
            this.saveToolStripMenuItem.Text   = "Save";
            this.saveToolStripMenuItem.Click += new System.EventHandler(this.SaveFile);
            //
            // saveasToolStripMenuItem
            //
            this.saveasToolStripMenuItem.Name   = "saveasToolStripMenuItem";
            this.saveasToolStripMenuItem.Text   = "Save as...";
            this.saveasToolStripMenuItem.Click += new System.EventHandler(this.SaveAsFile);
            //
            // exitToolStripMenuItem
            //
            this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
            //this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
            //this.exitToolStripMenuItem.AutoSize = true;
            this.exitToolStripMenuItem.Text   = "Exit";
            this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitApp);
            //
            // helpToolStripMenuItem
            //
            this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.aboutToolStripMenuItem
            });
            this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
            //this.helpToolStripMenuItem.Size = new System.Drawing.Size(40, 20);
            //this.helpToolStripMenuItem.AutoSize = true;
            this.helpToolStripMenuItem.Text = "Help";
            //
            // aboutToolStripMenuItem
            //
            this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
            //this.aboutToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
            //this.aboutToolStripMenuItem.AutoSize = true;
            this.aboutToolStripMenuItem.Text   = "About";
            this.aboutToolStripMenuItem.Click += new System.EventHandler(this.AboutClick);
            //
            // toolsToolStripMenuItem
            //
            this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.validateSCLFileToolStripMenuItem,
                this.importIEDConfigToolStripMenuItem
            });
            this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
            //this.toolsToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
            //this.toolsToolStripMenuItem.AutoSize = true;
            this.toolsToolStripMenuItem.Text = "Tools";
            //
            // validateSCLFileToolStripMenuItem
            //
            this.validateSCLFileToolStripMenuItem.Name = "validateSCLFileToolStripMenuItem";
            //this.validateSCLFileToolStripMenuItem.Size = new System.Drawing.Size(161, 22);
            //this.validateSCLFileToolStripMenuItem.AutoSize = true;
            this.validateSCLFileToolStripMenuItem.Text   = "Validate SCL file";
            this.validateSCLFileToolStripMenuItem.Click += new System.EventHandler(this.ValidateFileClick);
            //
            // importIEDConfigToolStripMenuItem
            //
            this.importIEDConfigToolStripMenuItem.Name = "importIEDConfigToolStripMenuItem";
            //this.importIEDConfigToolStripMenuItem.Size = new System.Drawing.Size(161, 22);
            //this.importIEDConfigToolStripMenuItem.AutoSize = true;
            this.importIEDConfigToolStripMenuItem.Text   = "Import IED file";
            this.importIEDConfigToolStripMenuItem.Click += new System.EventHandler(this.ImportIEDClick);

            //
            // toolBar1
            //
            this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
            this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
                this.Separator1,
                this.New,
                this.Open,
                this.save,
                this.Separator2
            });
            this.toolBar1.ButtonSize = new System.Drawing.Size(16, 16);

            this.toolBar1.DropDownArrows = true;
            this.toolBar1.Location       = new System.Drawing.Point(0, 24);
            this.toolBar1.Name           = "toolBar1";
            this.toolBar1.ShowToolTips   = true;
            //this.toolBar1.Size = new System.Drawing.Size(943, 28);
            this.toolBar1.TabIndex     = 1;
            this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBarEvent);
            //
            // Separator1
            //
            this.Separator1.Name  = "Separator1";
            this.Separator1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
            //
            // New
            //
            this.New.ImageIndex  = 0;
            this.New.Name        = "New";
            this.New.ToolTipText = "New configuration file";
            //
            // Open
            //
            this.Open.ImageIndex  = 1;
            this.Open.Name        = "Open";
            this.Open.ToolTipText = "Open a configuration file";
            //
            // Salvar
            //
            this.save.ImageIndex  = 2;
            this.save.Name        = "Salvar";
            this.save.ToolTipText = "Save configuration file";
            //
            // Separator2
            //
            this.Separator2.Name  = "Separator2";
            this.Separator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
            //
            // statusStrip1
            //
            this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.toolStripStatusLabel1
            });
            this.statusStrip1.Location = new System.Drawing.Point(0, 724);
            this.statusStrip1.Name     = "statusStrip1";
            this.statusStrip1.Size     = new System.Drawing.Size(943, 22);
            this.statusStrip1.TabIndex = 4;
            this.statusStrip1.Text     = "Status Bar";
            //
            // toolStripStatusLabel1
            //
            this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
            this.toolStripStatusLabel1.Size = new System.Drawing.Size(0, 17);
            //
            // FormSCL
            //
            //this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            //this.ClientSize = new System.Drawing.Size(943, 746);
            this.Controls.Add(this.splitContainer1);
            this.Controls.Add(this.toolBar1);
            this.Controls.Add(this.menuStrip1);
            this.Controls.Add(this.statusStrip1);
            this.Name          = "FormSCL";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = this.AppName;
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            //this.AutoScroll = true;
            this.AutoSize = true;

            this.Load       += new System.EventHandler(this.Form1_Load);
            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FormSCLFormClosed);
            this.Panel1.ResumeLayout(false);
            this.Panel2.ResumeLayout(false);
            this.splitContainer1.Panel1.ResumeLayout(false);
            this.splitContainer1.Panel2.ResumeLayout(false);
            this.splitContainer1.ResumeLayout(false);
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.statusStrip1.ResumeLayout(false);
            this.statusStrip1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();
        }
Exemple #43
0
        protected override void SetDisplayedItems()
        {
            if (state[stateCalledSpringTableLayout])
            {
                bool rightToLeft = ((Orientation == Orientation.Horizontal) && (RightToLeft == RightToLeft.Yes));

                // shove all items that dont fit one pixel outside the displayed region
                Rectangle displayRect = DisplayRectangle;
                Point     noMansLand  = displayRect.Location;
                noMansLand.X += ClientSize.Width + 1;
                noMansLand.Y += ClientSize.Height + 1;
                bool      overflow       = false;
                Rectangle lastItemBounds = Rectangle.Empty;

                ToolStripItem lastItem = null;
                for (int i = 0; i < Items.Count; i++)
                {
                    ToolStripItem item = Items[i];

                    // using spring layout we can get into a situation where there's extra items which arent
                    // visible.
                    if (overflow || ((IArrangedElement)item).ParticipatesInLayout)
                    {
                        if (overflow || (SizingGrip && item.Bounds.IntersectsWith(SizeGripBounds)))
                        {
                            // if the item collides with the size grip, set the location to nomansland.
                            SetItemLocation(item, noMansLand);
                            item.SetPlacement(ToolStripItemPlacement.None);
                        }
                    }
                    else if (lastItem != null && (lastItemBounds.IntersectsWith(item.Bounds)))
                    {
                        // if it overlaps the previous element, set the location to nomansland.
                        SetItemLocation(item, noMansLand);
                        item.SetPlacement(ToolStripItemPlacement.None);
                    }
                    else if (item.Bounds.Width == 1)
                    {
                        ToolStripStatusLabel panel = item as ToolStripStatusLabel;
                        if (panel != null && panel.Spring)
                        {
                            // once we get down to one pixel, there can always be a one pixel
                            // distribution problem with the TLP - there's usually a spare one around.
                            // so set this off to nomansland as well.
                            SetItemLocation(item, noMansLand);
                            item.SetPlacement(ToolStripItemPlacement.None);
                        }
                    }


                    if (item.Bounds.Location != noMansLand)
                    {
                        // set the next item to inspect for collisions
                        lastItem       = item;
                        lastItemBounds = lastItem.Bounds;
                    }
                    else
                    {
                        // we cant fit an item, everything else after it should not be displayed
                        if (((IArrangedElement)item).ParticipatesInLayout)
                        {
                            overflow = true;
                        }
                    }
                }
            }
            base.SetDisplayedItems();
        }
Exemple #44
0
 ///
 /// Erforderliche Methode für die Designerunterstützung.
 /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
 ///
 private void InitializeComponent()
 {
     this.btnAbbrechen       = new System.Windows.Forms.Button();
     this.lblStatus2         = new System.Windows.Forms.ToolStripStatusLabel();
     this.statusStrip1       = new System.Windows.Forms.StatusStrip();
     this.prgBar             = new System.Windows.Forms.ToolStripProgressBar();
     this.btnProjectsHistory = new System.Windows.Forms.Button();
     this.btnHistory         = new System.Windows.Forms.Button();
     this.liviLastOpend      = new System.Windows.Forms.ListView();
     this.columnHeader4      = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader5      = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader6      = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.statusStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // btnAbbrechen
     //
     this.btnAbbrechen.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnAbbrechen.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnAbbrechen.Location                = new System.Drawing.Point(612, 418);
     this.btnAbbrechen.Name                    = "btnAbbrechen";
     this.btnAbbrechen.Size                    = new System.Drawing.Size(120, 24);
     this.btnAbbrechen.TabIndex                = 7;
     this.btnAbbrechen.Text                    = "Abbrechen";
     this.btnAbbrechen.UseVisualStyleBackColor = true;
     //
     // lblStatus2
     //
     this.lblStatus2.Margin = new System.Windows.Forms.Padding(2, 3, 0, 2);
     this.lblStatus2.Name   = "lblStatus2";
     this.lblStatus2.Size   = new System.Drawing.Size(235, 17);
     this.lblStatus2.Text   = "Letzte Änderung: 2009-10-23  - Johann Weiher";
     //
     // statusStrip1
     //
     this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.prgBar
     });
     this.statusStrip1.Location   = new System.Drawing.Point(0, 450);
     this.statusStrip1.Name       = "statusStrip1";
     this.statusStrip1.Size       = new System.Drawing.Size(744, 22);
     this.statusStrip1.SizingGrip = false;
     this.statusStrip1.TabIndex   = 13;
     this.statusStrip1.Text       = "statusStrip1";
     //
     // prgBar
     //
     this.prgBar.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
     this.prgBar.AutoSize  = false;
     this.prgBar.Name      = "prgBar";
     this.prgBar.Size      = new System.Drawing.Size(740, 16);
     //
     // btnProjectsHistory
     //
     this.btnProjectsHistory.Enabled  = false;
     this.btnProjectsHistory.Location = new System.Drawing.Point(486, 419);
     this.btnProjectsHistory.Name     = "btnProjectsHistory";
     this.btnProjectsHistory.Size     = new System.Drawing.Size(120, 23);
     this.btnProjectsHistory.TabIndex = 11;
     this.btnProjectsHistory.Text     = "Projekt(e) öffnen";
     this.btnProjectsHistory.UseVisualStyleBackColor = true;
     this.btnProjectsHistory.Click += new System.EventHandler(this.btnProjectsHistory_Click);
     //
     // btnHistory
     //
     this.btnHistory.Location = new System.Drawing.Point(360, 419);
     this.btnHistory.Name     = "btnHistory";
     this.btnHistory.Size     = new System.Drawing.Size(120, 23);
     this.btnHistory.TabIndex = 17;
     this.btnHistory.Text     = "History löschen";
     this.btnHistory.UseVisualStyleBackColor = true;
     this.btnHistory.Click += new System.EventHandler(this.btnHistory_Click);
     //
     // liviLastOpend
     //
     this.liviLastOpend.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader4,
         this.columnHeader5,
         this.columnHeader6
     });
     this.liviLastOpend.FullRowSelect = true;
     this.liviLastOpend.GridLines     = true;
     this.liviLastOpend.HideSelection = false;
     this.liviLastOpend.Location      = new System.Drawing.Point(12, 12);
     this.liviLastOpend.Name          = "liviLastOpend";
     this.liviLastOpend.Size          = new System.Drawing.Size(720, 400);
     this.liviLastOpend.TabIndex      = 10;
     this.liviLastOpend.UseCompatibleStateImageBehavior = false;
     this.liviLastOpend.View                  = System.Windows.Forms.View.Details;
     this.liviLastOpend.ColumnClick          += new System.Windows.Forms.ColumnClickEventHandler(this.liviLastOpend_ColumnClick);
     this.liviLastOpend.SelectedIndexChanged += new System.EventHandler(this.liviLastOpend_SelectedIndexChanged);
     this.liviLastOpend.DoubleClick          += new System.EventHandler(this.liviLastOpend_DoubleClick);
     //
     // columnHeader4
     //
     this.columnHeader4.Text  = "Projekt";
     this.columnHeader4.Width = 76;
     //
     // columnHeader5
     //
     this.columnHeader5.Text  = "Pfad";
     this.columnHeader5.Width = 89;
     //
     // columnHeader6
     //
     this.columnHeader6.Text  = "Erweiterung";
     this.columnHeader6.Width = 223;
     //
     // FrmProjectHistory
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.Control;
     this.CancelButton        = this.btnAbbrechen;
     this.ClientSize          = new System.Drawing.Size(744, 472);
     this.Controls.Add(this.btnHistory);
     this.Controls.Add(this.btnProjectsHistory);
     this.Controls.Add(this.liviLastOpend);
     this.Controls.Add(this.statusStrip1);
     this.Controls.Add(this.btnAbbrechen);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "FrmProjectHistory";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.SizeGripStyle   = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "ProjectHistory";
     this.Load           += new System.EventHandler(this.FrmSearchMacros_Load);
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemple #45
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HashFile));
     this.kryptonPanel1              = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kcbShowLength              = new ComponentFactory.Krypton.Toolkit.KryptonCheckBox();
     this.kbtnGenerateFileHash       = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.klblResult                 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.ctxResult                  = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.copyToolStripMenuItem      = new System.Windows.Forms.ToolStripMenuItem();
     this.kryptonLabel2              = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kcbxHashAlgorithimType     = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.kryptonLabel1              = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kbtnBrowse                 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kptxtApplicationExecutable = new ExtendedControls.ExtendedToolkit.Controls.KryptonPromptTextBox();
     this.kryptonLabel3              = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kbtnCancel                 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kryptonPanel2              = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnVarify                 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnSaveHash               = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.ss = new System.Windows.Forms.StatusStrip();
     this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
     this.tspbHashProgess       = new System.Windows.Forms.ToolStripProgressBar();
     this.tslHashProgressValue  = new System.Windows.Forms.ToolStripStatusLabel();
     this.panel1       = new System.Windows.Forms.Panel();
     this.bgwMD5       = new System.ComponentModel.BackgroundWorker();
     this.bgwSHA1      = new System.ComponentModel.BackgroundWorker();
     this.bgwSHA256    = new System.ComponentModel.BackgroundWorker();
     this.bgwSHA384    = new System.ComponentModel.BackgroundWorker();
     this.bgwSHA512    = new System.ComponentModel.BackgroundWorker();
     this.bgwRIPEMD160 = new System.ComponentModel.BackgroundWorker();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     this.ctxResult.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kcbxHashAlgorithimType)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     this.ss.SuspendLayout();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kcbShowLength);
     this.kryptonPanel1.Controls.Add(this.kbtnGenerateFileHash);
     this.kryptonPanel1.Controls.Add(this.klblResult);
     this.kryptonPanel1.Controls.Add(this.kryptonLabel2);
     this.kryptonPanel1.Controls.Add(this.kcbxHashAlgorithimType);
     this.kryptonPanel1.Controls.Add(this.kryptonLabel1);
     this.kryptonPanel1.Controls.Add(this.kbtnBrowse);
     this.kryptonPanel1.Controls.Add(this.kptxtApplicationExecutable);
     this.kryptonPanel1.Controls.Add(this.kryptonLabel3);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(853, 427);
     this.kryptonPanel1.TabIndex = 0;
     //
     // kcbShowLength
     //
     this.kcbShowLength.Location = new System.Drawing.Point(572, 109);
     this.kcbShowLength.Name     = "kcbShowLength";
     this.kcbShowLength.Size     = new System.Drawing.Size(119, 26);
     this.kcbShowLength.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbShowLength.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbShowLength.TabIndex    = 9;
     this.kcbShowLength.Values.Text = "Show &Length";
     //
     // kbtnGenerateFileHash
     //
     this.kbtnGenerateFileHash.Enabled  = false;
     this.kbtnGenerateFileHash.Location = new System.Drawing.Point(410, 109);
     this.kbtnGenerateFileHash.Name     = "kbtnGenerateFileHash";
     this.kbtnGenerateFileHash.Size     = new System.Drawing.Size(156, 27);
     this.kbtnGenerateFileHash.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnGenerateFileHash.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnGenerateFileHash.TabIndex    = 8;
     this.kbtnGenerateFileHash.Values.Text = "&Generate";
     this.kbtnGenerateFileHash.Click      += new System.EventHandler(this.KbtnGenerateFileHash_Click);
     //
     // klblResult
     //
     this.klblResult.AutoSize                    = false;
     this.klblResult.ContextMenuStrip            = this.ctxResult;
     this.klblResult.Location                    = new System.Drawing.Point(24, 217);
     this.klblResult.Name                        = "klblResult";
     this.klblResult.Size                        = new System.Drawing.Size(811, 73);
     this.klblResult.StateCommon.LongText.Font   = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblResult.StateCommon.LongText.TextH  = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.klblResult.StateCommon.LongText.TextV  = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.klblResult.StateCommon.ShortText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblResult.StateCommon.ShortText.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.klblResult.StateCommon.ShortText.TextV = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.klblResult.TabIndex                    = 7;
     this.klblResult.Values.Text                 = "";
     //
     // ctxResult
     //
     this.ctxResult.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.ctxResult.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.copyToolStripMenuItem
     });
     this.ctxResult.Name = "ctxResult";
     this.ctxResult.Size = new System.Drawing.Size(103, 26);
     //
     // copyToolStripMenuItem
     //
     this.copyToolStripMenuItem.Name   = "copyToolStripMenuItem";
     this.copyToolStripMenuItem.Size   = new System.Drawing.Size(102, 22);
     this.copyToolStripMenuItem.Text   = "C&opy";
     this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click);
     //
     // kryptonLabel2
     //
     this.kryptonLabel2.Location = new System.Drawing.Point(24, 170);
     this.kryptonLabel2.Name     = "kryptonLabel2";
     this.kryptonLabel2.Size     = new System.Drawing.Size(62, 26);
     this.kryptonLabel2.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel2.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel2.TabIndex    = 6;
     this.kryptonLabel2.Values.Text = "Result:";
     //
     // kcbxHashAlgorithimType
     //
     this.kcbxHashAlgorithimType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.kcbxHashAlgorithimType.DropDownWidth = 223;
     this.kcbxHashAlgorithimType.Items.AddRange(new object[] {
         "MD5",
         "SHA-1",
         "SHA-256",
         "SHA-384",
         "SHA-512",
         "RIPEMD-160"
     });
     this.kcbxHashAlgorithimType.Location = new System.Drawing.Point(181, 109);
     this.kcbxHashAlgorithimType.Name     = "kcbxHashAlgorithimType";
     this.kcbxHashAlgorithimType.Size     = new System.Drawing.Size(223, 27);
     this.kcbxHashAlgorithimType.StateCommon.ComboBox.Content.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbxHashAlgorithimType.StateCommon.ComboBox.Content.TextH      = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near;
     this.kcbxHashAlgorithimType.StateCommon.Item.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbxHashAlgorithimType.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbxHashAlgorithimType.TabIndex              = 5;
     this.kcbxHashAlgorithimType.SelectedIndexChanged += new System.EventHandler(this.KcbxHashAlgorithimType_SelectedIndexChanged);
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location = new System.Drawing.Point(24, 110);
     this.kryptonLabel1.Name     = "kryptonLabel1";
     this.kryptonLabel1.Size     = new System.Drawing.Size(138, 26);
     this.kryptonLabel1.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.TabIndex    = 4;
     this.kryptonLabel1.Values.Text = "Hash Algorithim:";
     //
     // kbtnBrowse
     //
     this.kbtnBrowse.Location = new System.Drawing.Point(800, 44);
     this.kbtnBrowse.Name     = "kbtnBrowse";
     this.kbtnBrowse.Size     = new System.Drawing.Size(35, 29);
     this.kbtnBrowse.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnBrowse.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnBrowse.TabIndex    = 3;
     this.kbtnBrowse.Values.Text = "...";
     this.kbtnBrowse.Click      += new System.EventHandler(this.KbtnBrowse_Click);
     //
     // kptxtApplicationExecutable
     //
     this.kptxtApplicationExecutable.DrawPrompt       = true;
     this.kptxtApplicationExecutable.FocusSelect      = true;
     this.kptxtApplicationExecutable.Font             = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kptxtApplicationExecutable.Location         = new System.Drawing.Point(181, 44);
     this.kptxtApplicationExecutable.Name             = "kptxtApplicationExecutable";
     this.kptxtApplicationExecutable.PromptForeColour = System.Drawing.SystemColors.GrayText;
     this.kptxtApplicationExecutable.PromptText       = "Executable Path";
     this.kptxtApplicationExecutable.PromptTypeface   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kptxtApplicationExecutable.Size             = new System.Drawing.Size(613, 29);
     this.kptxtApplicationExecutable.TabIndex         = 2;
     //
     // kryptonLabel3
     //
     this.kryptonLabel3.Location = new System.Drawing.Point(24, 45);
     this.kryptonLabel3.Name     = "kryptonLabel3";
     this.kryptonLabel3.Size     = new System.Drawing.Size(153, 26);
     this.kryptonLabel3.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel3.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel3.TabIndex    = 1;
     this.kryptonLabel3.Values.Text = "Application Binary:";
     //
     // kbtnCancel
     //
     this.kbtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kbtnCancel.Location     = new System.Drawing.Point(718, 17);
     this.kbtnCancel.Name         = "kbtnCancel";
     this.kbtnCancel.Size         = new System.Drawing.Size(117, 29);
     this.kbtnCancel.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.TabIndex    = 9;
     this.kbtnCancel.Values.Text = "&Cancel";
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.kbtnVarify);
     this.kryptonPanel2.Controls.Add(this.kbtnSaveHash);
     this.kryptonPanel2.Controls.Add(this.kbtnCancel);
     this.kryptonPanel2.Controls.Add(this.ss);
     this.kryptonPanel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel2.Location = new System.Drawing.Point(0, 343);
     this.kryptonPanel2.Name     = "kryptonPanel2";
     this.kryptonPanel2.Size     = new System.Drawing.Size(853, 84);
     this.kryptonPanel2.TabIndex = 2;
     //
     // kbtnVarify
     //
     this.kbtnVarify.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kbtnVarify.Location     = new System.Drawing.Point(12, 17);
     this.kbtnVarify.Name         = "kbtnVarify";
     this.kbtnVarify.Size         = new System.Drawing.Size(139, 29);
     this.kbtnVarify.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnVarify.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnVarify.TabIndex    = 11;
     this.kbtnVarify.Values.Text = "V&arify Hash";
     this.kbtnVarify.Click      += new System.EventHandler(this.KbtnVarify_Click);
     //
     // kbtnSaveHash
     //
     this.kbtnSaveHash.Enabled  = false;
     this.kbtnSaveHash.Location = new System.Drawing.Point(595, 17);
     this.kbtnSaveHash.Name     = "kbtnSaveHash";
     this.kbtnSaveHash.Size     = new System.Drawing.Size(117, 29);
     this.kbtnSaveHash.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnSaveHash.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnSaveHash.TabIndex    = 10;
     this.kbtnSaveHash.Values.Text = "S&ave";
     //
     // ss
     //
     this.ss.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.ss.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripStatusLabel1,
         this.tspbHashProgess,
         this.tslHashProgressValue
     });
     this.ss.Location   = new System.Drawing.Point(0, 62);
     this.ss.Name       = "ss";
     this.ss.RenderMode = System.Windows.Forms.ToolStripRenderMode.ManagerRenderMode;
     this.ss.Size       = new System.Drawing.Size(853, 22);
     this.ss.TabIndex   = 0;
     this.ss.Text       = "statusStrip1";
     //
     // toolStripStatusLabel1
     //
     this.toolStripStatusLabel1.Name      = "toolStripStatusLabel1";
     this.toolStripStatusLabel1.Size      = new System.Drawing.Size(838, 17);
     this.toolStripStatusLabel1.Spring    = true;
     this.toolStripStatusLabel1.Text      = "Ready";
     this.toolStripStatusLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tspbHashProgess
     //
     this.tspbHashProgess.Name    = "tspbHashProgess";
     this.tspbHashProgess.Size    = new System.Drawing.Size(100, 16);
     this.tspbHashProgess.Visible = false;
     //
     // tslHashProgressValue
     //
     this.tslHashProgressValue.Name    = "tslHashProgressValue";
     this.tslHashProgressValue.Size    = new System.Drawing.Size(31, 17);
     this.tslHashProgressValue.Text    = "{0}%";
     this.tslHashProgressValue.Visible = false;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location  = new System.Drawing.Point(0, 340);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(853, 3);
     this.panel1.TabIndex  = 3;
     //
     // bgwMD5
     //
     this.bgwMD5.WorkerReportsProgress      = true;
     this.bgwMD5.WorkerSupportsCancellation = true;
     this.bgwMD5.DoWork             += new System.ComponentModel.DoWorkEventHandler(this.bgwMD5_DoWork);
     this.bgwMD5.ProgressChanged    += new System.ComponentModel.ProgressChangedEventHandler(this.bgwMD5_ProgressChanged);
     this.bgwMD5.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bgwMD5_RunWorkerCompleted);
     //
     // bgwSHA1
     //
     this.bgwSHA1.WorkerReportsProgress      = true;
     this.bgwSHA1.WorkerSupportsCancellation = true;
     this.bgwSHA1.DoWork             += new System.ComponentModel.DoWorkEventHandler(this.bgwSHA1_DoWork);
     this.bgwSHA1.ProgressChanged    += new System.ComponentModel.ProgressChangedEventHandler(this.bgwSHA1_ProgressChanged);
     this.bgwSHA1.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bgwSHA1_RunWorkerCompleted);
     //
     // bgwSHA256
     //
     this.bgwSHA256.WorkerReportsProgress      = true;
     this.bgwSHA256.WorkerSupportsCancellation = true;
     this.bgwSHA256.DoWork             += new System.ComponentModel.DoWorkEventHandler(this.bgwSHA256_DoWork);
     this.bgwSHA256.ProgressChanged    += new System.ComponentModel.ProgressChangedEventHandler(this.bgwSHA256_ProgressChanged);
     this.bgwSHA256.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bgwSHA256_RunWorkerCompleted);
     //
     // bgwSHA384
     //
     this.bgwSHA384.WorkerReportsProgress      = true;
     this.bgwSHA384.WorkerSupportsCancellation = true;
     this.bgwSHA384.DoWork             += new System.ComponentModel.DoWorkEventHandler(this.bgwSHA384_DoWork);
     this.bgwSHA384.ProgressChanged    += new System.ComponentModel.ProgressChangedEventHandler(this.bgwSHA384_ProgressChanged);
     this.bgwSHA384.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bgwSHA384_RunWorkerCompleted);
     //
     // bgwSHA512
     //
     this.bgwSHA512.WorkerReportsProgress      = true;
     this.bgwSHA512.WorkerSupportsCancellation = true;
     this.bgwSHA512.DoWork             += new System.ComponentModel.DoWorkEventHandler(this.bgwSHA512_DoWork);
     this.bgwSHA512.ProgressChanged    += new System.ComponentModel.ProgressChangedEventHandler(this.bgwSHA512_ProgressChanged);
     this.bgwSHA512.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bgwSHA512_RunWorkerCompleted);
     //
     // bgwRIPEMD160
     //
     this.bgwRIPEMD160.WorkerReportsProgress      = true;
     this.bgwRIPEMD160.WorkerSupportsCancellation = true;
     this.bgwRIPEMD160.DoWork             += new System.ComponentModel.DoWorkEventHandler(this.bgwRIPEMD160_DoWork);
     this.bgwRIPEMD160.ProgressChanged    += new System.ComponentModel.ProgressChangedEventHandler(this.bgwRIPEMD160_ProgressChanged);
     this.bgwRIPEMD160.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bgwRIPEMD160_RunWorkerCompleted);
     //
     // HashFile
     //
     this.CancelButton = this.kbtnCancel;
     this.ClientSize   = new System.Drawing.Size(853, 427);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kryptonPanel2);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "HashFile";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Hash File";
     this.Load           += new System.EventHandler(this.HashFile_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     this.ctxResult.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kcbxHashAlgorithimType)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     this.kryptonPanel2.PerformLayout();
     this.ss.ResumeLayout(false);
     this.ss.PerformLayout();
     this.ResumeLayout(false);
 }
Exemple #46
0
 private void InitializeComponent()
 {
     this.statusStrip1               = new System.Windows.Forms.StatusStrip();
     this.tsslCurrentStatus          = new System.Windows.Forms.ToolStripStatusLabel();
     this.tspCopyProgress            = new System.Windows.Forms.ToolStripProgressBar();
     this.kryptonPanel1              = new Krypton.Toolkit.KryptonPanel();
     this.kryptonGroupBox1           = new Krypton.Toolkit.KryptonGroupBox();
     this.ktxtProjectPath            = new Krypton.Toolkit.KryptonTextBox();
     this.klbProjectFiles            = new Krypton.Toolkit.KryptonListBox();
     this.kryptonLabel1              = new Krypton.Toolkit.KryptonLabel();
     this.kbtnBrowseProjectDirectory = new Krypton.Toolkit.KryptonButton();
     this.kbtnClose                 = new Krypton.Toolkit.KryptonButton();
     this.kgbStageThree             = new Krypton.Toolkit.KryptonGroupBox();
     this.kgbStageTwo               = new Krypton.Toolkit.KryptonGroupBox();
     this.kbtnVarifyBackup          = new Krypton.Toolkit.KryptonButton();
     this.kbtnBackupProject         = new Krypton.Toolkit.KryptonButton();
     this.kchkCompressBackup        = new Krypton.Toolkit.KryptonCheckBox();
     this.kbtnBrowseBackupDirectory = new Krypton.Toolkit.KryptonButton();
     this.ktxtBackupDirectory       = new Krypton.Toolkit.KryptonTextBox();
     this.kryptonLabel2             = new Krypton.Toolkit.KryptonLabel();
     this.statusStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).BeginInit();
     this.kryptonGroupBox1.Panel.SuspendLayout();
     this.kryptonGroupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kgbStageThree)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kgbStageThree.Panel)).BeginInit();
     this.kgbStageThree.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kgbStageTwo)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kgbStageTwo.Panel)).BeginInit();
     this.kgbStageTwo.Panel.SuspendLayout();
     this.kgbStageTwo.SuspendLayout();
     this.SuspendLayout();
     //
     // statusStrip1
     //
     this.statusStrip1.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tsslCurrentStatus,
         this.tspCopyProgress
     });
     this.statusStrip1.Location   = new System.Drawing.Point(0, 453);
     this.statusStrip1.Name       = "statusStrip1";
     this.statusStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.ManagerRenderMode;
     this.statusStrip1.Size       = new System.Drawing.Size(1133, 22);
     this.statusStrip1.TabIndex   = 0;
     this.statusStrip1.Text       = "statusStrip1";
     //
     // tsslCurrentStatus
     //
     this.tsslCurrentStatus.Name      = "tsslCurrentStatus";
     this.tsslCurrentStatus.Size      = new System.Drawing.Size(985, 17);
     this.tsslCurrentStatus.Spring    = true;
     this.tsslCurrentStatus.Text      = "Ready";
     this.tsslCurrentStatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tspCopyProgress
     //
     this.tspCopyProgress.Name    = "tspCopyProgress";
     this.tspCopyProgress.Size    = new System.Drawing.Size(100, 16);
     this.tspCopyProgress.Visible = false;
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kryptonGroupBox1);
     this.kryptonPanel1.Controls.Add(this.kbtnClose);
     this.kryptonPanel1.Controls.Add(this.kgbStageThree);
     this.kryptonPanel1.Controls.Add(this.kgbStageTwo);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(1133, 453);
     this.kryptonPanel1.TabIndex = 1;
     //
     // kryptonGroupBox1
     //
     this.kryptonGroupBox1.Location = new System.Drawing.Point(17, 12);
     this.kryptonGroupBox1.Name     = "kryptonGroupBox1";
     //
     // kryptonGroupBox1.Panel
     //
     this.kryptonGroupBox1.Panel.Controls.Add(this.ktxtProjectPath);
     this.kryptonGroupBox1.Panel.Controls.Add(this.klbProjectFiles);
     this.kryptonGroupBox1.Panel.Controls.Add(this.kryptonLabel1);
     this.kryptonGroupBox1.Panel.Controls.Add(this.kbtnBrowseProjectDirectory);
     this.kryptonGroupBox1.Size = new System.Drawing.Size(411, 426);
     this.kryptonGroupBox1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonGroupBox1.TabIndex       = 12;
     this.kryptonGroupBox1.Values.Heading = "Step 1: Locate Project Files";
     //
     // ktxtProjectPath
     //
     this.ktxtProjectPath.Location = new System.Drawing.Point(17, 44);
     this.ktxtProjectPath.Name     = "ktxtProjectPath";
     this.ktxtProjectPath.Size     = new System.Drawing.Size(341, 26);
     this.ktxtProjectPath.StateCommon.Content.Font  = new System.Drawing.Font("Arial Narrow", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ktxtProjectPath.StateCommon.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.ktxtProjectPath.TabIndex     = 7;
     this.ktxtProjectPath.TextChanged += new System.EventHandler(this.ktxtProjectPath_TextChanged);
     //
     // klbProjectFiles
     //
     this.klbProjectFiles.Location = new System.Drawing.Point(17, 76);
     this.klbProjectFiles.Name     = "klbProjectFiles";
     this.klbProjectFiles.Size     = new System.Drawing.Size(378, 306);
     this.klbProjectFiles.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klbProjectFiles.TabIndex    = 5;
     this.klbProjectFiles.MouseEnter += new System.EventHandler(this.klbProjectFiles_MouseEnter);
     this.klbProjectFiles.MouseHover += new System.EventHandler(this.klbProjectFiles_MouseHover);
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location = new System.Drawing.Point(133, 16);
     this.kryptonLabel1.Name     = "kryptonLabel1";
     this.kryptonLabel1.Size     = new System.Drawing.Size(115, 22);
     this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.TabIndex    = 2;
     this.kryptonLabel1.Values.Text = "Project Files:";
     //
     // kbtnBrowseProjectDirectory
     //
     this.kbtnBrowseProjectDirectory.Location = new System.Drawing.Point(364, 44);
     this.kbtnBrowseProjectDirectory.Name     = "kbtnBrowseProjectDirectory";
     this.kbtnBrowseProjectDirectory.Size     = new System.Drawing.Size(31, 26);
     this.kbtnBrowseProjectDirectory.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnBrowseProjectDirectory.TabIndex    = 4;
     this.kbtnBrowseProjectDirectory.Values.Text = "..&.";
     this.kbtnBrowseProjectDirectory.Click      += new System.EventHandler(this.kbtnBrowseProjectDirectory_Click);
     //
     // kbtnClose
     //
     this.kbtnClose.Enabled  = false;
     this.kbtnClose.Location = new System.Drawing.Point(1025, 308);
     this.kbtnClose.Name     = "kbtnClose";
     this.kbtnClose.Size     = new System.Drawing.Size(96, 26);
     this.kbtnClose.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnClose.TabIndex    = 11;
     this.kbtnClose.Values.Text = "&Close";
     //
     // kgbStageThree
     //
     this.kgbStageThree.Enabled  = false;
     this.kgbStageThree.Location = new System.Drawing.Point(445, 151);
     this.kgbStageThree.Name     = "kgbStageThree";
     this.kgbStageThree.Size     = new System.Drawing.Size(676, 111);
     this.kgbStageThree.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kgbStageThree.TabIndex       = 6;
     this.kgbStageThree.Values.Heading = "Step 2: Migrate Project";
     //
     // kgbStageTwo
     //
     this.kgbStageTwo.Enabled  = false;
     this.kgbStageTwo.Location = new System.Drawing.Point(445, 12);
     this.kgbStageTwo.Name     = "kgbStageTwo";
     //
     // kgbStageTwo.Panel
     //
     this.kgbStageTwo.Panel.Controls.Add(this.kbtnVarifyBackup);
     this.kgbStageTwo.Panel.Controls.Add(this.kbtnBackupProject);
     this.kgbStageTwo.Panel.Controls.Add(this.kchkCompressBackup);
     this.kgbStageTwo.Panel.Controls.Add(this.kbtnBrowseBackupDirectory);
     this.kgbStageTwo.Panel.Controls.Add(this.ktxtBackupDirectory);
     this.kgbStageTwo.Panel.Controls.Add(this.kryptonLabel2);
     this.kgbStageTwo.Size = new System.Drawing.Size(676, 111);
     this.kgbStageTwo.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kgbStageTwo.TabIndex       = 5;
     this.kgbStageTwo.Values.Heading = "Step 2: Backup Project";
     //
     // kbtnVarifyBackup
     //
     this.kbtnVarifyBackup.Enabled  = false;
     this.kbtnVarifyBackup.Location = new System.Drawing.Point(455, 46);
     this.kbtnVarifyBackup.Name     = "kbtnVarifyBackup";
     this.kbtnVarifyBackup.Size     = new System.Drawing.Size(184, 26);
     this.kbtnVarifyBackup.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnVarifyBackup.TabIndex    = 10;
     this.kbtnVarifyBackup.Values.Text = "V&erify Backup";
     //
     // kbtnBackupProject
     //
     this.kbtnBackupProject.Enabled  = false;
     this.kbtnBackupProject.Location = new System.Drawing.Point(250, 46);
     this.kbtnBackupProject.Name     = "kbtnBackupProject";
     this.kbtnBackupProject.Size     = new System.Drawing.Size(184, 26);
     this.kbtnBackupProject.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnBackupProject.TabIndex    = 9;
     this.kbtnBackupProject.Values.Text = "&Backup Project";
     this.kbtnBackupProject.Click      += new System.EventHandler(this.kbtnBackupProject_Click);
     //
     // kchkCompressBackup
     //
     this.kchkCompressBackup.Location = new System.Drawing.Point(57, 50);
     this.kchkCompressBackup.Name     = "kchkCompressBackup";
     this.kchkCompressBackup.Size     = new System.Drawing.Size(159, 22);
     this.kchkCompressBackup.StateCommon.ShortText.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kchkCompressBackup.TabIndex    = 8;
     this.kchkCompressBackup.Values.Text = "&Compress Backup";
     //
     // kbtnBrowseBackupDirectory
     //
     this.kbtnBrowseBackupDirectory.Location = new System.Drawing.Point(630, 11);
     this.kbtnBrowseBackupDirectory.Name     = "kbtnBrowseBackupDirectory";
     this.kbtnBrowseBackupDirectory.Size     = new System.Drawing.Size(31, 26);
     this.kbtnBrowseBackupDirectory.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnBrowseBackupDirectory.TabIndex    = 7;
     this.kbtnBrowseBackupDirectory.Values.Text = "..&.";
     this.kbtnBrowseBackupDirectory.Click      += new System.EventHandler(this.KbtnBrowseBackupDirectory_Click);
     //
     // ktxtBackupDirectory
     //
     this.ktxtBackupDirectory.Location = new System.Drawing.Point(182, 11);
     this.ktxtBackupDirectory.Name     = "ktxtBackupDirectory";
     this.ktxtBackupDirectory.Size     = new System.Drawing.Size(442, 26);
     this.ktxtBackupDirectory.StateCommon.Content.Font  = new System.Drawing.Font("Arial Narrow", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ktxtBackupDirectory.StateCommon.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.ktxtBackupDirectory.TabIndex     = 6;
     this.ktxtBackupDirectory.TextChanged += new System.EventHandler(this.ktxtBackupDirectory_TextChanged);
     //
     // kryptonLabel2
     //
     this.kryptonLabel2.Location = new System.Drawing.Point(22, 13);
     this.kryptonLabel2.Name     = "kryptonLabel2";
     this.kryptonLabel2.Size     = new System.Drawing.Size(154, 22);
     this.kryptonLabel2.StateCommon.ShortText.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel2.TabIndex    = 5;
     this.kryptonLabel2.Values.Text = "Backup Directory:";
     //
     // KryptonMainWindow
     //
     this.ClientSize = new System.Drawing.Size(1133, 475);
     this.Controls.Add(this.kryptonPanel1);
     this.Controls.Add(this.statusStrip1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "KryptonMainWindow";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).EndInit();
     this.kryptonGroupBox1.Panel.ResumeLayout(false);
     this.kryptonGroupBox1.Panel.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).EndInit();
     this.kryptonGroupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kgbStageThree.Panel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kgbStageThree)).EndInit();
     this.kgbStageThree.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kgbStageTwo.Panel)).EndInit();
     this.kgbStageTwo.Panel.ResumeLayout(false);
     this.kgbStageTwo.Panel.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kgbStageTwo)).EndInit();
     this.kgbStageTwo.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     this.openFileDialog          = new System.Windows.Forms.OpenFileDialog();
     this.menuStrip               = new System.Windows.Forms.MenuStrip();
     this.fileToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     this.openToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     this.reloadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator1     = new System.Windows.Forms.ToolStripSeparator();
     this.closeToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     this.exitToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     this.splitContainer          = new System.Windows.Forms.SplitContainer();
     this.treeView             = new System.Windows.Forms.TreeView();
     this.imageList            = new System.Windows.Forms.ImageList(this.components);
     this.tabControl           = new System.Windows.Forms.TabControl();
     this.tabPage              = new System.Windows.Forms.TabPage();
     this.statusStrip          = new System.Windows.Forms.StatusStrip();
     this.toolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
     this.menuStrip.SuspendLayout();
     this.splitContainer.Panel1.SuspendLayout();
     this.splitContainer.Panel2.SuspendLayout();
     this.splitContainer.SuspendLayout();
     this.tabControl.SuspendLayout();
     this.statusStrip.SuspendLayout();
     this.SuspendLayout();
     //
     // openFileDialog
     //
     this.openFileDialog.DefaultExt = "*.sol";
     this.openFileDialog.Filter     = "SharedObject Files|*.sol|All Files|*.*";
     //
     // menuStrip
     //
     this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.fileToolStripMenuItem
     });
     this.menuStrip.Location   = new System.Drawing.Point(0, 0);
     this.menuStrip.Name       = "menuStrip";
     this.menuStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
     this.menuStrip.Size       = new System.Drawing.Size(654, 24);
     this.menuStrip.TabIndex   = 4;
     //
     // fileToolStripMenuItem
     //
     this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.openToolStripMenuItem,
         this.reloadToolStripMenuItem,
         this.toolStripSeparator1,
         this.closeToolStripMenuItem,
         this.exitToolStripMenuItem
     });
     this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
     this.fileToolStripMenuItem.Size = new System.Drawing.Size(35, 20);
     this.fileToolStripMenuItem.Text = "&File";
     //
     // openToolStripMenuItem
     //
     this.openToolStripMenuItem.Name   = "openToolStripMenuItem";
     this.openToolStripMenuItem.Size   = new System.Drawing.Size(118, 22);
     this.openToolStripMenuItem.Text   = "&Open";
     this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
     //
     // reloadToolStripMenuItem
     //
     this.reloadToolStripMenuItem.Enabled = false;
     this.reloadToolStripMenuItem.Name    = "reloadToolStripMenuItem";
     this.reloadToolStripMenuItem.Size    = new System.Drawing.Size(118, 22);
     this.reloadToolStripMenuItem.Text    = "&Reload";
     this.reloadToolStripMenuItem.Click  += new System.EventHandler(this.reloadToolStripMenuItem_Click);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(115, 6);
     //
     // closeToolStripMenuItem
     //
     this.closeToolStripMenuItem.Name   = "closeToolStripMenuItem";
     this.closeToolStripMenuItem.Size   = new System.Drawing.Size(118, 22);
     this.closeToolStripMenuItem.Text   = "&Close";
     this.closeToolStripMenuItem.Click += new System.EventHandler(this.closeToolStripMenuItem_Click);
     //
     // exitToolStripMenuItem
     //
     this.exitToolStripMenuItem.Name   = "exitToolStripMenuItem";
     this.exitToolStripMenuItem.Size   = new System.Drawing.Size(118, 22);
     this.exitToolStripMenuItem.Text   = "&Exit";
     this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
     //
     // splitContainer
     //
     this.splitContainer.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer.Location = new System.Drawing.Point(0, 24);
     this.splitContainer.Name     = "splitContainer";
     //
     // splitContainer.Panel1
     //
     this.splitContainer.Panel1.Controls.Add(this.treeView);
     //
     // splitContainer.Panel2
     //
     this.splitContainer.Panel2.Controls.Add(this.tabControl);
     this.splitContainer.Size             = new System.Drawing.Size(654, 426);
     this.splitContainer.SplitterDistance = 218;
     this.splitContainer.TabIndex         = 5;
     //
     // treeView
     //
     this.treeView.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.treeView.FullRowSelect      = true;
     this.treeView.ImageIndex         = 0;
     this.treeView.ImageList          = this.imageList;
     this.treeView.Location           = new System.Drawing.Point(6, 6);
     this.treeView.Name               = "treeView";
     this.treeView.SelectedImageIndex = 0;
     this.treeView.Size               = new System.Drawing.Size(211, 392);
     this.treeView.TabIndex           = 0;
     this.treeView.AfterSelect       += new System.Windows.Forms.TreeViewEventHandler(this.treeView_AfterSelect);
     //
     // imageList
     //
     this.imageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
     this.imageList.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList.Images.SetKeyName(0, "None");
     this.imageList.Images.SetKeyName(1, "Array");
     this.imageList.Images.SetKeyName(2, "ByteArray");
     this.imageList.Images.SetKeyName(3, "Date");
     this.imageList.Images.SetKeyName(4, "Int");
     this.imageList.Images.SetKeyName(5, "null");
     this.imageList.Images.SetKeyName(6, "Number");
     this.imageList.Images.SetKeyName(7, "Object");
     this.imageList.Images.SetKeyName(8, "String");
     this.imageList.Images.SetKeyName(9, "undefined");
     this.imageList.Images.SetKeyName(10, "XML");
     this.imageList.Images.SetKeyName(11, "Mixed");
     this.imageList.Images.SetKeyName(12, "Ref");
     this.imageList.Images.SetKeyName(13, "Boolean");
     this.imageList.Images.SetKeyName(14, "LostReference");
     this.imageList.Images.SetKeyName(15, "shared_object");
     //
     // tabControl
     //
     this.tabControl.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.tabControl.Controls.Add(this.tabPage);
     this.tabControl.ImageList     = this.imageList;
     this.tabControl.Location      = new System.Drawing.Point(0, 6);
     this.tabControl.Name          = "tabControl";
     this.tabControl.Padding       = new System.Drawing.Point(9, 5);
     this.tabControl.SelectedIndex = 0;
     this.tabControl.Size          = new System.Drawing.Size(429, 394);
     this.tabControl.TabIndex      = 1;
     this.tabControl.Visible       = false;
     //
     // tabPage
     //
     this.tabPage.Location = new System.Drawing.Point(4, 27);
     this.tabPage.Name     = "tabPage";
     this.tabPage.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage.Size     = new System.Drawing.Size(421, 363);
     this.tabPage.TabIndex = 1;
     this.tabPage.UseVisualStyleBackColor = true;
     //
     // statusStrip
     //
     this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripStatusLabel
     });
     this.statusStrip.Location = new System.Drawing.Point(0, 428);
     this.statusStrip.Name     = "statusStrip";
     this.statusStrip.Size     = new System.Drawing.Size(654, 22);
     this.statusStrip.TabIndex = 6;
     //
     // toolStripStatusLabel
     //
     this.toolStripStatusLabel.Margin   = new System.Windows.Forms.Padding(3, 3, 0, 2);
     this.toolStripStatusLabel.Name     = "toolStripStatusLabel";
     this.toolStripStatusLabel.Overflow = System.Windows.Forms.ToolStripItemOverflow.Never;
     this.toolStripStatusLabel.Size     = new System.Drawing.Size(42, 17);
     this.toolStripStatusLabel.Text     = "Ready.";
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(654, 450);
     this.Controls.Add(this.statusStrip);
     this.Controls.Add(this.splitContainer);
     this.Controls.Add(this.menuStrip);
     this.MainMenuStrip = this.menuStrip;
     this.Name          = "MainForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = " SharedObject Reader";
     this.Load         += new System.EventHandler(this.MainForm_Load);
     this.menuStrip.ResumeLayout(false);
     this.menuStrip.PerformLayout();
     this.splitContainer.Panel1.ResumeLayout(false);
     this.splitContainer.Panel2.ResumeLayout(false);
     this.splitContainer.ResumeLayout(false);
     this.tabControl.ResumeLayout(false);
     this.statusStrip.ResumeLayout(false);
     this.statusStrip.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemple #48
0
 /// <summary>
 /// This method is required for Windows Forms designer support.
 /// Do not change the method contents inside the source code editor. The Forms designer might
 /// not be able to load this method if it was changed manually.
 /// </summary>
 private void InitializeComponent()
 {
     this.listView            = new System.Windows.Forms.ListViewEx();
     this.columnLine          = new System.Windows.Forms.ColumnHeader();
     this.columnText          = new System.Windows.Forms.ColumnHeader();
     this.contextMenuStrip    = new System.Windows.Forms.ContextMenuStrip();
     this.removeBookmarksItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStrip           = new PluginCore.Controls.ToolStripEx();
     this.searchButton        = new System.Windows.Forms.ToolStripButton();
     this.searchBox           = new System.Windows.Forms.ToolStripSpringComboBox();
     this.statusStrip         = new System.Windows.Forms.StatusStrip();
     this.statusLabel         = new System.Windows.Forms.ToolStripStatusLabel();
     this.contextMenuStrip.SuspendLayout();
     this.toolStrip.SuspendLayout();
     this.statusStrip.SuspendLayout();
     this.SuspendLayout();
     //
     // listView
     //
     this.listView.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.listView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnLine,
         this.columnText
     });
     this.listView.LabelWrap        = false;
     this.listView.GridLines        = true;
     this.listView.ShowItemToolTips = true;
     this.listView.ContextMenuStrip = this.contextMenuStrip;
     this.listView.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.listView.FullRowSelect    = true;
     this.listView.HeaderStyle      = System.Windows.Forms.ColumnHeaderStyle.Clickable;
     this.listView.HideSelection    = false;
     this.listView.Name             = "listView";
     this.listView.Size             = new System.Drawing.Size(298, 324);
     this.listView.TabIndex         = 0;
     this.listView.UseCompatibleStateImageBehavior = false;
     this.listView.View         = System.Windows.Forms.View.Details;
     this.listView.DoubleClick += new System.EventHandler(this.ListViewDoubleClick);
     this.listView.KeyUp       += new System.Windows.Forms.KeyEventHandler(this.ListViewKeyUp);
     //
     // columnLine
     //
     this.columnLine.Text  = "Line";
     this.columnLine.Width = 55;
     //
     // columnText
     //
     this.columnText.Text  = "Text";
     this.columnText.Width = 250;
     //
     // contextMenuStrip
     //
     this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.removeBookmarksItem
     });
     this.contextMenuStrip.Name     = "contextMenuStrip";
     this.contextMenuStrip.Size     = new System.Drawing.Size(176, 26);
     this.contextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.ContextMenuStripOpening);
     //
     // removeBookmarksItem
     //
     this.removeBookmarksItem.Name   = "removeBookmarksItem";
     this.removeBookmarksItem.Size   = new System.Drawing.Size(175, 22);
     this.removeBookmarksItem.Text   = "Remove Bookmarks";
     this.removeBookmarksItem.Click += new System.EventHandler(this.RemoveBookmarksItemClick);
     //
     // toolStrip
     //
     this.toolStrip.CanOverflow = false;
     this.toolStrip.Dock        = System.Windows.Forms.DockStyle.Top;
     this.toolStrip.GripStyle   = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.searchButton,
         this.searchBox
     });
     this.toolStrip.Name     = "toolStrip";
     this.toolStrip.Padding  = new System.Windows.Forms.Padding(1, 1, 2, 2);
     this.toolStrip.Size     = new System.Drawing.Size(298, 26);
     this.toolStrip.Stretch  = true;
     this.toolStrip.TabIndex = 1;
     //
     // searchButton
     //
     this.searchButton.Margin       = new System.Windows.Forms.Padding(0, 1, 0, 1);
     this.searchButton.Alignment    = System.Windows.Forms.ToolStripItemAlignment.Right;
     this.searchButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.searchButton.Name         = "searchButton";
     this.searchButton.Size         = new System.Drawing.Size(23, 22);
     this.searchButton.ToolTipText  = "Search And Add Bookmarks";
     this.searchButton.Click       += new System.EventHandler(this.SearchButtonClick);
     //
     // searchBox
     //
     this.searchBox.FlatCombo.MaxLength = 200;
     this.searchBox.Name    = "searchBox";
     this.searchBox.Size    = new System.Drawing.Size(200, 22);
     this.searchBox.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0);
     this.searchBox.KeyUp  += new System.Windows.Forms.KeyEventHandler(this.SearchBoxKeyUp);
     //
     // statusStrip
     //
     this.statusStrip.BackColor = System.Drawing.SystemColors.Info;
     this.statusStrip.Dock      = System.Windows.Forms.DockStyle.Top;
     this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.statusLabel
     });
     this.statusStrip.Location   = new System.Drawing.Point(0, 25);
     this.statusStrip.Name       = "statusStrip";
     this.statusStrip.Size       = new System.Drawing.Size(300, 22);
     this.statusStrip.SizingGrip = false;
     this.statusStrip.TabIndex   = 2;
     this.statusStrip.Visible    = false;
     //
     // statusLabel
     //
     this.statusLabel.Name    = "statusLabel";
     this.statusLabel.Size    = new System.Drawing.Size(0, 17);
     this.statusLabel.Padding = new Padding(0, 2, 0, 0);
     //
     // PluginUI
     //
     this.Name = "PluginUI";
     this.Controls.Add(this.listView);
     this.Controls.Add(this.statusStrip);
     this.Controls.Add(this.toolStrip);
     this.Size = new System.Drawing.Size(300, 350);
     this.contextMenuStrip.ResumeLayout(false);
     this.toolStrip.ResumeLayout(false);
     this.toolStrip.PerformLayout();
     this.statusStrip.ResumeLayout(false);
     this.statusStrip.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemple #49
0
 /// <summary>
 /// This method is required for Windows Forms designer support.
 /// Do not change the method contents inside the source code editor. The Forms designer might
 /// not be able to load this method if it was changed manually.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmFamilia));
     this.label1         = new System.Windows.Forms.Label();
     this.statusStrip1   = new System.Windows.Forms.StatusStrip();
     this.lblInfo        = new System.Windows.Forms.ToolStripStatusLabel();
     this.txtCodigo      = new System.Windows.Forms.TextBox();
     this.label2         = new System.Windows.Forms.Label();
     this.txtDescripcion = new System.Windows.Forms.TextBox();
     this.btnCerrar      = new System.Windows.Forms.Button();
     this.btnGuardar     = new System.Windows.Forms.Button();
     this.statusStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(12, 14);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(55, 13);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Codigo*:";
     //
     // statusStrip1
     //
     this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.lblInfo
     });
     this.statusStrip1.Location = new System.Drawing.Point(0, 92);
     this.statusStrip1.Name     = "statusStrip1";
     this.statusStrip1.Size     = new System.Drawing.Size(319, 22);
     this.statusStrip1.TabIndex = 2;
     this.statusStrip1.Text     = "statusStrip1";
     //
     // lblInfo
     //
     this.lblInfo.Name = "lblInfo";
     this.lblInfo.Size = new System.Drawing.Size(0, 17);
     //
     // txtCodigo
     //
     this.txtCodigo.Location = new System.Drawing.Point(96, 7);
     this.txtCodigo.Name     = "txtCodigo";
     this.txtCodigo.Size     = new System.Drawing.Size(100, 20);
     this.txtCodigo.TabIndex = 4;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(12, 37);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(83, 13);
     this.label2.TabIndex = 5;
     this.label2.Text     = "Descripción*:";
     //
     // txtDescripcion
     //
     this.txtDescripcion.Location = new System.Drawing.Point(96, 30);
     this.txtDescripcion.Name     = "txtDescripcion";
     this.txtDescripcion.Size     = new System.Drawing.Size(217, 20);
     this.txtDescripcion.TabIndex = 6;
     //
     // btnCerrar
     //
     this.btnCerrar.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCerrar.Image                   = ((System.Drawing.Image)(resources.GetObject("btnCerrar.Image")));
     this.btnCerrar.ImageAlign              = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnCerrar.Location                = new System.Drawing.Point(221, 56);
     this.btnCerrar.Name                    = "btnCerrar";
     this.btnCerrar.Size                    = new System.Drawing.Size(92, 28);
     this.btnCerrar.TabIndex                = 7;
     this.btnCerrar.Text                    = "&Cerrar";
     this.btnCerrar.UseVisualStyleBackColor = true;
     //
     // btnGuardar
     //
     this.btnGuardar.Image      = ((System.Drawing.Image)(resources.GetObject("btnGuardar.Image")));
     this.btnGuardar.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnGuardar.Location   = new System.Drawing.Point(128, 56);
     this.btnGuardar.Name       = "btnGuardar";
     this.btnGuardar.Size       = new System.Drawing.Size(92, 28);
     this.btnGuardar.TabIndex   = 8;
     this.btnGuardar.Text       = "&Guardar";
     this.btnGuardar.UseVisualStyleBackColor = true;
     this.btnGuardar.Click += new System.EventHandler(this.BtnGuardarClick);
     //
     // FrmFamilia
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(319, 114);
     this.Controls.Add(this.btnCerrar);
     this.Controls.Add(this.btnGuardar);
     this.Controls.Add(this.txtDescripcion);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.txtCodigo);
     this.Controls.Add(this.statusStrip1);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.Name            = "FrmFamilia";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Familia";
     this.Load           += new System.EventHandler(this.FrmFamiliaLoad);
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemple #50
0
        /// <devdoc>
        /// Override this function if you want to do custom table layouts for the
        /// StatusStrip.  The default layoutstyle is tablelayout, and we need to play
        /// with the row/column styles
        /// </devdoc>
        protected virtual void OnSpringTableLayoutCore()
        {
            if (this.LayoutStyle == ToolStripLayoutStyle.Table)
            {
                state[stateCalledSpringTableLayout] = true;

                this.SuspendLayout();

                if (lastOrientation != Orientation)
                {
                    TableLayoutSettings settings = this.TableLayoutSettings;
                    settings.RowCount    = 0;
                    settings.ColumnCount = 0;
                    settings.ColumnStyles.Clear();
                    settings.RowStyles.Clear();
                }
                lastOrientation = Orientation;

                if (Orientation == Orientation.Horizontal)
                {
                    //
                    // Horizontal layout
                    //
                    TableLayoutSettings.GrowStyle = TableLayoutPanelGrowStyle.AddColumns;

                    int originalColumnCount = this.TableLayoutSettings.ColumnStyles.Count;

                    // iterate through the elements which are going to be displayed.
                    for (int i = 0; i < this.DisplayedItems.Count; i++)
                    {
                        if (i >= originalColumnCount)
                        {
                            // add if it's necessary.
                            this.TableLayoutSettings.ColumnStyles.Add(new ColumnStyle());
                        }

                        // determine if we "spring" or "autosize" the column
                        ToolStripStatusLabel panel = DisplayedItems[i] as ToolStripStatusLabel;
                        bool spring = (panel != null && panel.Spring);
                        DisplayedItems[i].Anchor = (spring) ? AllAnchor : VerticalAnchor;

                        // spring is achieved by using 100% as the column style
                        ColumnStyle colStyle = this.TableLayoutSettings.ColumnStyles[i];
                        colStyle.Width    = 100; // this width is ignored in AutoSize.
                        colStyle.SizeType = (spring) ? SizeType.Percent : SizeType.AutoSize;
                    }

                    if (TableLayoutSettings.RowStyles.Count > 1 || TableLayoutSettings.RowStyles.Count == 0)
                    {
                        TableLayoutSettings.RowStyles.Clear();
                        TableLayoutSettings.RowStyles.Add(new RowStyle());
                    }
                    TableLayoutSettings.RowCount = 1;

                    TableLayoutSettings.RowStyles[0].SizeType = SizeType.Absolute;
                    TableLayoutSettings.RowStyles[0].Height   = Math.Max(0, this.DisplayRectangle.Height);
                    TableLayoutSettings.ColumnCount           = DisplayedItems.Count + 1; // add an extra cell so it fills the remaining space

                    // dont remove the extra column styles, just set them back to autosize.
                    for (int i = DisplayedItems.Count; i < TableLayoutSettings.ColumnStyles.Count; i++)
                    {
                        this.TableLayoutSettings.ColumnStyles[i].SizeType = SizeType.AutoSize;
                    }
                }
                else
                {
                    //
                    // Vertical layout
                    //

                    TableLayoutSettings.GrowStyle = TableLayoutPanelGrowStyle.AddRows;

                    int originalRowCount = this.TableLayoutSettings.RowStyles.Count;

                    // iterate through the elements which are going to be displayed.
                    for (int i = 0; i < this.DisplayedItems.Count; i++)
                    {
                        if (i >= originalRowCount)
                        {
                            // add if it's necessary.
                            this.TableLayoutSettings.RowStyles.Add(new RowStyle());
                        }

                        // determine if we "spring" or "autosize" the row
                        ToolStripStatusLabel panel = DisplayedItems[i] as ToolStripStatusLabel;
                        bool spring = (panel != null && panel.Spring);
                        DisplayedItems[i].Anchor = (spring) ? AllAnchor : HorizontalAnchor;

                        // spring is achieved by using 100% as the row style
                        RowStyle rowStyle = this.TableLayoutSettings.RowStyles[i];
                        rowStyle.Height   = 100; // this width is ignored in AutoSize.
                        rowStyle.SizeType = (spring) ? SizeType.Percent : SizeType.AutoSize;
                    }
                    TableLayoutSettings.ColumnCount = 1;

                    if (TableLayoutSettings.ColumnStyles.Count > 1 || TableLayoutSettings.ColumnStyles.Count == 0)
                    {
                        TableLayoutSettings.ColumnStyles.Clear();
                        TableLayoutSettings.ColumnStyles.Add(new ColumnStyle());
                    }

                    TableLayoutSettings.ColumnCount = 1;
                    TableLayoutSettings.ColumnStyles[0].SizeType = SizeType.Absolute;
                    TableLayoutSettings.ColumnStyles[0].Width    = Math.Max(0, this.DisplayRectangle.Width);

                    TableLayoutSettings.RowCount = DisplayedItems.Count + 1; // add an extra cell so it fills the remaining space

                    // dont remove the extra column styles, just set them back to autosize.
                    for (int i = DisplayedItems.Count; i < TableLayoutSettings.RowStyles.Count; i++)
                    {
                        this.TableLayoutSettings.RowStyles[i].SizeType = SizeType.AutoSize;
                    }
                }

                this.ResumeLayout(false);
            }
        }
Exemple #51
0
 private void InitializeComponent()
 {
     this.kryptonPanel1        = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.scEdit               = new ScintillaNET.Scintilla();
     this.kryptonPanel2        = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnCreate           = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnOpen             = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnSaveFile         = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnOk               = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnCancel           = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.statusStrip1         = new System.Windows.Forms.StatusStrip();
     this.tslCurrentStatus     = new System.Windows.Forms.ToolStripStatusLabel();
     this.ksbZoomLevel         = new ExtendedControls.ExtendedToolkit.Controls.KryptonControls.ToolbarItems.KryptonSliderBar();
     this.tsslCurrentZoomLevel = new System.Windows.Forms.ToolStripStatusLabel();
     this.pnlSplitter          = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     this.statusStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.scEdit);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(870, 729);
     this.kryptonPanel1.TabIndex = 0;
     //
     // scEdit
     //
     this.scEdit.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.scEdit.Lexer        = ScintillaNET.Lexer.Xml;
     this.scEdit.Location     = new System.Drawing.Point(12, 12);
     this.scEdit.Name         = "scEdit";
     this.scEdit.Size         = new System.Drawing.Size(846, 697);
     this.scEdit.TabIndex     = 0;
     this.scEdit.Technology   = ScintillaNET.Technology.DirectWrite;
     this.scEdit.TextChanged += new System.EventHandler(this.scEdit_TextChanged);
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.kbtnCreate);
     this.kryptonPanel2.Controls.Add(this.kbtnOpen);
     this.kryptonPanel2.Controls.Add(this.kbtnSaveFile);
     this.kryptonPanel2.Controls.Add(this.kbtnOk);
     this.kryptonPanel2.Controls.Add(this.kbtnCancel);
     this.kryptonPanel2.Controls.Add(this.statusStrip1);
     this.kryptonPanel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel2.Location = new System.Drawing.Point(0, 732);
     this.kryptonPanel2.Name     = "kryptonPanel2";
     this.kryptonPanel2.Size     = new System.Drawing.Size(870, 71);
     this.kryptonPanel2.TabIndex = 1;
     //
     // kbtnCreate
     //
     this.kbtnCreate.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.kbtnCreate.Location = new System.Drawing.Point(258, 8);
     this.kbtnCreate.Name     = "kbtnCreate";
     this.kbtnCreate.Size     = new System.Drawing.Size(155, 29);
     this.kbtnCreate.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCreate.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCreate.TabIndex    = 19;
     this.kbtnCreate.Values.Text = "C&reate New File...";
     this.kbtnCreate.Click      += new System.EventHandler(this.kbtnCreate_Click);
     //
     // kbtnOpen
     //
     this.kbtnOpen.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.kbtnOpen.Location = new System.Drawing.Point(12, 8);
     this.kbtnOpen.Name     = "kbtnOpen";
     this.kbtnOpen.Size     = new System.Drawing.Size(117, 29);
     this.kbtnOpen.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOpen.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOpen.TabIndex    = 18;
     this.kbtnOpen.Values.Text = "&Open";
     this.kbtnOpen.Click      += new System.EventHandler(this.kbtnOpen_Click);
     //
     // kbtnSaveFile
     //
     this.kbtnSaveFile.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.kbtnSaveFile.Enabled  = false;
     this.kbtnSaveFile.Location = new System.Drawing.Point(135, 8);
     this.kbtnSaveFile.Name     = "kbtnSaveFile";
     this.kbtnSaveFile.Size     = new System.Drawing.Size(117, 29);
     this.kbtnSaveFile.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnSaveFile.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnSaveFile.TabIndex    = 17;
     this.kbtnSaveFile.Values.Text = "S&ave File...";
     this.kbtnSaveFile.Click      += new System.EventHandler(this.kbtnSaveFile_Click);
     //
     // kbtnOk
     //
     this.kbtnOk.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.kbtnOk.Location     = new System.Drawing.Point(618, 8);
     this.kbtnOk.Name         = "kbtnOk";
     this.kbtnOk.Size         = new System.Drawing.Size(117, 29);
     this.kbtnOk.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOk.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOk.TabIndex    = 16;
     this.kbtnOk.Values.Text = "O&k";
     this.kbtnOk.Click      += new System.EventHandler(this.kbtnOk_Click);
     //
     // kbtnCancel
     //
     this.kbtnCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kbtnCancel.Location     = new System.Drawing.Point(741, 8);
     this.kbtnCancel.Name         = "kbtnCancel";
     this.kbtnCancel.Size         = new System.Drawing.Size(117, 29);
     this.kbtnCancel.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.TabIndex    = 15;
     this.kbtnCancel.Values.Text = "&Cancel";
     this.kbtnCancel.Click      += new System.EventHandler(this.kbtnCancel_Click);
     //
     // statusStrip1
     //
     this.statusStrip1.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tslCurrentStatus,
         this.ksbZoomLevel,
         this.tsslCurrentZoomLevel
     });
     this.statusStrip1.Location   = new System.Drawing.Point(0, 48);
     this.statusStrip1.Name       = "statusStrip1";
     this.statusStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.ManagerRenderMode;
     this.statusStrip1.Size       = new System.Drawing.Size(870, 23);
     this.statusStrip1.TabIndex   = 0;
     this.statusStrip1.Text       = "statusStrip1";
     //
     // tslCurrentStatus
     //
     this.tslCurrentStatus.Name      = "tslCurrentStatus";
     this.tslCurrentStatus.Size      = new System.Drawing.Size(715, 18);
     this.tslCurrentStatus.Spring    = true;
     this.tslCurrentStatus.Text      = "Ready";
     this.tslCurrentStatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ksbZoomLevel
     //
     this.ksbZoomLevel.BackColor     = System.Drawing.Color.Transparent;
     this.ksbZoomLevel.Font          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ksbZoomLevel.Name          = "ksbZoomLevel";
     this.ksbZoomLevel.Size          = new System.Drawing.Size(140, 21);
     this.ksbZoomLevel.Steps         = 2;
     this.ksbZoomLevel.Text          = "kryptonSliderBar1";
     this.ksbZoomLevel.TrackerSize   = new System.Drawing.Size(140, 21);
     this.ksbZoomLevel.ValueChanged += new ExtendedControls.ExtendedToolkit.Controls.KryptonControls.ToolbarItems.KryptonSliderBar.ValueChangedEventHandler(this.ksbZoomLevel_ValueChanged);
     //
     // tsslCurrentZoomLevel
     //
     this.tsslCurrentZoomLevel.Name = "tsslCurrentZoomLevel";
     this.tsslCurrentZoomLevel.Size = new System.Drawing.Size(0, 18);
     //
     // pnlSplitter
     //
     this.pnlSplitter.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.pnlSplitter.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.pnlSplitter.Location  = new System.Drawing.Point(0, 729);
     this.pnlSplitter.Name      = "pnlSplitter";
     this.pnlSplitter.Size      = new System.Drawing.Size(870, 3);
     this.pnlSplitter.TabIndex  = 2;
     //
     // PaletteFileEditor
     //
     this.ClientSize = new System.Drawing.Size(870, 803);
     this.Controls.Add(this.pnlSplitter);
     this.Controls.Add(this.kryptonPanel2);
     this.Controls.Add(this.kryptonPanel1);
     this.Name  = "PaletteFileEditor";
     this.Load += new System.EventHandler(this.PaletteFileEditor_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     this.kryptonPanel2.PerformLayout();
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     this.ResumeLayout(false);
 }
        /// <summary>
        ///
        /// </summary>
        public void Load(Control ownerControl, Timer timer, Tracer tracer, StatusStrip targetStatusStrip)
        {
            _timer       = timer;
            _timer.Tick += new EventHandler(_timer_Tick);

            _tracer = tracer;
            _tracer.ItemAddedEvent += new Tracer.ItemUpdateDelegate(_tracer_ItemAddedEvent);

            _itemKeeperSink = (TracerItemKeeperSink)_tracer.GetSinkByType(typeof(TracerItemKeeperSink));

            _targetStatusStrip = targetStatusStrip;

            _ownerControl = ownerControl;

            separator1 = new ToolStripSeparator();
            separator2 = new ToolStripSeparator();

            this.toolStripStatusLabelSystemReport = new System.Windows.Forms.ToolStripStatusLabel();
            this.toolStripStatusLabelReport       = new System.Windows.Forms.ToolStripStatusLabel();
            this.toolStripStatusLabelReportsLink  = new System.Windows.Forms.ToolStripStatusLabel();
            this.toolStripStatusLabelWarningsLink = new System.Windows.Forms.ToolStripStatusLabel();
            this.toolStripStatusLabelErrorsLink   = new System.Windows.Forms.ToolStripStatusLabel();

            //
            // toolStripStatusLabelSystemReport
            //
            this.toolStripStatusLabelSystemReport.ForeColor = System.Drawing.SystemColors.InactiveCaptionText;
            this.toolStripStatusLabelSystemReport.Name      = "toolStripStatusLabelSystemReport";
            this.toolStripStatusLabelSystemReport.Size      = new System.Drawing.Size(78, 17);
            this.toolStripStatusLabelSystemReport.Text      = "System Report";
            //
            // toolStripStatusLabelReport
            //
            //this.toolStripStatusLabelReport.Image = ((System.Drawing.Image)(resources.GetObject("toolStripStatusLabelReport.Image")));
            this.toolStripStatusLabelReport.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.toolStripStatusLabelReport.IsLink     = false;
            this.toolStripStatusLabelReport.LinkColor  = System.Drawing.SystemColors.HighlightText;
            this.toolStripStatusLabelReport.Name       = "toolStripStatusLabelReport";
            this.toolStripStatusLabelReport.Size       = new System.Drawing.Size(127, 17);
            this.toolStripStatusLabelReport.Spring     = true;
            this.toolStripStatusLabelReport.Text       = "toolStripStatusLabel1";
            this.toolStripStatusLabelReport.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // toolStripStatusLabelReportsLink
            //
            this.toolStripStatusLabelReportsLink.IsLink    = false;
            this.toolStripStatusLabelReportsLink.LinkColor = System.Drawing.SystemColors.HighlightText;
            this.toolStripStatusLabelReportsLink.Name      = "toolStripStatusLabelReportsLink";
            this.toolStripStatusLabelReportsLink.Size      = new System.Drawing.Size(54, 17);
            this.toolStripStatusLabelReportsLink.Text      = "0 Reports";
            //
            // toolStripStatusLabelWarningsLink
            //
            this.toolStripStatusLabelWarningsLink.IsLink    = false;
            this.toolStripStatusLabelWarningsLink.LinkColor = System.Drawing.SystemColors.HighlightText;
            this.toolStripStatusLabelWarningsLink.Name      = "toolStripStatusLabelWarningsLink";
            this.toolStripStatusLabelWarningsLink.Size      = new System.Drawing.Size(61, 17);
            this.toolStripStatusLabelWarningsLink.Text      = "0 Warnings";
            //
            // toolStripStatusLabelErrorsLink
            //
            this.toolStripStatusLabelErrorsLink.IsLink    = false;
            this.toolStripStatusLabelErrorsLink.LinkColor = System.Drawing.SystemColors.HighlightText;
            this.toolStripStatusLabelErrorsLink.Name      = "toolStripStatusLabelErrorsLink";
            this.toolStripStatusLabelErrorsLink.Size      = new System.Drawing.Size(45, 17);
            this.toolStripStatusLabelErrorsLink.Text      = "0 Errors";

            targetStatusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[]
            {
//                separator1,
                this.toolStripStatusLabelSystemReport,
                this.toolStripStatusLabelReport,
                separator2,
                this.toolStripStatusLabelErrorsLink,
                this.toolStripStatusLabelWarningsLink,
                this.toolStripStatusLabelReportsLink,
            });

            ShowItem(null);
        }
Exemple #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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConnectionForm));
     this.lblTitle    = new System.Windows.Forms.Label();
     this.statusBar1  = new System.Windows.Forms.StatusStrip();
     this.pnlStatus   = new System.Windows.Forms.ToolStripStatusLabel();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.lblVersion  = new System.Windows.Forms.Label();
     this.sqlConnect1 = new SqlSync.SQLConnect(lastAuthenticationType);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // lblTitle
     //
     this.lblTitle.Font      = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblTitle.ForeColor = System.Drawing.Color.LightSlateGray;
     this.lblTitle.Location  = new System.Drawing.Point(40, 10);
     this.lblTitle.Name      = "lblTitle";
     this.lblTitle.Size      = new System.Drawing.Size(260, 27);
     this.lblTitle.TabIndex  = 1;
     this.lblTitle.Text      = "Sql Build Manager";
     this.lblTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 424);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Items.AddRange(new System.Windows.Forms.ToolStripStatusLabel[] {
         this.pnlStatus
     });
     //this.statusBar1.ShowPanels = true;
     this.statusBar1.Size     = new System.Drawing.Size(287, 28);
     this.statusBar1.TabIndex = 2;
     this.statusBar1.Text     = "statusBar1";
     //
     // pnlStatus
     //
     this.pnlStatus.AutoSize = true;
     this.pnlStatus.Spring   = true;
     this.pnlStatus.Name     = "pnlStatus";
     this.pnlStatus.Text     = "Enumerating Sql Server List...";
     this.pnlStatus.Width    = 266;
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(298, 3);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(38, 41);
     this.pictureBox1.TabIndex = 3;
     this.pictureBox1.TabStop  = false;
     //
     // lblVersion
     //
     this.lblVersion.AutoSize  = true;
     this.lblVersion.Font      = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblVersion.ForeColor = System.Drawing.SystemColors.Highlight;
     this.lblVersion.Location  = new System.Drawing.Point(4, 473);
     this.lblVersion.Name      = "lblVersion";
     this.lblVersion.Size      = new System.Drawing.Size(54, 15);
     this.lblVersion.TabIndex  = 4;
     this.lblVersion.Text      = "Version: ";
     //
     // sqlConnect1
     //
     this.sqlConnect1.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.sqlConnect1.DisplayDatabaseDropDown = false;
     this.sqlConnect1.Enabled            = false;
     this.sqlConnect1.Location           = new System.Drawing.Point(11, 40);
     this.sqlConnect1.Name               = "sqlConnect1";
     this.sqlConnect1.Size               = new System.Drawing.Size(260, 356);
     this.sqlConnect1.TabIndex           = 0;
     this.sqlConnect1.ServerConnected   += new SqlSync.ServerConnectedEventHandler(this.sqlConnect1_ServerConnected);
     this.sqlConnect1.ServersEnumerated += new SqlSync.ServersEnumeratedEventHandler(this.sqlConnect1_ServersEnumerated);
     //
     // ConnectionForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.ClientSize        = new System.Drawing.Size(287, 452);
     this.Controls.Add(this.lblVersion);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.statusBar1);
     this.Controls.Add(this.lblTitle);
     this.Controls.Add(this.sqlConnect1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview      = true;
     this.Name            = "ConnectionForm";
     this.Text            = "Initalize Sql Server Connection";
     this.Load           += new System.EventHandler(this.ConnectionForm_Load);
     this.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.ConnectionForm_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <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(ObjectValidation));
     this.label2                  = new System.Windows.Forms.Label();
     this.ddDatabaseList          = new System.Windows.Forms.ComboBox();
     this.statusBar1              = new System.Windows.Forms.StatusStrip();
     this.statStatus              = new System.Windows.Forms.ToolStripStatusLabel();
     this.btnValidate             = new System.Windows.Forms.Button();
     this.lstResults              = new System.Windows.Forms.ListView();
     this.columnHeader1           = new System.Windows.Forms.ColumnHeader();
     this.columnHeader2           = new System.Windows.Forms.ColumnHeader();
     this.columnHeader3           = new System.Windows.Forms.ColumnHeader();
     this.columnHeader4           = new System.Windows.Forms.ColumnHeader();
     this.contextMenu1            = new System.Windows.Forms.ContextMenuStrip();
     this.mnuCopy                 = new System.Windows.Forms.ToolStripMenuItem();
     this.mnuCopyInvalid          = new System.Windows.Forms.ToolStripMenuItem();
     this.menuItem2               = new System.Windows.Forms.ToolStripMenuItem();
     this.mnuViewObjectScript     = new System.Windows.Forms.ToolStripMenuItem();
     this.pnlWarning              = new System.Windows.Forms.Panel();
     this.label1                  = new System.Windows.Forms.Label();
     this.pictureBox1             = new System.Windows.Forms.PictureBox();
     this.bgworker                = new System.ComponentModel.BackgroundWorker();
     this.btnCancel               = new System.Windows.Forms.Button();
     this.menuStrip1              = new System.Windows.Forms.MenuStrip();
     this.actionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.changeSqlServerConnectionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.settingsControl1   = new SqlSync.SettingsControl();
     this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
     this.pnlWarning.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.menuStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // label2
     //
     this.label2.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(12, 93);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(112, 16);
     this.label2.TabIndex = 19;
     this.label2.Text     = "Select Database:";
     //
     // ddDatabaseList
     //
     this.ddDatabaseList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ddDatabaseList.Location      = new System.Drawing.Point(13, 112);
     this.ddDatabaseList.Name          = "ddDatabaseList";
     this.ddDatabaseList.Size          = new System.Drawing.Size(176, 21);
     this.ddDatabaseList.TabIndex      = 18;
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 427);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Items.AddRange(new System.Windows.Forms.ToolStripStatusLabel[] {
         this.statStatus
     });
     //this.statusBar1.ShowPanels = true;
     this.statusBar1.Size     = new System.Drawing.Size(910, 22);
     this.statusBar1.TabIndex = 21;
     this.statusBar1.Text     = "statusBar1";
     //
     // statStatus
     //
     this.statStatus.AutoSize = true;
     this.statStatus.Spring   = true;
     this.statStatus.Name     = "statStatus";
     this.statStatus.Text     = "Ready";
     this.statStatus.Width    = 893;
     //
     // btnValidate
     //
     this.btnValidate.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnValidate.Location  = new System.Drawing.Point(201, 111);
     this.btnValidate.Name      = "btnValidate";
     this.btnValidate.Size      = new System.Drawing.Size(112, 23);
     this.btnValidate.TabIndex  = 23;
     this.btnValidate.Text      = "Validate Objects";
     this.btnValidate.Click    += new System.EventHandler(this.btnValidate_Click);
     //
     // lstResults
     //
     this.lstResults.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.lstResults.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1,
         this.columnHeader2,
         this.columnHeader3,
         this.columnHeader4
     });
     this.lstResults.ContextMenuStrip = this.contextMenu1;
     this.lstResults.FullRowSelect    = true;
     this.lstResults.GridLines        = true;
     this.lstResults.Location         = new System.Drawing.Point(8, 141);
     this.lstResults.Name             = "lstResults";
     this.lstResults.Size             = new System.Drawing.Size(886, 280);
     this.lstResults.TabIndex         = 24;
     this.lstResults.UseCompatibleStateImageBehavior = false;
     this.lstResults.View         = System.Windows.Forms.View.Details;
     this.lstResults.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.lstResults_ColumnClick);
     //
     // columnHeader1
     //
     this.columnHeader1.Text  = "Object Name";
     this.columnHeader1.Width = 303;
     //
     // columnHeader2
     //
     this.columnHeader2.Text  = "Type";
     this.columnHeader2.Width = 43;
     //
     // columnHeader3
     //
     this.columnHeader3.Text  = "Results";
     this.columnHeader3.Width = 407;
     //
     // columnHeader4
     //
     this.columnHeader4.Text  = "Status Type";
     this.columnHeader4.Width = 106;
     //
     // contextMenu1
     //
     this.contextMenu1.Items.AddRange(new System.Windows.Forms.ToolStripMenuItem[] {
         this.mnuCopy,
         this.mnuCopyInvalid,
         this.menuItem2,
         this.mnuViewObjectScript
     });
     //
     // mnuCopy
     //
     // this.mnuCopy.Index = 0;
     this.mnuCopy.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C;
     this.mnuCopy.Text         = "Copy";
     this.mnuCopy.Click       += new System.EventHandler(this.mnuCopy_Click);
     //
     // mnuCopyInvalid
     //
     // this.mnuCopyInvalid.Index = 1;
     this.mnuCopyInvalid.Text   = "Copy Invalid Objects";
     this.mnuCopyInvalid.Click += new System.EventHandler(this.mnuCopyInvalid_Click);
     //
     // menuItem2
     //
     //this.menuItem2.Index = 2;
     this.menuItem2.Text = "-";
     //
     // mnuViewObjectScript
     //
     //this.mnuViewObjectScript.Index = 3;
     this.mnuViewObjectScript.Text   = "View Object Script";
     this.mnuViewObjectScript.Click += new System.EventHandler(this.mnuViewObjectScript_Click);
     //
     // pnlWarning
     //
     this.pnlWarning.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.pnlWarning.BackColor = System.Drawing.Color.White;
     this.pnlWarning.Controls.Add(this.label1);
     this.pnlWarning.Controls.Add(this.pictureBox1);
     this.pnlWarning.Location = new System.Drawing.Point(421, 89);
     this.pnlWarning.Name     = "pnlWarning";
     this.pnlWarning.Size     = new System.Drawing.Size(324, 46);
     this.pnlWarning.TabIndex = 26;
     this.pnlWarning.Visible  = false;
     //
     // label1
     //
     this.label1.Font     = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(52, 12);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(270, 23);
     this.label1.TabIndex = 26;
     this.label1.Text     = "Warning! Invalid Objects Detected.";
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(4, 2);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(44, 40);
     this.pictureBox1.TabIndex = 25;
     this.pictureBox1.TabStop  = false;
     //
     // bgworker
     //
     this.bgworker.WorkerReportsProgress      = true;
     this.bgworker.WorkerSupportsCancellation = true;
     this.bgworker.DoWork             += new System.ComponentModel.DoWorkEventHandler(this.bgworker_DoWork);
     this.bgworker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bgworker_RunWorkerCompleted);
     this.bgworker.ProgressChanged    += new System.ComponentModel.ProgressChangedEventHandler(this.bgworker_ProgressChanged);
     //
     // btnCancel
     //
     this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnCancel.Location  = new System.Drawing.Point(319, 110);
     this.btnCancel.Name      = "btnCancel";
     this.btnCancel.Size      = new System.Drawing.Size(70, 23);
     this.btnCancel.TabIndex  = 27;
     this.btnCancel.Text      = "Cancel";
     this.btnCancel.Click    += new System.EventHandler(this.btnCancel_Click);
     //
     // menuStrip1
     //
     this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.actionToolStripMenuItem,
         this.toolStripMenuItem1
     });
     this.menuStrip1.Location = new System.Drawing.Point(0, 0);
     this.menuStrip1.Name     = "menuStrip1";
     this.menuStrip1.Size     = new System.Drawing.Size(910, 24);
     this.menuStrip1.TabIndex = 28;
     this.menuStrip1.Text     = "menuStrip1";
     //
     // actionToolStripMenuItem
     //
     this.actionToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.changeSqlServerConnectionToolStripMenuItem
     });
     this.actionToolStripMenuItem.Image = global::SqlSync.Properties.Resources.Execute;
     this.actionToolStripMenuItem.Name  = "actionToolStripMenuItem";
     this.actionToolStripMenuItem.Size  = new System.Drawing.Size(65, 20);
     this.actionToolStripMenuItem.Text  = "Action";
     //
     // changeSqlServerConnectionToolStripMenuItem
     //
     this.changeSqlServerConnectionToolStripMenuItem.Image  = global::SqlSync.Properties.Resources.Server1;
     this.changeSqlServerConnectionToolStripMenuItem.Name   = "changeSqlServerConnectionToolStripMenuItem";
     this.changeSqlServerConnectionToolStripMenuItem.Size   = new System.Drawing.Size(231, 22);
     this.changeSqlServerConnectionToolStripMenuItem.Text   = "Change Sql Server Connection";
     this.changeSqlServerConnectionToolStripMenuItem.Click += new System.EventHandler(this.mnuChangeSqlServer_Click);
     //
     // settingsControl1
     //
     this.settingsControl1.BackColor        = System.Drawing.Color.White;
     this.settingsControl1.Dock             = System.Windows.Forms.DockStyle.Top;
     this.settingsControl1.Location         = new System.Drawing.Point(0, 24);
     this.settingsControl1.Name             = "settingsControl1";
     this.settingsControl1.Project          = "";
     this.settingsControl1.ProjectLabelText = "";
     this.settingsControl1.Server           = "";
     this.settingsControl1.Size             = new System.Drawing.Size(910, 54);
     this.settingsControl1.TabIndex         = 20;
     this.settingsControl1.ServerChanged   += new SqlSync.ServerChangedEventHandler(this.settingsControl1_ServerChanged);
     //
     // toolStripMenuItem1
     //
     this.toolStripMenuItem1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
     this.toolStripMenuItem1.Image     = global::SqlSync.Properties.Resources.Help_2;
     this.toolStripMenuItem1.Name      = "toolStripMenuItem1";
     this.toolStripMenuItem1.Size      = new System.Drawing.Size(28, 20);
     this.toolStripMenuItem1.Click    += new System.EventHandler(this.toolStripMenuItem1_Click);
     //
     // ObjectValidation
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(910, 449);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.pnlWarning);
     this.Controls.Add(this.lstResults);
     this.Controls.Add(this.btnValidate);
     this.Controls.Add(this.statusBar1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.ddDatabaseList);
     this.Controls.Add(this.settingsControl1);
     this.Controls.Add(this.menuStrip1);
     this.Font          = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview    = true;
     this.MainMenuStrip = this.menuStrip1;
     this.Name          = "ObjectValidation";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Sql Build Manager :: Database Object Validation";
     this.Load         += new System.EventHandler(this.ObjectValidation_Load);
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.ObjectValidation_KeyDown);
     this.pnlWarning.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.menuStrip1.ResumeLayout(false);
     this.menuStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemple #55
0
 private void InitializeComponent()
 {
     this.kryptonPanel1       = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnAccept          = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnCancel          = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.statusStrip1        = new System.Windows.Forms.StatusStrip();
     this.tslStatus           = new System.Windows.Forms.ToolStripStatusLabel();
     this.kryptonPanel2       = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.tsMenu              = new System.Windows.Forms.ToolStrip();
     this.tsbImport           = new System.Windows.Forms.ToolStripButton();
     this.tsbExport           = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbBold             = new System.Windows.Forms.ToolStripButton();
     this.tsbItalic           = new System.Windows.Forms.ToolStripButton();
     this.tsbUnderline        = new System.Windows.Forms.ToolStripButton();
     this.tsbStrikethrough    = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.tscmbTextSize       = new System.Windows.Forms.ToolStripComboBox();
     this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbProperties       = new System.Windows.Forms.ToolStripButton();
     this.kryptonPanel3       = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kptxtTypefaceFilter = new ExtendedControls.ExtendedToolkit.Controls.KryptonPromptTextBox();
     this.ktxtSampleText      = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.klstTypefaces       = new ComponentFactory.Krypton.Toolkit.KryptonListBox();
     this.panel1              = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     this.statusStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     this.tsMenu.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel3)).BeginInit();
     this.kryptonPanel3.SuspendLayout();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kbtnAccept);
     this.kryptonPanel1.Controls.Add(this.kbtnCancel);
     this.kryptonPanel1.Controls.Add(this.statusStrip1);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 742);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(1115, 77);
     this.kryptonPanel1.TabIndex = 0;
     //
     // kbtnAccept
     //
     this.kbtnAccept.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnAccept.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.kbtnAccept.Location     = new System.Drawing.Point(863, 16);
     this.kbtnAccept.Name         = "kbtnAccept";
     this.kbtnAccept.Size         = new System.Drawing.Size(144, 26);
     this.kbtnAccept.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnAccept.TabIndex    = 6;
     this.kbtnAccept.Values.Text = "&Use Typeface";
     //
     // kbtnCancel
     //
     this.kbtnCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kbtnCancel.Location     = new System.Drawing.Point(1013, 16);
     this.kbtnCancel.Name         = "kbtnCancel";
     this.kbtnCancel.Size         = new System.Drawing.Size(90, 26);
     this.kbtnCancel.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.TabIndex    = 5;
     this.kbtnCancel.Values.Text = "C&ancel";
     //
     // statusStrip1
     //
     this.statusStrip1.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tslStatus
     });
     this.statusStrip1.Location   = new System.Drawing.Point(0, 55);
     this.statusStrip1.Name       = "statusStrip1";
     this.statusStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.ManagerRenderMode;
     this.statusStrip1.Size       = new System.Drawing.Size(1115, 22);
     this.statusStrip1.TabIndex   = 0;
     this.statusStrip1.Text       = "statusStrip1";
     //
     // tslStatus
     //
     this.tslStatus.Name      = "tslStatus";
     this.tslStatus.Size      = new System.Drawing.Size(1100, 17);
     this.tslStatus.Spring    = true;
     this.tslStatus.Text      = "Ready";
     this.tslStatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.tsMenu);
     this.kryptonPanel2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.kryptonPanel2.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel2.Name     = "kryptonPanel2";
     this.kryptonPanel2.Size     = new System.Drawing.Size(1115, 25);
     this.kryptonPanel2.TabIndex = 1;
     //
     // tsMenu
     //
     this.tsMenu.Dock      = System.Windows.Forms.DockStyle.None;
     this.tsMenu.Font      = new System.Drawing.Font("Segoe UI", 9F);
     this.tsMenu.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.tsMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tsbImport,
         this.tsbExport,
         this.toolStripSeparator1,
         this.tsbBold,
         this.tsbItalic,
         this.tsbUnderline,
         this.tsbStrikethrough,
         this.toolStripSeparator2,
         this.tscmbTextSize,
         this.toolStripSeparator3,
         this.tsbProperties
     });
     this.tsMenu.Location = new System.Drawing.Point(0, 0);
     this.tsMenu.Name     = "tsMenu";
     this.tsMenu.Size     = new System.Drawing.Size(265, 25);
     this.tsMenu.TabIndex = 0;
     this.tsMenu.Text     = "toolStrip1";
     this.tsMenu.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tsMenu_KeyDown);
     //
     // tsbImport
     //
     this.tsbImport.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.tsbImport.Image                 = global::ExtendedControls.Properties.Resources.Open_File_16_x_16;
     this.tsbImport.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbImport.Name   = "tsbImport";
     this.tsbImport.Size   = new System.Drawing.Size(23, 22);
     this.tsbImport.Text   = "toolStripButton1";
     this.tsbImport.Click += new System.EventHandler(this.tsbImport_Click);
     //
     // tsbExport
     //
     this.tsbExport.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.tsbExport.Image                 = global::ExtendedControls.Properties.Resources.Export_To_Document;
     this.tsbExport.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbExport.Name   = "tsbExport";
     this.tsbExport.Size   = new System.Drawing.Size(23, 22);
     this.tsbExport.Text   = "toolStripButton2";
     this.tsbExport.Click += new System.EventHandler(this.tsbExport_Click);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // tsbBold
     //
     this.tsbBold.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.tsbBold.Image                 = global::ExtendedControls.Properties.Resources.text_bold;
     this.tsbBold.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbBold.Name            = "tsbBold";
     this.tsbBold.Size            = new System.Drawing.Size(23, 22);
     this.tsbBold.Text            = "toolStripButton3";
     this.tsbBold.CheckedChanged += new System.EventHandler(this.tsbBold_CheckedChanged);
     //
     // tsbItalic
     //
     this.tsbItalic.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.tsbItalic.Image                 = global::ExtendedControls.Properties.Resources.text_italic;
     this.tsbItalic.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbItalic.Name            = "tsbItalic";
     this.tsbItalic.Size            = new System.Drawing.Size(23, 22);
     this.tsbItalic.Text            = "toolStripButton4";
     this.tsbItalic.CheckedChanged += new System.EventHandler(this.tsbItalic_CheckedChanged);
     //
     // tsbUnderline
     //
     this.tsbUnderline.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.tsbUnderline.Image                 = global::ExtendedControls.Properties.Resources.text_underline;
     this.tsbUnderline.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbUnderline.Name            = "tsbUnderline";
     this.tsbUnderline.Size            = new System.Drawing.Size(23, 22);
     this.tsbUnderline.Text            = "toolStripButton5";
     this.tsbUnderline.CheckedChanged += new System.EventHandler(this.tsbUnderline_CheckedChanged);
     //
     // tsbStrikethrough
     //
     this.tsbStrikethrough.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.tsbStrikethrough.Image                 = global::ExtendedControls.Properties.Resources.text_strikethrough;
     this.tsbStrikethrough.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbStrikethrough.Name            = "tsbStrikethrough";
     this.tsbStrikethrough.Size            = new System.Drawing.Size(23, 22);
     this.tsbStrikethrough.Text            = "toolStripButton6";
     this.tsbStrikethrough.CheckedChanged += new System.EventHandler(this.tsbStrikethrough_CheckedChanged);
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
     //
     // tscmbTextSize
     //
     this.tscmbTextSize.AutoSize              = false;
     this.tscmbTextSize.Name                  = "tscmbTextSize";
     this.tscmbTextSize.Size                  = new System.Drawing.Size(50, 23);
     this.tscmbTextSize.SelectedIndexChanged += new System.EventHandler(this.tscmbTextSize_SelectedIndexChanged);
     this.tscmbTextSize.TextChanged          += new System.EventHandler(this.tscmbTextSize_TextChanged);
     //
     // toolStripSeparator3
     //
     this.toolStripSeparator3.Name = "toolStripSeparator3";
     this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25);
     //
     // tsbProperties
     //
     this.tsbProperties.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.tsbProperties.Image                 = global::ExtendedControls.Properties.Resources.text_lowercase;
     this.tsbProperties.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbProperties.Name   = "tsbProperties";
     this.tsbProperties.Size   = new System.Drawing.Size(23, 22);
     this.tsbProperties.Text   = "toolStripButton7";
     this.tsbProperties.Click += new System.EventHandler(this.tsbProperties_Click);
     //
     // kryptonPanel3
     //
     this.kryptonPanel3.Controls.Add(this.kptxtTypefaceFilter);
     this.kryptonPanel3.Controls.Add(this.ktxtSampleText);
     this.kryptonPanel3.Controls.Add(this.klstTypefaces);
     this.kryptonPanel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel3.Location = new System.Drawing.Point(0, 25);
     this.kryptonPanel3.Name     = "kryptonPanel3";
     this.kryptonPanel3.Size     = new System.Drawing.Size(1115, 717);
     this.kryptonPanel3.TabIndex = 0;
     //
     // kptxtTypefaceFilter
     //
     this.kptxtTypefaceFilter.DrawPrompt       = true;
     this.kptxtTypefaceFilter.FocusSelect      = true;
     this.kptxtTypefaceFilter.Font             = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kptxtTypefaceFilter.Location         = new System.Drawing.Point(12, 6);
     this.kptxtTypefaceFilter.Name             = "kptxtTypefaceFilter";
     this.kptxtTypefaceFilter.PromptForeColour = System.Drawing.SystemColors.GrayText;
     this.kptxtTypefaceFilter.PromptText       = "Filter typefaces";
     this.kptxtTypefaceFilter.PromptTypeface   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kptxtTypefaceFilter.Size             = new System.Drawing.Size(333, 29);
     this.kptxtTypefaceFilter.TabIndex         = 2;
     this.kptxtTypefaceFilter.Click           += new System.EventHandler(this.kptxtTypefaceFilter_Click);
     this.kptxtTypefaceFilter.TextChanged     += new System.EventHandler(this.kptxtTypefaceFilter_TextChanged);
     this.kptxtTypefaceFilter.Enter           += new System.EventHandler(this.kptxtTypefaceFilter_Enter);
     this.kptxtTypefaceFilter.KeyDown         += new System.Windows.Forms.KeyEventHandler(this.kptxtTypefaceFilter_KeyDown);
     //
     // ktxtSampleText
     //
     this.ktxtSampleText.Location  = new System.Drawing.Point(351, 6);
     this.ktxtSampleText.Multiline = true;
     this.ktxtSampleText.Name      = "ktxtSampleText";
     this.ktxtSampleText.ReadOnly  = true;
     this.ktxtSampleText.Size      = new System.Drawing.Size(752, 702);
     this.ktxtSampleText.TabIndex  = 1;
     this.ktxtSampleText.Text      = "ABCDEFGHIJKLMNOPQRSTUVWXYZ\r\nabcdefghijklmnopqrstuvwxyz\r\n1234567890\r\n\r\n/\\|!?%$&()[" +
                                     "]{}<>+-~=*@;:,._\r\n\r\nLorem ipsum dolor sit amet";
     this.ktxtSampleText.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.ktxtSampleText_KeyDown);
     this.ktxtSampleText.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.ktxtSampleText_KeyPress);
     //
     // klstTypefaces
     //
     this.klstTypefaces.Location              = new System.Drawing.Point(12, 41);
     this.klstTypefaces.Name                  = "klstTypefaces";
     this.klstTypefaces.Size                  = new System.Drawing.Size(333, 667);
     this.klstTypefaces.TabIndex              = 0;
     this.klstTypefaces.SelectedIndexChanged += new System.EventHandler(this.klstTypefaces_SelectedIndexChanged);
     this.klstTypefaces.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.klstTypefaces_KeyDown);
     this.klstTypefaces.KeyPress             += new System.Windows.Forms.KeyPressEventHandler(this.klstTypefaces_KeyPress);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location  = new System.Drawing.Point(0, 739);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(1115, 3);
     this.panel1.TabIndex  = 2;
     //
     // TypefaceSelector
     //
     this.AcceptButton = this.kbtnAccept;
     this.ClientSize   = new System.Drawing.Size(1115, 819);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kryptonPanel3);
     this.Controls.Add(this.kryptonPanel2);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "TypefaceSelector";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Select Typeface";
     this.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.TypefaceSelector_KeyDown);
     this.Resize         += new System.EventHandler(this.TypefaceSelector_Resize);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     this.kryptonPanel2.PerformLayout();
     this.tsMenu.ResumeLayout(false);
     this.tsMenu.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel3)).EndInit();
     this.kryptonPanel3.ResumeLayout(false);
     this.kryptonPanel3.PerformLayout();
     this.ResumeLayout(false);
 }
Exemple #56
0
 /// <summary>
 /// This method is required for Windows Forms designer support.
 /// Do not change the method contents inside the source code editor. The Forms designer might
 /// not be able to load this method if it was changed manually.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmTarifaIVA));
     this.label1       = new System.Windows.Forms.Label();
     this.statusStrip1 = new System.Windows.Forms.StatusStrip();
     this.lblInfo      = new System.Windows.Forms.ToolStripStatusLabel();
     this.txtValor     = new System.Windows.Forms.TextBox();
     this.btnCerrar    = new System.Windows.Forms.Button();
     this.btnGuardar   = new System.Windows.Forms.Button();
     this.statusStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(7, 15);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(45, 13);
     this.label1.TabIndex = 20;
     this.label1.Text     = "Valor*:";
     //
     // statusStrip1
     //
     this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.lblInfo
     });
     this.statusStrip1.Location = new System.Drawing.Point(0, 74);
     this.statusStrip1.Name     = "statusStrip1";
     this.statusStrip1.Size     = new System.Drawing.Size(210, 22);
     this.statusStrip1.TabIndex = 19;
     this.statusStrip1.Text     = "statusStrip1";
     //
     // lblInfo
     //
     this.lblInfo.Name = "lblInfo";
     this.lblInfo.Size = new System.Drawing.Size(0, 17);
     //
     // txtValor
     //
     this.txtValor.Location = new System.Drawing.Point(58, 12);
     this.txtValor.Name     = "txtValor";
     this.txtValor.Size     = new System.Drawing.Size(144, 20);
     this.txtValor.TabIndex = 21;
     //
     // btnCerrar
     //
     this.btnCerrar.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCerrar.Image                   = ((System.Drawing.Image)(resources.GetObject("btnCerrar.Image")));
     this.btnCerrar.ImageAlign              = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnCerrar.Location                = new System.Drawing.Point(110, 38);
     this.btnCerrar.Name                    = "btnCerrar";
     this.btnCerrar.Size                    = new System.Drawing.Size(92, 28);
     this.btnCerrar.TabIndex                = 22;
     this.btnCerrar.Text                    = "&Cerrar";
     this.btnCerrar.UseVisualStyleBackColor = true;
     //
     // btnGuardar
     //
     this.btnGuardar.Image      = ((System.Drawing.Image)(resources.GetObject("btnGuardar.Image")));
     this.btnGuardar.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnGuardar.Location   = new System.Drawing.Point(17, 38);
     this.btnGuardar.Name       = "btnGuardar";
     this.btnGuardar.Size       = new System.Drawing.Size(92, 28);
     this.btnGuardar.TabIndex   = 23;
     this.btnGuardar.Text       = "&Guardar";
     this.btnGuardar.UseVisualStyleBackColor = true;
     this.btnGuardar.Click += new System.EventHandler(this.BtnGuardarClick);
     //
     // FrmTarifaIVA
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(210, 96);
     this.Controls.Add(this.btnCerrar);
     this.Controls.Add(this.btnGuardar);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.statusStrip1);
     this.Controls.Add(this.txtValor);
     this.Name          = "FrmTarifaIVA";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "FrmTarifaIVA";
     this.Load         += new System.EventHandler(this.FrmTarifaIVALoad);
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemple #57
0
        private void InitializeComponent()
        {
            this.gameToolStripMenuItem             = new System.Windows.Forms.ToolStripMenuItem();
            this.startANewGameToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
            this.startANewTournirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.propertiesToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
            this.exitToolStripMenuItem             = new System.Windows.Forms.ToolStripSeparator();
            this.exitToolStripMenuItem1            = new System.Windows.Forms.ToolStripMenuItem();
            this.helpToolStripMenuItem             = new System.Windows.Forms.ToolStripMenuItem();
            this.howToPlayToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator1                   = new System.Windows.Forms.ToolStripSeparator();
            this.aboutToolStripMenuItem                = new System.Windows.Forms.ToolStripMenuItem();
            this.menuStrip1                            = new System.Windows.Forms.MenuStrip();
            this.statusStripPlayersStatus              = new System.Windows.Forms.StatusStrip();
            this.toolStripStatusLabelCurrentPlayer     = new System.Windows.Forms.ToolStripStatusLabel();
            this.toolStripStatusLabelCurrentPlayerName = new System.Windows.Forms.ToolStripStatusLabel();
            this.toolStripStatusLabelPlayer1Name       = new System.Windows.Forms.ToolStripStatusLabel();
            this.toolStripStatusLabelPlayer1Score      = new System.Windows.Forms.ToolStripStatusLabel();
            this.toolStripStatusLabelPlayer2Name       = new System.Windows.Forms.ToolStripStatusLabel();
            this.toolStripStatusLabelPlayer2Score      = new System.Windows.Forms.ToolStripStatusLabel();
            this.gamePanel         = new System.Windows.Forms.Panel();
            this.fallingCoinPicBox = new System.Windows.Forms.PictureBox();
            this.labelAbout        = new System.Windows.Forms.Label();
            this.menuStrip1.SuspendLayout();
            this.statusStripPlayersStatus.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize) this.fallingCoinPicBox).BeginInit();
            this.SuspendLayout();
            //
            // gameToolStripMenuItem
            //
            this.gameToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.startANewGameToolStripMenuItem,
                this.startANewTournirToolStripMenuItem,
                this.propertiesToolStripMenuItem,
                this.exitToolStripMenuItem,
                this.exitToolStripMenuItem1
            });
            this.gameToolStripMenuItem.Name = "gameToolStripMenuItem";
            this.gameToolStripMenuItem.Size = new System.Drawing.Size(50, 20);
            this.gameToolStripMenuItem.Text = "Game";
            //
            // startANewGameToolStripMenuItem
            //
            this.startANewGameToolStripMenuItem.Name   = "startANewGameToolStripMenuItem";
            this.startANewGameToolStripMenuItem.Size   = new System.Drawing.Size(176, 22);
            this.startANewGameToolStripMenuItem.Text   = "Start a New Game";
            this.startANewGameToolStripMenuItem.Click += new System.EventHandler(this.StartANewGameToolStripMenuItem_Click);
            //
            // startANewTournirToolStripMenuItem
            //
            this.startANewTournirToolStripMenuItem.Name   = "startANewTournirToolStripMenuItem";
            this.startANewTournirToolStripMenuItem.Size   = new System.Drawing.Size(176, 22);
            this.startANewTournirToolStripMenuItem.Text   = "Start a New Tournir";
            this.startANewTournirToolStripMenuItem.Click += new System.EventHandler(this.StartANewTournirToolStripMenuItem_Click);
            //
            // propertiesToolStripMenuItem
            //
            this.propertiesToolStripMenuItem.Name = "propertiesToolStripMenuItem";
            this.propertiesToolStripMenuItem.Size = new System.Drawing.Size(176, 22);
            this.propertiesToolStripMenuItem.Text = "Properties...";
            //
            // exitToolStripMenuItem
            //
            this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
            this.exitToolStripMenuItem.Size = new System.Drawing.Size(173, 6);
            //
            // exitToolStripMenuItem1
            //
            this.exitToolStripMenuItem1.Name   = "exitToolStripMenuItem1";
            this.exitToolStripMenuItem1.Size   = new System.Drawing.Size(176, 22);
            this.exitToolStripMenuItem1.Text   = "Exit";
            this.exitToolStripMenuItem1.Click += new System.EventHandler(this.exitToolStripMenuItem1_Click);
            //
            // helpToolStripMenuItem
            //
            this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.howToPlayToolStripMenuItem,
                this.toolStripSeparator1,
                this.aboutToolStripMenuItem
            });
            this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
            this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
            this.helpToolStripMenuItem.Text = "Help";
            //
            // howToPlayToolStripMenuItem
            //
            this.howToPlayToolStripMenuItem.Name   = "howToPlayToolStripMenuItem";
            this.howToPlayToolStripMenuItem.Size   = new System.Drawing.Size(152, 22);
            this.howToPlayToolStripMenuItem.Text   = "How to play?";
            this.howToPlayToolStripMenuItem.Click += new System.EventHandler(this.howToPlayToolStripMenuItem_Click);
            //
            // toolStripSeparator1
            //
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(149, 6);
            //
            // aboutToolStripMenuItem
            //
            this.aboutToolStripMenuItem.Name   = "aboutToolStripMenuItem";
            this.aboutToolStripMenuItem.Size   = new System.Drawing.Size(152, 22);
            this.aboutToolStripMenuItem.Text   = "About";
            this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
            //
            // menuStrip1
            //
            this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.gameToolStripMenuItem,
                this.helpToolStripMenuItem
            });
            this.menuStrip1.Location = new System.Drawing.Point(0, 0);
            this.menuStrip1.Name     = "menuStrip1";
            this.menuStrip1.Size     = new System.Drawing.Size(467, 24);
            this.menuStrip1.TabIndex = 0;
            this.menuStrip1.Text     = "menuStrip1";
            //
            // statusStripPlayersStatus
            //
            this.statusStripPlayersStatus.ImageScalingSize = new System.Drawing.Size(20, 20);
            this.statusStripPlayersStatus.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.toolStripStatusLabelCurrentPlayer,
                this.toolStripStatusLabelCurrentPlayerName,
                this.toolStripStatusLabelPlayer1Name,
                this.toolStripStatusLabelPlayer1Score,
                this.toolStripStatusLabelPlayer2Name,
                this.toolStripStatusLabelPlayer2Score
            });
            this.statusStripPlayersStatus.Location = new System.Drawing.Point(0, 447);
            this.statusStripPlayersStatus.Name     = "statusStripPlayersStatus";
            this.statusStripPlayersStatus.Size     = new System.Drawing.Size(467, 22);
            this.statusStripPlayersStatus.Stretch  = false;
            this.statusStripPlayersStatus.TabIndex = 1;
            this.statusStripPlayersStatus.Text     = "statusStrip1";
            //
            // toolStripStatusLabelCurrentPlayer
            //
            this.toolStripStatusLabelCurrentPlayer.Name    = "toolStripStatusLabelCurrentPlayer";
            this.toolStripStatusLabelCurrentPlayer.Size    = new System.Drawing.Size(88, 17);
            this.toolStripStatusLabelCurrentPlayer.Text    = "Current Player :";
            this.toolStripStatusLabelCurrentPlayer.Visible = false;
            //
            // toolStripStatusLabelCurrentPlayerName
            //
            this.toolStripStatusLabelCurrentPlayerName.Name    = "toolStripStatusLabelCurrentPlayerName";
            this.toolStripStatusLabelCurrentPlayerName.Size    = new System.Drawing.Size(0, 17);
            this.toolStripStatusLabelCurrentPlayerName.Visible = false;
            //
            // toolStripStatusLabelPlayer1Name
            //
            this.toolStripStatusLabelPlayer1Name.Margin  = new System.Windows.Forms.Padding(20, 3, 0, 2);
            this.toolStripStatusLabelPlayer1Name.Name    = "toolStripStatusLabelPlayer1Name";
            this.toolStripStatusLabelPlayer1Name.Size    = new System.Drawing.Size(0, 17);
            this.toolStripStatusLabelPlayer1Name.Visible = false;
            //
            // toolStripStatusLabelPlayer1Score
            //
            this.toolStripStatusLabelPlayer1Score.Margin  = new System.Windows.Forms.Padding(-5, 3, 0, 2);
            this.toolStripStatusLabelPlayer1Score.Name    = "toolStripStatusLabelPlayer1Score";
            this.toolStripStatusLabelPlayer1Score.Size    = new System.Drawing.Size(13, 17);
            this.toolStripStatusLabelPlayer1Score.Text    = "0";
            this.toolStripStatusLabelPlayer1Score.Visible = false;
            //
            // toolStripStatusLabelPlayer2Name
            //
            this.toolStripStatusLabelPlayer2Name.Name    = "toolStripStatusLabelPlayer2Name";
            this.toolStripStatusLabelPlayer2Name.Size    = new System.Drawing.Size(0, 17);
            this.toolStripStatusLabelPlayer2Name.Visible = false;
            //
            // toolStripStatusLabelPlayer2Score
            //
            this.toolStripStatusLabelPlayer2Score.Margin  = new System.Windows.Forms.Padding(-5, 3, 0, 2);
            this.toolStripStatusLabelPlayer2Score.Name    = "toolStripStatusLabelPlayer2Score";
            this.toolStripStatusLabelPlayer2Score.Size    = new System.Drawing.Size(13, 17);
            this.toolStripStatusLabelPlayer2Score.Text    = "0";
            this.toolStripStatusLabelPlayer2Score.Visible = false;
            //
            // gamePanel
            //
            this.gamePanel.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.gamePanel.AutoSize    = true;
            this.gamePanel.BackColor   = System.Drawing.Color.Plum;
            this.gamePanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.gamePanel.Location    = new System.Drawing.Point(12, 50);
            this.gamePanel.Name        = "gamePanel";
            this.gamePanel.Size        = new System.Drawing.Size(443, 372);
            this.gamePanel.TabIndex    = 2;
            //
            // fallingCoinPicBox
            //
            this.fallingCoinPicBox.Location = new System.Drawing.Point(-1, -1);
            this.fallingCoinPicBox.Name     = "fallingCoinPicBox";
            this.fallingCoinPicBox.Size     = new System.Drawing.Size(67, 67);
            this.fallingCoinPicBox.TabIndex = 0;
            this.fallingCoinPicBox.TabStop  = false;

            //
            // labelAbout
            //
            this.labelAbout.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.labelAbout.BackColor = System.Drawing.Color.GhostWhite;
            this.labelAbout.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
            this.labelAbout.Location  = new System.Drawing.Point(67, 162);
            this.labelAbout.Name      = "labelAbout";
            this.labelAbout.Size      = new System.Drawing.Size(333, 145);
            this.labelAbout.TabIndex  = 5;
            this.labelAbout.Text      = "4 In A Row !! :)";
            this.labelAbout.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.labelAbout.Visible   = false;
            this.labelAbout.Click    += new System.EventHandler(this.labelAbout_Click);
            //
            // MainScreen
            //
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
            this.ClientSize    = new System.Drawing.Size(467, 469);
            this.Controls.Add(this.labelAbout);
            this.Controls.Add(this.gamePanel);
            this.Controls.Add(this.statusStripPlayersStatus);
            this.Controls.Add(this.menuStrip1);
            this.ForeColor       = System.Drawing.SystemColors.ControlText;
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.MainMenuStrip   = this.menuStrip1;
            this.MaximizeBox     = false;
            this.Name            = "MainScreen";
            this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text            = "4 In a Row!!";
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.statusStripPlayersStatus.ResumeLayout(false);
            this.statusStripPlayersStatus.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.fallingCoinPicBox)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }
Exemple #58
0
 public ToolStripStatusLabelAccessibleObject(ToolStripStatusLabel ownerItem) : base(ownerItem)
 {
     this.ownerItem = ownerItem;
 }
Exemple #59
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.ToolStripStatusLabel           statusLabel1;
     System.Windows.Forms.ToolStripStatusLabel           statusLabel2;
     System.Windows.Forms.MenuStrip                      menuStrip;
     System.Windows.Forms.ToolStripSeparator             toolStripMenuItem1;
     System.Windows.Forms.ToolStripSeparator             toolStripMenuItem2;
     AIMS.Libraries.CodeEditor.WinForms.LineMarginRender lineMarginRender2 = new AIMS.Libraries.CodeEditor.WinForms.LineMarginRender();
     this.mnuEdit         = new System.Windows.Forms.ToolStripMenuItem();
     this.mnuFind         = new System.Windows.Forms.ToolStripMenuItem();
     this.mnuReplace      = new System.Windows.Forms.ToolStripMenuItem();
     this.mnuFindNext     = new System.Windows.Forms.ToolStripMenuItem();
     this.mnuSelectAll    = new System.Windows.Forms.ToolStripMenuItem();
     this.mnuSave         = new System.Windows.Forms.ToolStripMenuItem();
     this.mnuClose        = new System.Windows.Forms.ToolStripMenuItem();
     this.statusBar       = new System.Windows.Forms.StatusStrip();
     this.cursorLine      = new System.Windows.Forms.ToolStripStatusLabel();
     this.cursorCol       = new System.Windows.Forms.ToolStripStatusLabel();
     this.txtText         = new AIMS.Libraries.CodeEditor.CodeEditorControl();
     this.syntaxDocument1 = new AIMS.Libraries.CodeEditor.Syntax.SyntaxDocument(this.components);
     statusLabel1         = new System.Windows.Forms.ToolStripStatusLabel();
     statusLabel2         = new System.Windows.Forms.ToolStripStatusLabel();
     menuStrip            = new System.Windows.Forms.MenuStrip();
     toolStripMenuItem1   = new System.Windows.Forms.ToolStripSeparator();
     toolStripMenuItem2   = new System.Windows.Forms.ToolStripSeparator();
     menuStrip.SuspendLayout();
     this.statusBar.SuspendLayout();
     this.SuspendLayout();
     //
     // statusLabel1
     //
     statusLabel1.Name      = "statusLabel1";
     statusLabel1.Size      = new System.Drawing.Size(32, 17);
     statusLabel1.Text      = "Line:";
     statusLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // statusLabel2
     //
     statusLabel2.Name      = "statusLabel2";
     statusLabel2.Padding   = new System.Windows.Forms.Padding(10, 0, 0, 0);
     statusLabel2.Size      = new System.Drawing.Size(45, 17);
     statusLabel2.Text      = "Char:";
     statusLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // menuStrip
     //
     menuStrip.BackColor = System.Drawing.SystemColors.Window;
     menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.mnuEdit
     });
     menuStrip.Location = new System.Drawing.Point(0, 0);
     menuStrip.Name     = "menuStrip";
     menuStrip.Size     = new System.Drawing.Size(1230, 24);
     menuStrip.TabIndex = 1004;
     menuStrip.Text     = "menuStrip1";
     //
     // mnuEdit
     //
     this.mnuEdit.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.mnuFind,
         this.mnuReplace,
         this.mnuFindNext,
         toolStripMenuItem1,
         this.mnuSelectAll,
         toolStripMenuItem2,
         this.mnuSave,
         this.mnuClose
     });
     this.mnuEdit.Name = "mnuEdit";
     this.mnuEdit.Size = new System.Drawing.Size(39, 20);
     this.mnuEdit.Text = "&Edit";
     //
     // mnuFind
     //
     this.mnuFind.Name         = "mnuFind";
     this.mnuFind.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F)));
     this.mnuFind.Size         = new System.Drawing.Size(167, 22);
     this.mnuFind.Text         = "&Find...";
     this.mnuFind.Click       += new System.EventHandler(this.mnuFind_Click);
     //
     // mnuReplace
     //
     this.mnuReplace.Name         = "mnuReplace";
     this.mnuReplace.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.H)));
     this.mnuReplace.Size         = new System.Drawing.Size(167, 22);
     this.mnuReplace.Text         = "&Replace...";
     this.mnuReplace.Click       += new System.EventHandler(this.mnuReplace_Click);
     //
     // mnuFindNext
     //
     this.mnuFindNext.Name         = "mnuFindNext";
     this.mnuFindNext.ShortcutKeys = System.Windows.Forms.Keys.F3;
     this.mnuFindNext.Size         = new System.Drawing.Size(167, 22);
     this.mnuFindNext.Text         = "Find &Next";
     this.mnuFindNext.Click       += new System.EventHandler(this.mnuFindNext_Click);
     //
     // toolStripMenuItem1
     //
     toolStripMenuItem1.Name = "toolStripMenuItem1";
     toolStripMenuItem1.Size = new System.Drawing.Size(164, 6);
     //
     // mnuSelectAll
     //
     this.mnuSelectAll.Name         = "mnuSelectAll";
     this.mnuSelectAll.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)));
     this.mnuSelectAll.Size         = new System.Drawing.Size(167, 22);
     this.mnuSelectAll.Text         = "Select &All";
     this.mnuSelectAll.Click       += new System.EventHandler(this.mnuSelectAll_Click);
     //
     // toolStripMenuItem2
     //
     toolStripMenuItem2.Name = "toolStripMenuItem2";
     toolStripMenuItem2.Size = new System.Drawing.Size(164, 6);
     //
     // mnuSave
     //
     this.mnuSave.Name         = "mnuSave";
     this.mnuSave.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
     this.mnuSave.Size         = new System.Drawing.Size(167, 22);
     this.mnuSave.Text         = "&Save";
     this.mnuSave.Click       += new System.EventHandler(this.mnuSave_Click);
     //
     // mnuClose
     //
     this.mnuClose.Name   = "mnuClose";
     this.mnuClose.Size   = new System.Drawing.Size(167, 22);
     this.mnuClose.Text   = "&Close";
     this.mnuClose.Click += new System.EventHandler(this.mnuClose_Click);
     //
     // statusBar
     //
     this.statusBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         statusLabel1,
         this.cursorLine,
         statusLabel2,
         this.cursorCol
     });
     this.statusBar.Location = new System.Drawing.Point(0, 713);
     this.statusBar.Name     = "statusBar";
     this.statusBar.Size     = new System.Drawing.Size(1230, 22);
     this.statusBar.TabIndex = 1003;
     this.statusBar.Text     = "statusStrip1";
     //
     // cursorLine
     //
     this.cursorLine.Name      = "cursorLine";
     this.cursorLine.Size      = new System.Drawing.Size(13, 17);
     this.cursorLine.Text      = "0";
     this.cursorLine.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // cursorCol
     //
     this.cursorCol.Name      = "cursorCol";
     this.cursorCol.Size      = new System.Drawing.Size(13, 17);
     this.cursorCol.Text      = "0";
     this.cursorCol.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtText
     //
     this.txtText.ActiveView           = AIMS.Libraries.CodeEditor.WinForms.ActiveView.BottomRight;
     this.txtText.AutoListPosition     = null;
     this.txtText.AutoListSelectedText = "";
     this.txtText.AutoListVisible      = false;
     this.txtText.CopyAsRTF            = false;
     this.txtText.Dock                 = System.Windows.Forms.DockStyle.Fill;
     this.txtText.Document             = this.syntaxDocument1;
     this.txtText.FileName             = null;
     this.txtText.InfoTipCount         = 1;
     this.txtText.InfoTipPosition      = null;
     this.txtText.InfoTipSelectedIndex = 1;
     this.txtText.InfoTipVisible       = false;
     lineMarginRender2.Bounds          = new System.Drawing.Rectangle(19, 0, 19, 16);
     this.txtText.LineMarginRender     = lineMarginRender2;
     this.txtText.Location             = new System.Drawing.Point(0, 52);
     this.txtText.LockCursorUpdate     = false;
     this.txtText.Name                 = "txtText";
     this.txtText.Saved                = false;
     this.txtText.ShowScopeIndicator   = false;
     this.txtText.Size                 = new System.Drawing.Size(1230, 661);
     this.txtText.SmoothScroll         = false;
     this.txtText.SplitviewH           = -4;
     this.txtText.SplitviewV           = -4;
     this.txtText.TabGuideColor        = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(233)))), ((int)(((byte)(233)))));
     this.txtText.TabIndex             = 1005;
     this.txtText.Text                 = "codeEditorControl1";
     this.txtText.WhitespaceColor      = System.Drawing.SystemColors.ControlDark;
     this.txtText.CaretChange         += new System.EventHandler(this.txtText_CaretChange);
     //
     // syntaxDocument1
     //
     this.syntaxDocument1.Lines = new string[] {
         ""
     };
     this.syntaxDocument1.MaxUndoBufferSize = 1000;
     this.syntaxDocument1.Modified          = false;
     this.syntaxDocument1.UndoStep          = 0;
     //
     // TextEditorFormBase
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(1230, 735);
     this.Controls.Add(this.txtText);
     this.Controls.Add(this.statusBar);
     this.Controls.Add(menuStrip);
     this.MinimizeBox   = false;
     this.Name          = "TextEditorFormBase";
     this.ShowIcon      = false;
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Script Editor";
     menuStrip.ResumeLayout(false);
     menuStrip.PerformLayout();
     this.statusBar.ResumeLayout(false);
     this.statusBar.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemple #60
0
 public ToolStripStatusLabelLayout(ToolStripStatusLabel owner) : base(owner)
 {
     this.owner = owner;
 }