Esempio n. 1
0
        public void summonLabel(string computerName, String connString)
        {
            int   x = 93;
            int   y = labelY;
            Label l = new Label();

            l.Text      = computerName;
            l.TextAlign = ContentAlignment.TopCenter;
            l.Location  = new Point((int)x, (int)y);
            l.Font      = computerNameFont;
            dummyComputerNameLabel.Dispose();
            l.Parent = gradientPanel;
            labelY  += 60;
            ns1.BunifuThinButton2 summonedConnectButton = new ns1.BunifuThinButton2();
            summonedConnectButton.ButtonText = "Connect";
            summonedConnectButton.Location   = new Point(465, buttY);
            summonedConnectButton.Size       = connectButtonSize;
            summonedConnectButton.Parent     = gradientPanel;

            ns1.BunifuThinButton2 summonedDeleteButton = new ns1.BunifuThinButton2();
            summonedDeleteButton.ButtonText = "Delete";
            summonedDeleteButton.Location   = new Point(609, buttY);
            summonedDeleteButton.Size       = connectButtonSize;
            summonedDeleteButton.Parent     = gradientPanel;
            buttY += 60;
            summonedConnectButton.Click += (sender, EventArgs) => { connectButton_Click(sender, EventArgs, connString); };
            summonedDeleteButton.Click  += (sender, EventArgs) => { deleteButton_Click(sender, EventArgs, connString, computerName); };

            ns1.BunifuSeparator seperator = new ns1.BunifuSeparator();
            seperator.Size      = seperatorSize;
            seperator.Location  = new Point(3, seperatorYPosition);
            seperatorYPosition += 60;
            seperator.Parent    = gradientPanel;
            seperator.LineColor = seperatorColor;
        }
Esempio n. 2
0
File: Form1.cs Progetto: MAXer2/sait
        private void поменятьДизайнToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ContextMenuStrip c1 = (ContextMenuStrip)((ToolStripMenuItem)sender).Owner;

            ns1.BunifuThinButton2 btn = (ns1.BunifuThinButton2)(c1.SourceControl);

            OneButtonForm form = new OneButtonForm(btn);

            form.ShowDialog();
        }
        private void testOlustur_btn_Click(object sender, EventArgs e)
        {
            sesCalmaClassBLL.PlayClickSound();
            ns1.BunifuThinButton2 testOlustur_btn = sender as ns1.BunifuThinButton2;
            TestEkleUC            testEkleUC      = testOlustur_btn.Parent as TestEkleUC;

            int sinavSuresi = 0;

            if (testEkleUC.sinavIsim_txt.Visible)
            {
                sinavSuresi = Convert.ToInt32(testEkleUC.sinavSure_txt.Text);
            }

            int konuSecme_cmb_SelectedValue = Convert.ToInt32(testEkleUC.konuSecme_cmb.SelectedValue);


            soruBLL = new SoruBLL();

            if (testEkleUC.sinavIsim_txt.Visible)
            {
                testBLL = new TestBLL()
                {
                    Isim = testEkleUC.sinavIsim_txt.Text, KonuId = (int)testEkleUC.konuSecme_cmb.SelectedValue, Sure = sinavSuresi, SoruSayisi = testEkleUC.eklenenSorular_flwpnl.Controls.Count
                }
            }
            ;

            else
            {
                testBLL = new TestBLL()
                {
                    Isim = testEkleUC.konuSecme_cmb.SelectedText + " - Konu Kavrama Testi - ", KonuId = (int)testEkleUC.konuSecme_cmb.SelectedValue, Sure = sinavSuresi, SoruSayisi = testEkleUC.eklenenSorular_flwpnl.Controls.Count
                }
            };

            bool islemBasariliMi = testBLL.AddData();

            foreach (EklenenSoruUC soru in testEkleUC.eklenenSorular_flwpnl.Controls)
            {
                soruBLL.Icerik              = soru.Icerik;
                soruBLL.SinavId             = testBLL.Id;
                soruBLL.KonuId              = soru.KonuId;
                soruBLL.GuncellenecekSoruId = soruBLL.GetDataByExpression(x => x.Soru_SinavId == soru.SinavId && x.Soru_KonuId == soru.KonuId && x.Soru_Icerik == soru.Icerik).Id;
                islemBasariliMi             = soruBLL.UpdateData();
            }

            if (islemBasariliMi)
            {
                islemSureci_tslbl.Text = "Test ekleme işlemi başarılı";
            }
            else
            {
                islemSureci_tslbl.Text = "Test ekleme işlemi başarısız tekrar deneyin";
            }
        }
        private void soruEkle_btn_Click(object sender, EventArgs e)
        {
            sesCalmaClassBLL.PlayClickSound();
            ns1.BunifuThinButton2 soruEkle_btn = sender as ns1.BunifuThinButton2;
            TestEkleUC            testEkleUC   = soruEkle_btn.Parent as TestEkleUC;

            testeSoruEklemeFrm              = new TesteSoruEklemeFrm();
            testeSoruEklemeFrm.FormClosing += new FormClosingEventHandler(TesteSoruEklemeFrm_Closing);
            testeSoruEklemeFrm.Show();
            this.Hide();
        }
