当我在 private void control_MouseDown(object sender, MouseEventArgs e)
{
var control = sender as Control;
this.DoDragDrop(control.Name, DragDropEffects.Move);
//Here i change the colour.
control.BackColor = Color.FromArgb(255, 232, 232);
}
private void panel_DragEnter(object sender, DragEventArgs e)
{
if (!e.Data.GetDataPresent(typeof(string)))
return;
var name = e.Data.GetData(typeof(string)) as string;
var control = this.Controls.Find(name, true).FirstOrDefault();
if (control != null)
{
e.Effect = DragDropEffects.Move;
}
}
private void panel_DragDrop(object sender, DragEventArgs e)
{
if (!e.Data.GetDataPresent(typeof(string)))
return;
var name = e.Data.GetData(typeof(string)) as string;
var control = this.Controls.Find(name, true).FirstOrDefault();
if (control != null)
{
control.Parent.Controls.Remove(control);
var panel = sender as FlowLayoutPanel;
((FlowLayoutPanel)sender).Controls.Add(control);
control.BackColor = Color.FromArgb(255, 232, 0);
}
}
导航到我的应用时,我得到了#34;此网站正在加载..."永远呆在那里,我的应用程序永远不会加载。当我今天尝试部署我的应用程序几次时,我收到两条不同的错误消息:
import 'rxjs/add/operator/debounceTime';
或
[appname].meteor.com
即使部署成功,我仍然会得到"此网站正在加载......"浏览器上的消息。
还有其他人有这个问题吗?
答案 0 :(得分:0)
请尝试使用meteor logs [appname] .meteor.com查看日志。
And for "Error deploying application"
first delete deploy site and deploy again.
meteor deploy --delete [appname].meteor.com
meteor deploy [appname].meteor.com