Inheritance: System.Windows.Forms.Form
コード例 #1
0
        private void Changelog_Load(object sender, EventArgs e)
        {
            _this = this;

            this.Top  = Properties.Settings.Default.D3Helper_MainForm_StartPosition.Y;
            this.Left = Properties.Settings.Default.D3Helper_MainForm_StartPosition.X;

            this.VerticalScroll.Enabled = true;

            try
            {
                List <string> allLogs = A_TCPClient.TCPClient.send_Instruction(A_Enums.TCPInstructions.GetChangelog, "") as List <string>;

                this.lb_changelog.Text = "Changelog" + Environment.NewLine + Environment.NewLine;

                foreach (var entry in allLogs)
                {
                    this.lb_changelog.Text += entry + Environment.NewLine + Environment.NewLine;
                }


                this.Width = this.lb_changelog.Width;
            }
            catch { }
        }
コード例 #2
0
        private void Changelog_Load(object sender, EventArgs e)
        {
            _this = this;

            this.Top = Properties.Settings.Default.D3Helper_MainForm_StartPosition.Y;
            this.Left = Properties.Settings.Default.D3Helper_MainForm_StartPosition.X;

            this.VerticalScroll.Enabled = true;

            try
            {

                List<string> allLogs = A_TCPClient.TCPClient.send_Instruction(A_Enums.TCPInstructions.GetChangelog, "") as List<string>;

                this.lb_changelog.Text = "Changelog" + Environment.NewLine + Environment.NewLine;

                foreach (var entry in allLogs)
                {
                    
                    this.lb_changelog.Text += entry + Environment.NewLine + Environment.NewLine;
                }


                this.Width = this.lb_changelog.Width;
            }
            catch { }
        }
コード例 #3
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (Window_Changelog._this == null)
     {
         Window_Changelog cl = new Window_Changelog();
         cl.Show();
     }
 }
コード例 #4
0
ファイル: Window_Main.cs プロジェクト: r3peat/D3Helper.Public
 private void button2_Click(object sender, EventArgs e)
 {
     if (Window_Changelog._this == null)
     {
         Window_Changelog cl = new Window_Changelog();
         cl.Show();
     }
 }
コード例 #5
0
 private void Window_Changelog_Closed(object sender, EventArgs e)
 {
     _this = null;
 }
コード例 #6
0
 private void Window_Changelog_Closed(object sender, EventArgs e)
 {
     _this = null;
 }