1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-05-06 14:34:05 +02:00

Move RichTextLabel and FormBackgroundWork to different namespaces

This commit is contained in:
chylex 2016-04-11 00:55:52 +02:00
parent f7265405d7
commit 0c7d625391
8 changed files with 21 additions and 14 deletions

View File

@ -1,4 +1,4 @@
namespace TweetDick.Core {
namespace TweetDick.Core.Controls {
partial class RichTextLabel {
/// <summary>
/// Required designer variable.

View File

@ -1,7 +1,7 @@
using System;
using System.Windows.Forms;
namespace TweetDick.Core{
namespace TweetDick.Core.Controls{
public partial class RichTextLabel : RichTextBox{
/// <summary>
/// Wraps the body of a RTF formatted string with default tags and formatting.

View File

@ -1,4 +1,6 @@
namespace TweetDick.Core {
using TweetDick.Core.Controls;
namespace TweetDick.Core.Other {
partial class FormBackgroundWork {
/// <summary>
/// Required designer variable.
@ -24,7 +26,7 @@ protected override void Dispose(bool disposing) {
/// </summary>
private void InitializeComponent() {
this.progressBarUseless = new System.Windows.Forms.ProgressBar();
this.labelDescription = new TweetDick.Core.RichTextLabel();
this.labelDescription = new RichTextLabel();
this.SuspendLayout();
//
// progressBarUseless
@ -71,6 +73,6 @@ private void InitializeComponent() {
#endregion
private System.Windows.Forms.ProgressBar progressBarUseless;
private Core.RichTextLabel labelDescription;
private RichTextLabel labelDescription;
}
}

View File

@ -1,8 +1,9 @@
using System;
using System.Windows.Forms;
using TweetDick.Core.Controls;
namespace TweetDick.Core{
public partial class FormBackgroundWork : Form{
namespace TweetDick.Core.Other{
partial class FormBackgroundWork : Form{
public FormBackgroundWork(){
InitializeComponent();

View File

@ -1,4 +1,6 @@
namespace TweetDick.Migration {
using TweetDick.Core.Controls;
namespace TweetDick.Migration {
partial class FormMigrationQuestion {
/// <summary>
/// Required designer variable.
@ -29,7 +31,7 @@ private void InitializeComponent() {
this.btnCopy = new System.Windows.Forms.Button();
this.btnMigrate = new System.Windows.Forms.Button();
this.btnMigrateUninstall = new System.Windows.Forms.Button();
this.labelQuestion = new TweetDick.Core.RichTextLabel();
this.labelQuestion = new RichTextLabel();
this.panelButtons.SuspendLayout();
this.SuspendLayout();
//
@ -159,7 +161,7 @@ private void InitializeComponent() {
private System.Windows.Forms.FlowLayoutPanel panelButtons;
private System.Windows.Forms.Button btnCopy;
private System.Windows.Forms.Button btnMigrate;
private Core.RichTextLabel labelQuestion;
private RichTextLabel labelQuestion;
private System.Windows.Forms.Button btnAskLater;
private System.Windows.Forms.Button btnMigrateUninstall;
}

View File

@ -2,6 +2,7 @@
using System.Drawing;
using System.Windows.Forms;
using TweetDick.Core;
using TweetDick.Core.Controls;
namespace TweetDick.Migration{
partial class FormMigrationQuestion : Form{

View File

@ -5,6 +5,7 @@
using System.Threading.Tasks;
using System.Windows.Forms;
using TweetDick.Core;
using TweetDick.Core.Other;
using TweetDick.Migration.Helpers;
namespace TweetDick.Migration{

View File

@ -93,16 +93,16 @@
<DependentUpon>FormNotification.cs</DependentUpon>
</Compile>
<Compile Include="Core\Handling\TweetNotification.cs" />
<Compile Include="Core\RichTextLabel.cs">
<Compile Include="Core\Controls\RichTextLabel.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Core\RichTextLabel.Designer.cs">
<Compile Include="Core\Controls\RichTextLabel.Designer.cs">
<DependentUpon>RichTextLabel.cs</DependentUpon>
</Compile>
<Compile Include="Core\FormBackgroundWork.cs">
<Compile Include="Core\Other\FormBackgroundWork.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Core\FormBackgroundWork.Designer.cs">
<Compile Include="Core\Other\FormBackgroundWork.Designer.cs">
<DependentUpon>FormBackgroundWork.cs</DependentUpon>
</Compile>
<Compile Include="Core\Handling\TweetDeckBridge.cs" />