|
@@ -0,0 +1,153 @@
|
|
|
+namespace WindowsFormsApp1
|
|
|
+{
|
|
|
+ partial class Form1
|
|
|
+ {
|
|
|
+ /// <summary>
|
|
|
+ /// Обязательная переменная конструктора.
|
|
|
+ /// </summary>
|
|
|
+ private System.ComponentModel.IContainer components = null;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// Освободить все используемые ресурсы.
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
|
|
|
+ protected override void Dispose(bool disposing)
|
|
|
+ {
|
|
|
+ if (disposing && (components != null))
|
|
|
+ {
|
|
|
+ components.Dispose();
|
|
|
+ }
|
|
|
+ base.Dispose(disposing);
|
|
|
+ }
|
|
|
+
|
|
|
+ #region Код, автоматически созданный конструктором форм Windows
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// Требуемый метод для поддержки конструктора — не изменяйте
|
|
|
+ /// содержимое этого метода с помощью редактора кода.
|
|
|
+ /// </summary>
|
|
|
+ private void InitializeComponent()
|
|
|
+ {
|
|
|
+ this.label1 = new System.Windows.Forms.Label();
|
|
|
+ this.Minutes = new System.Windows.Forms.TextBox();
|
|
|
+ this.Calculate = new System.Windows.Forms.Button();
|
|
|
+ this.button2 = new System.Windows.Forms.Button();
|
|
|
+ this.radioButton1 = new System.Windows.Forms.RadioButton();
|
|
|
+ this.radioButton2 = new System.Windows.Forms.RadioButton();
|
|
|
+ this.SummIt = new System.Windows.Forms.Label();
|
|
|
+ this.Summ = new System.Windows.Forms.Label();
|
|
|
+ this.SuspendLayout();
|
|
|
+ //
|
|
|
+ // label1
|
|
|
+ //
|
|
|
+ this.label1.AutoSize = true;
|
|
|
+ this.label1.Location = new System.Drawing.Point(12, 9);
|
|
|
+ this.label1.Name = "label1";
|
|
|
+ this.label1.Size = new System.Drawing.Size(199, 13);
|
|
|
+ this.label1.TabIndex = 0;
|
|
|
+ this.label1.Text = "Введите время разговоров за месяц:";
|
|
|
+ //
|
|
|
+ // Minutes
|
|
|
+ //
|
|
|
+ this.Minutes.Location = new System.Drawing.Point(217, 6);
|
|
|
+ this.Minutes.Name = "Minutes";
|
|
|
+ this.Minutes.Size = new System.Drawing.Size(207, 20);
|
|
|
+ this.Minutes.TabIndex = 1;
|
|
|
+ this.Minutes.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.Minutes_KeyPress);
|
|
|
+ //
|
|
|
+ // Calculate
|
|
|
+ //
|
|
|
+ this.Calculate.Location = new System.Drawing.Point(15, 35);
|
|
|
+ this.Calculate.Name = "Calculate";
|
|
|
+ this.Calculate.Size = new System.Drawing.Size(75, 23);
|
|
|
+ this.Calculate.TabIndex = 2;
|
|
|
+ this.Calculate.Text = "Рассчитать";
|
|
|
+ this.Calculate.UseVisualStyleBackColor = true;
|
|
|
+ this.Calculate.Click += new System.EventHandler(this.Calculate_Click);
|
|
|
+ //
|
|
|
+ // button2
|
|
|
+ //
|
|
|
+ this.button2.Location = new System.Drawing.Point(217, 35);
|
|
|
+ this.button2.Name = "button2";
|
|
|
+ this.button2.Size = new System.Drawing.Size(207, 23);
|
|
|
+ this.button2.TabIndex = 3;
|
|
|
+ this.button2.Text = "Сформировать квинтацию";
|
|
|
+ this.button2.UseVisualStyleBackColor = true;
|
|
|
+ this.button2.Click += new System.EventHandler(this.button2_Click);
|
|
|
+ //
|
|
|
+ // radioButton1
|
|
|
+ //
|
|
|
+ this.radioButton1.AutoSize = true;
|
|
|
+ this.radioButton1.Location = new System.Drawing.Point(430, 7);
|
|
|
+ this.radioButton1.Name = "radioButton1";
|
|
|
+ this.radioButton1.Size = new System.Drawing.Size(67, 17);
|
|
|
+ this.radioButton1.TabIndex = 4;
|
|
|
+ this.radioButton1.TabStop = true;
|
|
|
+ this.radioButton1.Text = "Тариф 1";
|
|
|
+ this.radioButton1.UseVisualStyleBackColor = true;
|
|
|
+ //
|
|
|
+ // radioButton2
|
|
|
+ //
|
|
|
+ this.radioButton2.AutoSize = true;
|
|
|
+ this.radioButton2.Location = new System.Drawing.Point(430, 41);
|
|
|
+ this.radioButton2.Name = "radioButton2";
|
|
|
+ this.radioButton2.Size = new System.Drawing.Size(67, 17);
|
|
|
+ this.radioButton2.TabIndex = 5;
|
|
|
+ this.radioButton2.TabStop = true;
|
|
|
+ this.radioButton2.Text = "Тариф 2";
|
|
|
+ this.radioButton2.UseVisualStyleBackColor = true;
|
|
|
+ //
|
|
|
+ // SummIt
|
|
|
+ //
|
|
|
+ this.SummIt.AutoSize = true;
|
|
|
+ this.SummIt.Location = new System.Drawing.Point(12, 77);
|
|
|
+ this.SummIt.Name = "SummIt";
|
|
|
+ this.SummIt.Size = new System.Drawing.Size(58, 13);
|
|
|
+ this.SummIt.TabIndex = 6;
|
|
|
+ this.SummIt.Text = "К оплате: ";
|
|
|
+ //
|
|
|
+ // Summ
|
|
|
+ //
|
|
|
+ this.Summ.AutoSize = true;
|
|
|
+ this.Summ.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
+ this.Summ.ForeColor = System.Drawing.Color.Red;
|
|
|
+ this.Summ.Location = new System.Drawing.Point(12, 209);
|
|
|
+ this.Summ.Name = "Summ";
|
|
|
+ this.Summ.Size = new System.Drawing.Size(228, 13);
|
|
|
+ this.Summ.TabIndex = 7;
|
|
|
+ this.Summ.Text = "Минут свверх установленной нормы:";
|
|
|
+ this.Summ.Visible = false;
|
|
|
+ //
|
|
|
+ // Form1
|
|
|
+ //
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
+ this.ClientSize = new System.Drawing.Size(510, 231);
|
|
|
+ this.Controls.Add(this.Summ);
|
|
|
+ this.Controls.Add(this.SummIt);
|
|
|
+ this.Controls.Add(this.radioButton2);
|
|
|
+ this.Controls.Add(this.radioButton1);
|
|
|
+ this.Controls.Add(this.button2);
|
|
|
+ this.Controls.Add(this.Calculate);
|
|
|
+ this.Controls.Add(this.Minutes);
|
|
|
+ this.Controls.Add(this.label1);
|
|
|
+ this.Name = "Form1";
|
|
|
+ this.Text = "Телефонная компания";
|
|
|
+ this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+
|
|
|
+ private System.Windows.Forms.Label label1;
|
|
|
+ private System.Windows.Forms.TextBox Minutes;
|
|
|
+ private System.Windows.Forms.Button Calculate;
|
|
|
+ private System.Windows.Forms.Button button2;
|
|
|
+ private System.Windows.Forms.RadioButton radioButton1;
|
|
|
+ private System.Windows.Forms.RadioButton radioButton2;
|
|
|
+ private System.Windows.Forms.Label SummIt;
|
|
|
+ private System.Windows.Forms.Label Summ;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|