Esempio n. 5
0
 /// <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(Account));
     this.bunifuElipse1 = new ns1.BunifuElipse(this.components);
     this.bunifuDragControl1 = new ns1.BunifuDragControl(this.components);
     this.panel1 = new System.Windows.Forms.Panel();
     this.bunifuImageButton2 = new ns1.BunifuImageButton();
     this.bunifuImageButton1 = new ns1.BunifuImageButton();
     this.bunifuCustomLabel1 = new ns1.BunifuCustomLabel();
     this.pictureBox2 = new System.Windows.Forms.PictureBox();
     this.panel3 = new System.Windows.Forms.Panel();
     this.label19 = new System.Windows.Forms.Label();
     this.edataGridView1 = new System.Windows.Forms.DataGridView();
     this.tbsearch1 = new System.Windows.Forms.TextBox();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.eurradio = new System.Windows.Forms.RadioButton();
     this.chpradio = new System.Windows.Forms.RadioButton();
     this.gbpradio = new System.Windows.Forms.RadioButton();
     this.usdradio = new System.Windows.Forms.RadioButton();
     this.bunifuThinButton22 = new ns1.BunifuThinButton2();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.tbto = new System.Windows.Forms.TextBox();
     this.tbfrom = new System.Windows.Forms.TextBox();
     this.bunifuThinButton25 = new ns1.BunifuThinButton2();
     this.Update = new System.Windows.Forms.GroupBox();
     this.label4 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.tbbalance = new System.Windows.Forms.TextBox();
     this.tbid = new System.Windows.Forms.TextBox();
     this.bunifuThinButton21 = new ns1.BunifuThinButton2();
     this.btnDashboard = new ns1.BunifuThinButton2();
     this.bunifuThinButton24 = new ns1.BunifuThinButton2();
     this.bunifuThinButton23 = new ns1.BunifuThinButton2();
     this.button1 = new System.Windows.Forms.Button();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.bunifuImageButton2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bunifuImageButton1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.edataGridView1)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.Update.SuspendLayout();
     this.SuspendLayout();
     //
     // bunifuElipse1
     //
     this.bunifuElipse1.ElipseRadius = 5;
     this.bunifuElipse1.TargetControl = this;
     //
     // bunifuDragControl1
     //
     this.bunifuDragControl1.Fixed = true;
     this.bunifuDragControl1.Horizontal = true;
     this.bunifuDragControl1.TargetControl = this.panel1;
     this.bunifuDragControl1.Vertical = true;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.panel1.Controls.Add(this.bunifuImageButton2);
     this.panel1.Controls.Add(this.bunifuImageButton1);
     this.panel1.Controls.Add(this.bunifuCustomLabel1);
     this.panel1.Controls.Add(this.pictureBox2);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(1231, 101);
     this.panel1.TabIndex = 9;
     //
     // bunifuImageButton2
     //
     this.bunifuImageButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.bunifuImageButton2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.bunifuImageButton2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
     this.bunifuImageButton2.ErrorImage = null;
     this.bunifuImageButton2.Image = ((System.Drawing.Image)(resources.GetObject("bunifuImageButton2.Image")));
     this.bunifuImageButton2.ImageActive = null;
     this.bunifuImageButton2.InitialImage = null;
     this.bunifuImageButton2.Location = new System.Drawing.Point(1141, 12);
     this.bunifuImageButton2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.bunifuImageButton2.Name = "bunifuImageButton2";
     this.bunifuImageButton2.Size = new System.Drawing.Size(36, 34);
     this.bunifuImageButton2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.bunifuImageButton2.TabIndex = 11;
     this.bunifuImageButton2.TabStop = false;
     this.bunifuImageButton2.Zoom = 10;
     this.bunifuImageButton2.Click += new System.EventHandler(this.bunifuImageButton2_Click);
     //
     // bunifuImageButton1
     //
     this.bunifuImageButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.bunifuImageButton1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.bunifuImageButton1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
     this.bunifuImageButton1.ErrorImage = null;
     this.bunifuImageButton1.Image = ((System.Drawing.Image)(resources.GetObject("bunifuImageButton1.Image")));
     this.bunifuImageButton1.ImageActive = null;
     this.bunifuImageButton1.InitialImage = null;
     this.bunifuImageButton1.Location = new System.Drawing.Point(1183, 12);
     this.bunifuImageButton1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.bunifuImageButton1.Name = "bunifuImageButton1";
     this.bunifuImageButton1.Size = new System.Drawing.Size(36, 34);
     this.bunifuImageButton1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.bunifuImageButton1.TabIndex = 7;
     this.bunifuImageButton1.TabStop = false;
     this.bunifuImageButton1.Zoom = 10;
     this.bunifuImageButton1.Click += new System.EventHandler(this.bunifuImageButton1_Click);
     //
     // bunifuCustomLabel1
     //
     this.bunifuCustomLabel1.AutoSize = true;
     this.bunifuCustomLabel1.Font = new System.Drawing.Font("Courier New", 22.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.bunifuCustomLabel1.ForeColor = System.Drawing.Color.Lavender;
     this.bunifuCustomLabel1.Location = new System.Drawing.Point(107, 33);
     this.bunifuCustomLabel1.Name = "bunifuCustomLabel1";
     this.bunifuCustomLabel1.Size = new System.Drawing.Size(88, 43);
     this.bunifuCustomLabel1.TabIndex = 6;
     this.bunifuCustomLabel1.Text = "BAM";
     //
     // pictureBox2
     //
     this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
     this.pictureBox2.Location = new System.Drawing.Point(51, 27);
     this.pictureBox2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new System.Drawing.Size(51, 49);
     this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox2.TabIndex = 5;
     this.pictureBox2.TabStop = false;
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(75)))), ((int)(((byte)(109)))));
     this.panel3.Controls.Add(this.label19);
     this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location = new System.Drawing.Point(0, 101);
     this.panel3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.panel3.Name = "panel3";
     this.panel3.Size = new System.Drawing.Size(1231, 84);
     this.panel3.TabIndex = 21;
     //
     // label19
     //
     this.label19.AutoSize = true;
     this.label19.Font = new System.Drawing.Font("Corbel", 22.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label19.ForeColor = System.Drawing.Color.White;
     this.label19.Location = new System.Drawing.Point(117, 21);
     this.label19.Name = "label19";
     this.label19.Size = new System.Drawing.Size(150, 46);
     this.label19.TabIndex = 30;
     this.label19.Text = "Account";
     //
     // edataGridView1
     //
     this.edataGridView1.AllowDrop = true;
     this.edataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.edataGridView1.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
     this.edataGridView1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.edataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.edataGridView1.GridColor = System.Drawing.SystemColors.AppWorkspace;
     this.edataGridView1.Location = new System.Drawing.Point(357, 327);
     this.edataGridView1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.edataGridView1.Name = "edataGridView1";
     this.edataGridView1.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.AutoSizeToAllHeaders;
     this.edataGridView1.RowTemplate.Height = 24;
     this.edataGridView1.Size = new System.Drawing.Size(839, 510);
     this.edataGridView1.TabIndex = 26;
     this.edataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
     this.edataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
     //
     // tbsearch1
     //
     this.tbsearch1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tbsearch1.Location = new System.Drawing.Point(181, 242);
     this.tbsearch1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.tbsearch1.Name = "tbsearch1";
     this.tbsearch1.Size = new System.Drawing.Size(603, 38);
     this.tbsearch1.TabIndex = 40;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.eurradio);
     this.groupBox1.Controls.Add(this.chpradio);
     this.groupBox1.Controls.Add(this.gbpradio);
     this.groupBox1.Controls.Add(this.usdradio);
     this.groupBox1.Controls.Add(this.bunifuThinButton22);
     this.groupBox1.ForeColor = System.Drawing.Color.White;
     this.groupBox1.Location = new System.Drawing.Point(31, 327);
     this.groupBox1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.groupBox1.Size = new System.Drawing.Size(292, 117);
     this.groupBox1.TabIndex = 42;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "group by";
     //
     // eurradio
     //
     this.eurradio.AutoSize = true;
     this.eurradio.Location = new System.Drawing.Point(85, 30);
     this.eurradio.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.eurradio.Name = "eurradio";
     this.eurradio.Size = new System.Drawing.Size(58, 21);
     this.eurradio.TabIndex = 40;
     this.eurradio.TabStop = true;
     this.eurradio.Text = "EUR";
     this.eurradio.UseVisualStyleBackColor = true;
     //
     // chpradio
     //
     this.chpradio.AutoSize = true;
     this.chpradio.Location = new System.Drawing.Point(221, 30);
     this.chpradio.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.chpradio.Name = "chpradio";
     this.chpradio.Size = new System.Drawing.Size(57, 21);
     this.chpradio.TabIndex = 39;
     this.chpradio.TabStop = true;
     this.chpradio.Text = "CHP";
     this.chpradio.UseVisualStyleBackColor = true;
     //
     // gbpradio
     //
     this.gbpradio.AutoSize = true;
     this.gbpradio.Location = new System.Drawing.Point(149, 30);
     this.gbpradio.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.gbpradio.Name = "gbpradio";
     this.gbpradio.Size = new System.Drawing.Size(58, 21);
     this.gbpradio.TabIndex = 39;
     this.gbpradio.TabStop = true;
     this.gbpradio.Text = "GBP";
     this.gbpradio.UseVisualStyleBackColor = true;
     //
     // usdradio
     //
     this.usdradio.AutoSize = true;
     this.usdradio.Location = new System.Drawing.Point(21, 30);
     this.usdradio.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.usdradio.Name = "usdradio";
     this.usdradio.Size = new System.Drawing.Size(58, 21);
     this.usdradio.TabIndex = 38;
     this.usdradio.TabStop = true;
     this.usdradio.Text = "USD";
     this.usdradio.UseVisualStyleBackColor = true;
     //
     // bunifuThinButton22
     //
     this.bunifuThinButton22.ActiveBorderThickness = 1;
     this.bunifuThinButton22.ActiveCornerRadius = 1;
     this.bunifuThinButton22.ActiveFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton22.ActiveForecolor = System.Drawing.Color.White;
     this.bunifuThinButton22.ActiveLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(43)))), ((int)(((byte)(60)))));
     this.bunifuThinButton22.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bunifuThinButton22.BackgroundImage")));
     this.bunifuThinButton22.ButtonText = "ok";
     this.bunifuThinButton22.Cursor = System.Windows.Forms.Cursors.Hand;
     this.bunifuThinButton22.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.bunifuThinButton22.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton22.IdleBorderThickness = 1;
     this.bunifuThinButton22.IdleCornerRadius = 20;
     this.bunifuThinButton22.IdleFillColor = System.Drawing.Color.White;
     this.bunifuThinButton22.IdleForecolor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton22.IdleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.bunifuThinButton22.Location = new System.Drawing.Point(221, 54);
     this.bunifuThinButton22.Margin = new System.Windows.Forms.Padding(5);
     this.bunifuThinButton22.Name = "bunifuThinButton22";
     this.bunifuThinButton22.Size = new System.Drawing.Size(57, 55);
     this.bunifuThinButton22.TabIndex = 37;
     this.bunifuThinButton22.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.bunifuThinButton22.Click += new System.EventHandler(this.bunifuThinButton22_Click);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Controls.Add(this.label2);
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.Controls.Add(this.tbto);
     this.groupBox2.Controls.Add(this.tbfrom);
     this.groupBox2.Controls.Add(this.bunifuThinButton25);
     this.groupBox2.ForeColor = System.Drawing.Color.White;
     this.groupBox2.Location = new System.Drawing.Point(31, 463);
     this.groupBox2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.groupBox2.Size = new System.Drawing.Size(292, 121);
     this.groupBox2.TabIndex = 43;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "show by balance";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(99, 66);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(16, 17);
     this.label3.TabIndex = 40;
     this.label3.Text = "~";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(120, 36);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(20, 17);
     this.label2.TabIndex = 39;
     this.label2.Text = "to";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(27, 36);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(36, 17);
     this.label1.TabIndex = 39;
     this.label1.Text = "from";
     //
     // tbto
     //
     this.tbto.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tbto.Location = new System.Drawing.Point(123, 57);
     this.tbto.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.tbto.Name = "tbto";
     this.tbto.Size = new System.Drawing.Size(71, 30);
     this.tbto.TabIndex = 38;
     //
     // tbfrom
     //
     this.tbfrom.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tbfrom.Location = new System.Drawing.Point(21, 57);
     this.tbfrom.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.tbfrom.Name = "tbfrom";
     this.tbfrom.Size = new System.Drawing.Size(71, 30);
     this.tbfrom.TabIndex = 38;
     //
     // bunifuThinButton25
     //
     this.bunifuThinButton25.ActiveBorderThickness = 1;
     this.bunifuThinButton25.ActiveCornerRadius = 1;
     this.bunifuThinButton25.ActiveFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton25.ActiveForecolor = System.Drawing.Color.White;
     this.bunifuThinButton25.ActiveLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton25.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(43)))), ((int)(((byte)(60)))));
     this.bunifuThinButton25.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bunifuThinButton25.BackgroundImage")));
     this.bunifuThinButton25.ButtonText = "ok";
     this.bunifuThinButton25.Cursor = System.Windows.Forms.Cursors.Hand;
     this.bunifuThinButton25.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.bunifuThinButton25.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton25.IdleBorderThickness = 1;
     this.bunifuThinButton25.IdleCornerRadius = 20;
     this.bunifuThinButton25.IdleFillColor = System.Drawing.Color.White;
     this.bunifuThinButton25.IdleForecolor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton25.IdleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.bunifuThinButton25.Location = new System.Drawing.Point(221, 36);
     this.bunifuThinButton25.Margin = new System.Windows.Forms.Padding(5);
     this.bunifuThinButton25.Name = "bunifuThinButton25";
     this.bunifuThinButton25.Size = new System.Drawing.Size(57, 55);
     this.bunifuThinButton25.TabIndex = 37;
     this.bunifuThinButton25.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.bunifuThinButton25.Click += new System.EventHandler(this.bunifuThinButton25_Click);
     //
     // Update
     //
     this.Update.Controls.Add(this.label4);
     this.Update.Controls.Add(this.label6);
     this.Update.Controls.Add(this.tbbalance);
     this.Update.Controls.Add(this.tbid);
     this.Update.Controls.Add(this.bunifuThinButton21);
     this.Update.ForeColor = System.Drawing.Color.White;
     this.Update.Location = new System.Drawing.Point(31, 610);
     this.Update.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.Update.Name = "Update";
     this.Update.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.Update.Size = new System.Drawing.Size(292, 226);
     this.Update.TabIndex = 44;
     this.Update.TabStop = false;
     this.Update.Text = "Edit";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location = new System.Drawing.Point(19, 113);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(70, 20);
     this.label4.TabIndex = 39;
     this.label4.Text = "Balance";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.Location = new System.Drawing.Point(59, 46);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(31, 25);
     this.label6.TabIndex = 39;
     this.label6.Text = "ID";
     //
     // tbbalance
     //
     this.tbbalance.Font = new System.Drawing.Font("Microsoft Sans Serif", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tbbalance.Location = new System.Drawing.Point(103, 103);
     this.tbbalance.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.tbbalance.Name = "tbbalance";
     this.tbbalance.Size = new System.Drawing.Size(135, 34);
     this.tbbalance.TabIndex = 38;
     this.tbbalance.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
     //
     // tbid
     //
     this.tbid.Font = new System.Drawing.Font("Microsoft Sans Serif", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tbid.Location = new System.Drawing.Point(103, 39);
     this.tbid.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.tbid.Name = "tbid";
     this.tbid.Size = new System.Drawing.Size(135, 34);
     this.tbid.TabIndex = 38;
     //
     // bunifuThinButton21
     //
     this.bunifuThinButton21.ActiveBorderThickness = 1;
     this.bunifuThinButton21.ActiveCornerRadius = 1;
     this.bunifuThinButton21.ActiveFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton21.ActiveForecolor = System.Drawing.Color.White;
     this.bunifuThinButton21.ActiveLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(43)))), ((int)(((byte)(60)))));
     this.bunifuThinButton21.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bunifuThinButton21.BackgroundImage")));
     this.bunifuThinButton21.ButtonText = "ok";
     this.bunifuThinButton21.Cursor = System.Windows.Forms.Cursors.Hand;
     this.bunifuThinButton21.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.bunifuThinButton21.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton21.IdleBorderThickness = 1;
     this.bunifuThinButton21.IdleCornerRadius = 20;
     this.bunifuThinButton21.IdleFillColor = System.Drawing.Color.White;
     this.bunifuThinButton21.IdleForecolor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton21.IdleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.bunifuThinButton21.Location = new System.Drawing.Point(221, 162);
     this.bunifuThinButton21.Margin = new System.Windows.Forms.Padding(5);
     this.bunifuThinButton21.Name = "bunifuThinButton21";
     this.bunifuThinButton21.Size = new System.Drawing.Size(57, 55);
     this.bunifuThinButton21.TabIndex = 37;
     this.bunifuThinButton21.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.bunifuThinButton21.Click += new System.EventHandler(this.bunifuThinButton21_Click);
     //
     // btnDashboard
     //
     this.btnDashboard.AccessibleRole = System.Windows.Forms.AccessibleRole.TitleBar;
     this.btnDashboard.ActiveBorderThickness = 1;
     this.btnDashboard.ActiveCornerRadius = 1;
     this.btnDashboard.ActiveFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.btnDashboard.ActiveForecolor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.btnDashboard.ActiveLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.btnDashboard.AllowDrop = true;
     this.btnDashboard.AutoValidate = System.Windows.Forms.AutoValidate.EnableAllowFocusChange;
     this.btnDashboard.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(43)))), ((int)(((byte)(60)))));
     this.btnDashboard.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnDashboard.BackgroundImage")));
     this.btnDashboard.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
     this.btnDashboard.ButtonText = "Search";
     this.btnDashboard.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btnDashboard.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnDashboard.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
     this.btnDashboard.IdleBorderThickness = 1;
     this.btnDashboard.IdleCornerRadius = 1;
     this.btnDashboard.IdleFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.btnDashboard.IdleForecolor = System.Drawing.Color.Transparent;
     this.btnDashboard.IdleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.btnDashboard.Location = new System.Drawing.Point(784, 230);
     this.btnDashboard.Margin = new System.Windows.Forms.Padding(5);
     this.btnDashboard.Name = "btnDashboard";
     this.btnDashboard.Size = new System.Drawing.Size(127, 60);
     this.btnDashboard.TabIndex = 41;
     this.btnDashboard.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnDashboard.Click += new System.EventHandler(this.btnDashboard_Click);
     //
     // bunifuThinButton24
     //
     this.bunifuThinButton24.ActiveBorderThickness = 1;
     this.bunifuThinButton24.ActiveCornerRadius = 1;
     this.bunifuThinButton24.ActiveFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton24.ActiveForecolor = System.Drawing.Color.White;
     this.bunifuThinButton24.ActiveLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(43)))), ((int)(((byte)(60)))));
     this.bunifuThinButton24.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bunifuThinButton24.BackgroundImage")));
     this.bunifuThinButton24.ButtonText = "Reload";
     this.bunifuThinButton24.Cursor = System.Windows.Forms.Cursors.Hand;
     this.bunifuThinButton24.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.bunifuThinButton24.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton24.IdleBorderThickness = 1;
     this.bunifuThinButton24.IdleCornerRadius = 20;
     this.bunifuThinButton24.IdleFillColor = System.Drawing.Color.White;
     this.bunifuThinButton24.IdleForecolor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton24.IdleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.bunifuThinButton24.Location = new System.Drawing.Point(953, 230);
     this.bunifuThinButton24.Margin = new System.Windows.Forms.Padding(5);
     this.bunifuThinButton24.Name = "bunifuThinButton24";
     this.bunifuThinButton24.Size = new System.Drawing.Size(93, 60);
     this.bunifuThinButton24.TabIndex = 39;
     this.bunifuThinButton24.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.bunifuThinButton24.Click += new System.EventHandler(this.bunifuThinButton24_Click);
     //
     // bunifuThinButton23
     //
     this.bunifuThinButton23.ActiveBorderThickness = 1;
     this.bunifuThinButton23.ActiveCornerRadius = 1;
     this.bunifuThinButton23.ActiveFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton23.ActiveForecolor = System.Drawing.Color.White;
     this.bunifuThinButton23.ActiveLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(43)))), ((int)(((byte)(60)))));
     this.bunifuThinButton23.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bunifuThinButton23.BackgroundImage")));
     this.bunifuThinButton23.ButtonText = "Add New";
     this.bunifuThinButton23.Cursor = System.Windows.Forms.Cursors.Hand;
     this.bunifuThinButton23.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.bunifuThinButton23.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton23.IdleBorderThickness = 1;
     this.bunifuThinButton23.IdleCornerRadius = 20;
     this.bunifuThinButton23.IdleFillColor = System.Drawing.Color.White;
     this.bunifuThinButton23.IdleForecolor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(101)))), ((int)(((byte)(163)))));
     this.bunifuThinButton23.IdleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
     this.bunifuThinButton23.Location = new System.Drawing.Point(1067, 230);
     this.bunifuThinButton23.Margin = new System.Windows.Forms.Padding(5);
     this.bunifuThinButton23.Name = "bunifuThinButton23";
     this.bunifuThinButton23.Size = new System.Drawing.Size(109, 60);
     this.bunifuThinButton23.TabIndex = 38;
     this.bunifuThinButton23.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.bunifuThinButton23.Click += new System.EventHandler(this.bunifuThinButton23_Click);
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(31, 242);
     this.button1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(80, 46);
     this.button1.TabIndex = 45;
     this.button1.Text = "+ new currency";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // Account
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(43)))), ((int)(((byte)(60)))));
     this.ClientSize = new System.Drawing.Size(1231, 871);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.Update);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.btnDashboard);
     this.Controls.Add(this.tbsearch1);
     this.Controls.Add(this.bunifuThinButton24);
     this.Controls.Add(this.bunifuThinButton23);
     this.Controls.Add(this.edataGridView1);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.panel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.Name = "Account";
     this.Text = "Account";
     this.Load += new System.EventHandler(this.Account_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.bunifuImageButton2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bunifuImageButton1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.edataGridView1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.Update.ResumeLayout(false);
     this.Update.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 6
0
 public OneButtonForm(ns1.BunifuThinButton2 _btn)
 {
     btn = _btn;
     InitializeComponent();
 }